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

3.5 turning check is broken?

Trying to have it automate the hd of the strongest undead I can turn but it is not working - does anyone have a working macro to plug into the turning check for "turn undead" in the roll 20 char sheet? (its that final conversion from the roll into the -4 to+4 levels that is breaking it.)
The default macro from the character sheet should work if you set "Turning level" in the "Turn Undead" section of the character sheet (or add a "turninglevel" attribute), except for the +-4 cap. To get that, you'll have to get a little clunky with kh and kl: {{floor((1d20 + @{cha-mod} + @{turningbonus} +2)/3)-4+@{turninglevel}, 0d1+{[[@{turninglevel}-4]],0}kh1}kh1, 0d1+@{turninglevel}+4}kl1 Note that the "0d1"s are necessary because you can't mix rolls and pure math in kh/kl groups. However, you don't strictly need the inner kh1 that sets the lower bound to at least 0 if you don't mind low-level characters occasionally getting negative HD results.