scoreboard players add @s svm_ep.p.explosion_small_charge 1

execute unless entity @s[scores={svm_ep.mana=1..}] run tag @s add explode
execute unless predicate svm_ep:shift run tag @s add explode
scoreboard players add @s[scores={svm_ep.using_move=905..}] svm_ep.mana_drain 75
scoreboard players add @s[scores={svm_ep.using_move=905..980}] svm_ep.mana_drain 50
scoreboard players add @s[scores={svm_ep.using_move=905..980}] svm_ep.mana_drain 25
scoreboard players add @s[scores={svm_ep.using_move=905..970}] svm_ep.mana_drain 25
scoreboard players add @s[scores={svm_ep.using_move=905..960}] svm_ep.mana_drain 25
scoreboard players add @s[scores={svm_ep.using_move=905..950}] svm_ep.mana_drain 25
scoreboard players add @s[scores={svm_ep.using_move=905..940}] svm_ep.mana_drain 25
scoreboard players add @s[scores={svm_ep.using_move=905..930}] svm_ep.mana_drain 25
scoreboard players add @s[scores={svm_ep.using_move=905..920}] svm_ep.mana_drain 25
scoreboard players add @s[scores={svm_ep.using_move=905..910}] svm_ep.mana_drain 25
scoreboard players add @s[scores={svm_ep.using_move=905..}] svm_ep.used_move 2
scoreboard players add @s[scores={svm_ep.using_move=901}] svm_ep.using_move 1

scoreboard players add @s svm_ep.p.explosion_ability_01_delay 2

execute as @s[tag=explode] at @s anchored eyes run function svm_ep:power/explosion/small/raycast
