
The healer in my Pathfinder game is trying to set up an easy macro for her cure spells. The cure spells do:
Light - 1d8 + caster level (max 25)
Moderate - 2d8 + caster level (max 10)
Serious - 3d8 + caster level (max 15)
Critical - 4d8 + caster level (max 20)
I've got a macro set up to create a drop down menu and roll the correct number of dice plus caster level but I can't figure out and don't know how to create caps for the caster level. PC is currently level 13 with caster level 11.
?{Spell|Light, **Cure Light Wounds:** [[1d8+@{Serena Ziegler|spellclass-0-level-total}]]| Moderate, **Cure Moderate Wounds:** [[2d8+@{Serena Ziegler|spellclass-0-level-total}]]| Serious, **Cure Serious Wounds:** [[3d8+@{Serena Ziegler|spellclass-0-level-total}]]| Critical, **Cure Critical Wounds:** [[4d8+@{Serena Ziegler|spellclass-0-level-total}]]}