
Hi guys ! Beginner on Roll20, and I'm trying myself at some macros for Pathfinder, seems a good way to learn more about them. I find Divine Favor kinda tricky. Basically, it should return 1 for caster level 1-5, 2 for 6-8 and 3 for 9 and above. So far, I've come up with that : [[{{floor(@{caster1_level}/3),1}kh1,3}kl1]] I feel like there are quite a few problems here, one of them being the first and second "}". I tried to replace them with their html entity, but all I get is : SyntaxError: Expected ",", ".", "[", "d", "e", "t", "}", [ |\t], [+|\-|*|\/|%] or [0-9] but "&" found. Pretty sure there are too many "," too, but I guess I'm gonna end up with the same issue. Any help ? Is what I'm trying to do actually possible ? Thanks in advance !