
I'm playing a Pathfinder rogue atm, and I'm making macros to automatically calculate various things like attack rolls, damage rolls, BAB, attacks per round etc. Right now I'm trying to make one that automatically rolls the proper amount of sneak damage, which is [[ceil(@{herpderp|Level}/2)d6]] but it doesn't work. So I tried putting the ceiling function in its own ability, and doing [[%{herpderp|SneakDmg}d6]] instead but that doesn't work either. Ideas?