Reaction Cheat Sheet - MotoMoto1234/Midi-Wiki GitHub Wiki

I'm sick of having to fish for what to type in the reaction boxes in midi tabs: You can combine these by inserting || for OR or && for AND.

reaction === 'isMissed' //reaction prompts only on misses
reaction === 'isDamaged' //prompt for when damage is applied, for example even if its a save workflow
reaction === 'isHit' //prompts after attack roll is made signifying a hit has occurred but before damage applies
reaction === ['mwak', 'msak'].includes(item.actionType) //prompts if the workflow item has an actionType of mwak/msak, no idea if it works on 4.x dnd5e
reaction === computeDistance(tokenUuid, targetUuid) <= 10 //if target and source are within 10 grid units