
I am trying to get a macro set up for a Level 12 caster to cast Lightning Bolt (D&D 3.5), dealing 1d6 points of damage per Caster Level (Maximum 10d6). I am attempting to do this by calling the Caster Level from the character sheet, and would like to make it all an emote if possible, with tight rolls instead of using "/roll" I have /em launches a Bolt of Lightning 120 ft straight in front of her, dealing [[ @{Character|casterlevel}d6 ]] to each creature in it's line. but can't figure out how to limit it to 10d6. Can anyone help me figure out how to get this to cap out, and perhaps explain how it works so I can use it on other spells, as well?