Command syntax help

execute if data entity @s {SelectedItem:{tag:{e422:{spells:{iceshard:1}}}}} unless data entity @s {SelectedItem:{tag:{Damage:100}}} run function e422.spells:castselect/iceshard

instead of damage:100 meaning 0 durability

can it be a range like from 82 to 100

Continue to help post