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 .
×

Macro critical success & critical failure not working with "addition"

1586694376

Edited 1586694404
Hi all, I'm trying to make a macro for a vampire in the group to see if he can control his thirst for blood. This macro works : /me [[ 1d20cs>@{spell_save_dc}cf<@{spell_save_dc} ]] But I want to add the wisdom modifier to the 1d20. The problem is, when I try to do 1d20+1 for instance, the cs and cf are not working anymore... Any ideas? Thanks
1586694770
GiGs
Pro
Sheet Author
API Scripter
Where are you putting the modifier? You can do this on a simple roll /roll 1d20cs>10cf<2+5 so you should be able to do /me [[ 1d20cs>@{spell_save_dc}cf<@{spell_save_dc} +@{wisdom_modifier}]]
1586694873
Ziechael
Forum Champion
Sheet Author
API Scripter
Adding the modifier before the roll will allow the cs/cf to function. I'm assuming you want to report based on the die result and not the modified result?: /me [[ @{wisdom_mod} + 1d20cs>@{spell_save_dc}cf<@{spell_save_dc} ]]
Both answers are working but for the thing I need, I'll take the one from Ziechael, thanks guys ^^