

execute as @s[scores={svm_ep.selected_ability=7,svm_ep.mana=5..}] unless entity @s[scores={svm_ep.p.phase_ability_07_delay=1..}] unless entity @s[scores={svm_ep.using_move=1..}] run function svm_ep:power/phase/ability/use/7
execute unless entity @s[type=player,advancements={svm_ep:unlocked_ability/phase/2=false}] as @s[scores={svm_ep.selected_ability=8,svm_ep.mana=20..}] unless entity @s[scores={svm_ep.p.phase_ability_08_delay=1..}] unless entity @s[scores={svm_ep.using_move=1..}] run function svm_ep:power/phase/ability/use/8
execute unless entity @s[type=player,advancements={svm_ep:unlocked_ability/phase/3=false}] as @s[scores={svm_ep.selected_ability=9,svm_ep.mana=40..}] unless entity @s[scores={svm_ep.p.phase_ability_09_delay=1..}] unless entity @s[scores={svm_ep.using_move=1..}] run function svm_ep:power/phase/ability/use/9
execute unless entity @s[type=player,advancements={svm_ep:unlocked_ability/phase/4=false}] as @s[scores={svm_ep.selected_ability=4,svm_ep.mana=50..}] unless entity @s[scores={svm_ep.p.phase_ability_04_delay=1..}] unless entity @s[scores={svm_ep.using_move=1..}] run function svm_ep:power/phase/ability/use/4


#execute as @s[scores={svm_ep.level=15..,svm_ep.mana=25..},nbt={SelectedItemSlot:3}] unless entity @s[scores={svm_ep.using_move=1..}] unless entity @s[scores={svm_ep.p.phase_ability_04_delay=1..}] run function svm_ep:power/phase/ability4
