Hey, I bought a new module for PF2, but the NPCs are set to roll critical damage, and to not show notes. I prefer otherwise, so I wrote this. The thing is, though, it does set no whisper, and it sets show notes. It says it sets not rolling critical damage (attribute is set to none, drop down shows correctly), but it still rolls critical damage. Any thoughts? on ( "ready" , function () { on ( "chat:message" , function ( msg ) { if ( msg . type === "api" && msg . content === "!NoAutoShowNotesNoWhisper" ) { noAutoShowNotesNoWhisper () } }) }) function noAutoShowNotesNoWhisper () { let chars = findObjs ({ type : 'character' }) chars . forEach ( char => { let sheet_type = findObjs ({ type : 'attribute' , characterid : char . id , name : 'sheet_type' })[ 0 ] // make sure sheet is NPC if ( sheet_type && sheet_type . get ( 'current' ) === 'npc' ) { // set no whisper let whisperAttr = findObjs ({ type : 'attribute' , characterid : char . id , name : 'whispertype' })[ 0 ] if (! whisperAttr ) { createObj ( 'attribute' , { name : 'whispertype' , current : '0' , characterid : char . id }) } else whisperAttr . set ( 'current' , 0 ) // set show notes let showNotes = findObjs ({ type : 'attribute' , characterid : char . id , name : 'roll_show_notes' })[ 0 ] if (! showNotes ) { createObj ( 'attribute' , { name : 'roll_show_notes' , current : '[[1]]' , characterid : char . id }) } else showNotes . set ( 'current' , '[[1]]' ) // set no roll critical damage let noCrit = findObjs ({ type : 'attribute' , characterid : char . id , name : 'roll_option_critical_damage' })[ 0 ] if (! noCrit ) { createObj ( 'attribute' , { name : 'roll_option_critical_damage' , current : 'none' , characterid : char . id }) } else noCrit . set ( 'current' , 'none' ) } }) }