Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

Group Check / Apply Damage / Apply Condition help?

1771184845

Edited 1771184952
Hi doods, I'm trying to update a script I found in the Apply Damage thread so that it works with either the default conditions on the D&D 2024 Beacon sheet, or custom condition markers (or both, preferably, so I can add status markers for spell effects (bless, hunters mark, on fire, etc). I have TokenMod, GroupCheck and Apply Damage all installed, and they seem to be working great. I've tried replacing the status named with the relevant IDd found when I run TokenMod help (for instance, replacing the [drink-me] ID for Poisoned with the ID for Poisoned from my custom set [poisoned::7665122], but that doesn't work (the group check executes, but nothing happens when I try to apply damage). I've also tried changing the status marker name to [sheet-poisoned], as I heard that the Beacon sheet uses the sheet- prefix for the status markers included with that character sheet. That executes the group check function as well, but gives me an "Error--invalid status" message when I try to apply damage. I know about Smart AoE, and it's a bit much, especially with its targeting token getting stuck under the aoe layer every time I try to use it. I'd really like to make this solution work with different status markers from my Token Marker Library, if possible (again, it works just as advertised if I use the default token markers as listed in the macro). Here's the macro in question: !group-check {{ --?{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| None,~| Red,~status red| Blue,~status blue| Green,~status green| Orange,~status orange| Purple,~status purple| Pink,~status pink| Yellow,~status yellow| ―, | Concentrating,~status blue| Readying,~status stopwatch| ―, | Prone,~status back-pain| Restrained,~status fishing-net| Grappled,~status grab| ―, | Incapacitated,~status interdiction| Stunned,~status pummeled| Unconscious,~status sleepy| ―, | Charmed,~status chained-heart| Frightened,~status screaming| ―, | Poisoned,~status drink-me| Blinded,~status bleeding-eye| Deafened,~status lightning-helix| Paralyzed,~status padlock| Petrified,~status broken-skull| ―, | Dodging,~status bolt-shield| Cover (half),~status broken-shield:2| Cover (three-quarters),~status broken-shield:5| Cover (full),~status white-tower| Invisible,~status ninja-mask| ―, } }}
Quick addendum--when I said I'm trying to modify the script, I meant the macro presented. I haven't tried modifying the actual script for apply damage, as that's entirely too scary...