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.