execute @s[scores={secondarymagic=0}] ~ ~ ~ replaceitem entity @s slot.weapon.mainhand 0 vatonage:wind_wand3
execute @s[scores={secondarymagic=1}] ~ ~ ~ replaceitem entity @s slot.weapon.mainhand 0 vatonage:water_wand3
execute @s[scores={secondarymagic=2}] ~ ~ ~ replaceitem entity @s slot.weapon.mainhand 0 vatonage:poison_wand3
execute @s[scores={secondarymagic=3}] ~ ~ ~ replaceitem entity @s slot.weapon.mainhand 0 vatonage:necromancy_wand3
execute @s[scores={secondarymagic=4}] ~ ~ ~ replaceitem entity @s slot.weapon.mainhand 0 vatonage:light_wand3
execute @s[scores={secondarymagic=5}] ~ ~ ~ replaceitem entity @s slot.weapon.mainhand 0 vatonage:ice_wand3
execute @s[scores={secondarymagic=6}] ~ ~ ~ replaceitem entity @s slot.weapon.mainhand 0 vatonage:grass_wand3
execute @s[scores={secondarymagic=7}] ~ ~ ~ replaceitem entity @s slot.weapon.mainhand 0 vatonage:fire_wand3
execute @s[scores={secondarymagic=8}] ~ ~ ~ replaceitem entity @s slot.weapon.mainhand 0 vatonage:electric_wand3
execute @s[scores={secondarymagic=9}] ~ ~ ~ replaceitem entity @s slot.weapon.mainhand 0 vatonage:death_wand3