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 .
×
Create a free account

3.5/Pathfinder 1e Heal/Harm Spell Macro

Can someone help me create a macro that calls for caster level with a cap of 15th level, and then multiplies that value by 10.  For the life of me I can't figure this out.  I can multiply caster level by 10, but can't seem to cap it at 15.  I was thinking something like this: ( [[ { (10*@{caster1_level}),15} kl1]] ) but my 16th level caster ends up with output of ( 175 ) I'm clearly not understanding the kl# thing.
1727895235

Edited 1727895522
Your macro is multiplying 10 by the caster level, then comparing that result against 15, and would take the lower of the two numbers, except the 'kl' needs to be directly next to the closing brace. I think you want this (untested and aircoded so the syntax may be off): [[{@{caster1_level},15}kl1*10]]
1727895413

Edited 1727895558
[[10*{@{caster1_level},15}kl1]] You've got a lot of unnecessary parentheses there, you've included the *10 modifier in the group roll, and you've disconnected the kl1 from the group roll by having a space inbetween, so it doesn't pick the lower and instead just adds caster level *10 and 15 together. Above has it fixed. EDIT: Jarren got to it first.
I see!   Thank you!   I understand now.