I've got it all set up except I don't know of a way to deduct variable amounts of ammo. How do I make it deduct the amount of charges used, rather than just deducting one each time? Here's the current macro: @{Enid Ilphelkiir|wtype}&{template:atkdmg} {{mod=-}}
{{rname=Magic Missile}} {{r1=[[0d20cs>20]]}} {{r2=[[0d20cs>20]]}} 0
{{range=120 ft}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[3d4 + 3]]}}
{{dmg1type=Force }} 0 {{dmg2=[[0]]}} {{dmg2type=}} {{crit1=[[3d4 + 3[CRIT]]]}}
{{crit2=[[0[CRIT]]]}} 0 {{desc=}} {{hldmg=[[(1*?{How many Charges?|1,0|2,1|3,2|4,3|5,4|6,5|7,6})d4+(1*?{How
many Charges?|1,0|2,1|3,2|4,3|5,4|6,5|7,6})]]}}}} ammo=Wand charges|-Kglj9IT-S9i_DN8248J @{Enid
Ilphelkiir|charname_output}