Alright you wonderful wizards of code, I am fumbling for the solution to this problem. I was also unsure of whether this was more appropriate for the Macro forum or the API forum, since it involves both, so if it needs to be moved, I will gladly do so.
Currently, I use the following macro to run a fully-queried GroupCheck save on any number of selected tokens, with the ApplyDamage.js added in the API of the campaign to make it handle correctly. It is a modified version of the macro developed in this discussion thread.
!group-check {{ --?{Whisper?|Whisper,--whisper|Public,--public} --?{Ability Save|Strength,Strength Save|Dexterity,Dexterity Save|Constitution,Constitution Save|Intelligence,Intelligence Save|Wisdom,Wisdom Save|Charisma,Charisma Save} --ro ?{Roll Type|Normal,roll1|Advantage,adv|Disadvantage,dis} --process --subheader vs DC ?{DC} --button ApplyDamage !apply-damage ~dmg [[?{Damage|0}]] ~type ?{Damage on Save|Half,half|None,none} ~DC ?{DC} ~saves RESULTS(,) ~ids IDS(,) ~status ?{Status| None, | Prone,back-pain| Restrained,fishing-net| Grappled,grab| ―, | Incapacitated,interdiction| Stunned,pummeled| Unconscious,sleepy| ―, | Charmed,chained-heart| Frightened,screaming| ―, | Poisoned,half-heart| Blinded,bleeding-eye| Deafened,lightning-helix| Paralyzed,padlock| Petrified,broken-skull| ―, | Slowed,snail| Enlarged/Reduced,half-haze| ―, } }}
My issues lies in the fact that StatusInfo, designed to send a condition description to chat whenever a designated marker is added to a token, works wonderfully when applying said markers via macros based in TokenMod, but does not display the condition descriptions when the markers are added to a token via the Condition query that makes up the latter half of the code above.
I would like to know what steps could be taken to have StatusInfo recognize the addition of token markers by GroupCheck/ApplyDamage, so the macro above will pair with StatusInfo like I'd hoped it would.
Thank you in advance for any assistance provided!