
Okay, this seems like such a simple thing, but for the life of me I can't get it to work. I am trying to round something up using the function "ceiling()" but it doesn't work and I don't know why. Here is the formula. [[@{selected|casterlevel}+(ceiling(((1d20+@{selected|cha-mod})/3))-4)]].
If I render it without the ceiling function "[[@{selected|casterlevel}+(((1d20+@{selected|cha-mod})/3)-4)]]"
it rolls, but without the rounding effect. When I try to add the rounding effect it simply cancels everything out and renders just the caster level. Could you help me solve this problem?