Im trying to write a macro that will prompt me if I am using sneak attack, then calculate the damage and also account for crit. I am stuck with the crit. &{template:default} {{name= Light Crossbow}} {{attack= [[1d20+@{Shadow|dexterity_mod}+@{Shadow|pb} ]]}} {{damage= [[1d8+@{Shadow|dexterity_mod} +?{Sneak Attack?:|Yes,@{Shadow|SA}|No,0}|]] + [[1d8+@{Shadow|SA} if crit]]}} Currently it will always display the crit regardless of critting or not.