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 .
×
Due to an outage with an external service provider, we’re experiencing intermittent loading issues on Roll20. Please refresh if needed.
Create a free account

Pathfinder - Lore Warden - Scaling Buff (Maneuver Mastery)

I need a simple buff macro for: At 3rd level, a lore warden gains a +2 bonus on all CMB checks and to his CMD. This bonus increases to +4 at 7th level, +6 at 11th level, and +8 at 15th level. It seems pretty simple, +2 for every 4 levels after 3rd. It is the fact it doesn't start at level 1 which is throwing me off. Can anyone help?
1646207920
vÍnce
Pro
Sheet Author
try this; {8 ,2 + 2*(floor(@{level}/7)) + 2*(floor(@{level}/11)) + 2*(floor(@{level}/15))}kl1
vÍnce said: try this; {8 ,2 + 2*(floor(@{level}/7)) + 2*(floor(@{level}/11)) + 2*(floor(@{level}/15))}kl1 The progression isn't quite right with that since it'll start at +2 even at level one, but also goes up to +8 at 14 instead of 15. Since the progression is evenly spaced dividing by the 4-level step can work with an offset but requires a level 19 correction. Such as 2*floor((@{level}+1)/4) - 2*floor(@{level}/19) I've chosen to avoid the keep/drop mechanics since if the pathfinder sheet is anything like the starfinder sheet it won't be able to pre-calculate the buff for display if keep/drop is used
1646234828
vÍnce
Pro
Sheet Author
Thanks RainbowEncoder, I should not attempt more complex ( relative ) macros just before bed time. PF Community sheet parses keep/drop as well as min/max. Not much experience with the official by roll20 sheet, so not sure on it's handling. ;-)
Thank you very much: Such as 2*floor((@{level}+1)/4) - 2*floor(@{level}/19)