Okay, I have written my macro and I can get the staff to ask for the number of charges and add the result to the damage output, but... It does not add it to the versatile damage, nor does it deduct the appropriate number of charges from the charges for the staff. Is there a way to set the number of charges used as a variable that can then be referenced for these other two? My macro is below. @{Nightbreeze|wtype}&{template:atkdmg} {{mod=+5}} {{rname=Staff of Striking}} {{r1=[[@{Nightbreeze|d20}cs>20 + 2[PROF] + 3[MAGIC]]]}} @{Nightbreeze|rtype}cs>20 + 2[PROF] + 3[MAGIC]]]}} {{attack=1}} {{range=}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[?{Charges|0,1|1,2|2,3|3,4}d6 + 3[MOD] + 3[MAGIC]]]}} {{dmg1type=Bludgeoning }} {{damage=1}} {{dmg2flag=1}} {{dmg2=[[1d8 + 3[MOD] +3[MAGIC]]]}} {{dmg2type=Bludgeoning }} {{crit1=[[1d6[CRIT]]]}} {{crit2=[[1d8[CRIT]]]}} 0 {{desc=}} {{spelllevel=}} {{innate=}} {{globalattack=@{Nightbreeze|global_attack_mod}}} {{globaldamage=[[0]]}} {{globaldamagecrit=[[0]]}} {{globaldamagetype=Bonus Damage}} ammo=Charges @{Nightbreeze|charname_output}