execute as @s[scores={svm_ep.selected_ability=1,svm_ep.mana=20..}] unless entity @s[scores={svm_ep.p.ice_ability_01_delay=1..}] unless entity @s[scores={svm_ep.using_move=1..}] run function svm_ep:power/ice/ability/use/1
execute unless entity @s[type=player,advancements={svm_ep:unlocked_ability/ice/2=false}] as @s[scores={svm_ep.selected_ability=2,svm_ep.mana=1..}] unless entity @s[scores={svm_ep.p.ice_ability_02_delay=1..}] unless entity @s[scores={svm_ep.using_move=1..}] run function svm_ep:power/ice/ability/use/2
execute unless entity @s[type=player,advancements={svm_ep:unlocked_ability/ice/3=false}] as @s[scores={svm_ep.selected_ability=3,svm_ep.mana=1..}] unless entity @s[scores={svm_ep.p.ice_ability_03_delay=1..}] unless entity @s[scores={svm_ep.using_move=1..}] run function svm_ep:power/ice/ability/use/3
execute unless entity @s[type=player,advancements={svm_ep:unlocked_ability/ice/5=false}] as @s[scores={svm_ep.selected_ability=5,svm_ep.mana=15..}] unless entity @s[scores={svm_ep.p.ice_ability_05_delay=1..}] unless entity @s[scores={svm_ep.using_move=1..}] run function svm_ep:power/ice/ability/use/5
execute unless entity @s[type=player,advancements={svm_ep:unlocked_ability/ice/4=false}] as @s[scores={svm_ep.selected_ability=4,svm_ep.mana=2..}] unless entity @s[scores={svm_ep.p.ice_ability_04_delay=1..}] unless entity @s[scores={svm_ep.using_move=1..}] run function svm_ep:power/ice/ability/use/4
