You could also slip a + (?{SharpShooter?|No,0|Yes,1} * -5 ) into your attack= and attackadv= section , and + (?{ SharpShooter?|No,0|Yes,1 } * 10) into your action_damage= section to prompt you each time and just work it into the rolls automatically. Example: &{template:5eDefault} {{attack_roll=1}} {{title=Hand Crossbow}} {{subheader=Jamelor}} {{subheaderright= Ranged 20/60}} {{attack=[[ 1d20 + @{dexterity_mod}[DEX]+ [[floor(@{rogue_level}/4)+2]][Prof] + (?{SharpShooter?|No,0|Yes,1} * -5 )[ShartpShooter] ]] }} {{attackadv=[[ 1d20 + @{dexterity_mod}[DEX]+ [[floor(@{rogue_level}/4)+2]][Prof] + (?{SharpShooter?|No,0|Yes,1} * -5 )[SharpShooter] ]] }} {{action_damage=[[1d6 + @{dexterity_mod}[DEX] + (?{ SharpShooter?|No,0|Yes,1 } * 10)[ShartpShooter] ]]}} {{can_crit=1}}{{action_crit_damage=[[1d6]]}} &{template:5eDefault} {{attack_roll=1}} {{title=Sneak Attack: +[[ [[floor(@{rogue_level}/2 +.5) ]]d6[SA] ]] dmg }}