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 .
×
Create a free account

Weird output from GroupCheck?

Getting a weird tooltip output from GroupCheck and I'm not sure if it's normal. Just looks hard to read. Macro !group-check {{ --?{Ability Save|Strength,Strength Save|Dexterity,Dexterity Save|Constitution,Constitution Save|Intelligence,Intelligence Save|Wisdom,Wisdom Save|Charisma,Charisma Save} }} Output
1654637914
David M.
Pro
API Scripter
It's normal. The 5e OGL sheet uses different attribute names for saving throw modifiers. In order to use a single formula to handle both cases, GroupCheck adds both but multiplies one by 1 and one by 0 (based on the value of the "npc" attribute).
1654639648
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
David M. said: It's normal. The 5e OGL sheet uses different attribute names for saving throw modifiers. In order to use a single formula to handle both cases, GroupCheck adds both but multiplies one by 1 and one by 0 (based on the value of the "npc" attribute). I did not know that. That's a brilliant use of that field. Now I must find a problem to solve with it!
1654640652
David M.
Pro
API Scripter
Ha! I only knew about it because I may have totally cribbed Jakob's formula (and some other GroupCheck functions) when putting SmartAoE together ;)
Alright, that makes a lot more sense. Thanks guys!