The goal is to have a Yes/No prompt for sneak damage, that then calls an Ability. This way, sneak damage would only need to be updated in one location (based on feats, equipment, et cetera.) Any help in resolving this would be greatly appreciated. Sample code for one weapon's damage is below: {1d4 + @{weapon1damagestat}[Weapon Dmg Ability] +@{weapon1enh}[Weapon Enh] +@{weapon1specialize}[Weapon Spec],1d1}k1 + ?{Sneak Attk|No,0|Yes,%{SneakDMG}}[Sneak] + ?{Scarlet Einhander|Yes,1d6|No,0}[Stance] Code for the sneak damage ability (this code works properly when incorporated into the damage roll): [[[[floor((@{Hadan|level}-4)/3)+2]]d6]] + @{Hadan|level} I've tried multiple different formats (%,#,~ (just in case I was using the wrong one), with and without the character name, backwards, upside down) and always end up with the ability as text in the output details (hovering over the result).