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 .
×

Setting Maximum Values on Community sheet - Pathfinder

Hello! Been on Roll20 for a while, but when I was using this sheet before, I had help setting some stuff. How would one code maximum value stuff? In this case: I have a character who has has a Ki-Pool that's generated by their Charisma modifier + 1/2 their level. (Ninja Ki pool if you're curious.) I don't know how to properly code the Max Value other than just putting in the number I calculate it at, but it'd be nice to know the coding to actually have it update as I level, instead of having to manually change it. 
1646207076
vÍnce
Pro
Sheet Author
Hi Talilei, If you just need the number of Ki points, try @{CHA-mod} + floor(@{level}/2)
That worked perfectly! I'll hold onto this kinda coding for later with other stuff. Thank you very much! ♥