particle large_smoke ~ ~-1 ~ 0.3 0.8 0.3 0 30
summon evoker_fangs ~ ~-1.5 ~
execute if entity @s[scores={hollow_husk_identifier=0..}] as @a[scores={limitbreak_chosen_class=8,hollow_husk_identifier=0..}] at @s if score @s hollow_husk_identifier = @e[type=slime,tag=hollow_husk_check,predicate=kiwi2:no_riding,limit=1] hollow_husk_identifier run scoreboard players remove @s necromancer_summon_count 1
execute if entity @s[scores={skeleton_identifier=0..}] as @a[scores={limitbreak_chosen_class=8,skeleton_identifier=0..}] at @s if score @s skeleton_identifier = @e[type=slime,tag=skeleton_check,predicate=kiwi2:no_riding,limit=1] skeleton_identifier run scoreboard players remove @s necromancer_summon_count 1
execute if entity @s[scores={zombie_identifier=0..}] as @a[scores={limitbreak_chosen_class=8,zombie_identifier=0..}] at @s if score @s zombie_identifier = @e[type=slime,tag=zombie_check,predicate=kiwi2:no_riding,limit=1] zombie_identifier run scoreboard players remove @s necromancer_summon_count 1
execute if entity @s[scores={creeper_identifier=0..}] as @a[scores={limitbreak_chosen_class=8,creeper_identifier=0..}] at @s if score @s creeper_identifier = @e[type=slime,tag=creeper_check,predicate=kiwi2:no_riding,limit=1] creeper_identifier run scoreboard players remove @s necromancer_summon_count 2
execute if entity @s[scores={creeper_identifier=0..},tag=charged_core_slime] at @s as @e[type=!player,team=!Player_Glow,tag=!necromancer_summon,limit=10,distance=..6] at @s run summon lightning_bolt ~ ~ ~
execute if entity @s[scores={wither_skeleton_identifier=0..},tag=!death_knight_reanimated_check] as @a[scores={limitbreak_chosen_class=8,wither_skeleton_identifier=0..}] at @s if score @s wither_skeleton_identifier = @e[type=slime,tag=wither_skeleton_check,predicate=kiwi2:no_riding,limit=1] wither_skeleton_identifier run scoreboard players remove @s necromancer_summon_count 1
execute if entity @s[scores={wither_skeleton_identifier=0..},tag=death_knight_reanimated_check] as @a[scores={limitbreak_chosen_class=8,wither_skeleton_identifier=0..}] at @s if score @s wither_skeleton_identifier = @e[type=slime,tag=wither_skeleton_check,predicate=kiwi2:no_riding,limit=1] wither_skeleton_identifier run scoreboard players remove @s necromancer_summon_count 3
execute if entity @s[scores={gravemite_identifier=0..}] as @a[scores={limitbreak_chosen_class=8,gravemite_identifier=0..}] at @s if score @s gravemite_identifier = @e[type=slime,tag=gravemite_check,predicate=kiwi2:no_riding,limit=1] gravemite_identifier run scoreboard players remove @s necromancer_summon_count 3
execute if entity @s[scores={gravemite_identifier=0..},tag=gravemite_gnawer_slime] at @s run function kiwi2:upgrades/classes/necromancer/summons/gravemite/gravemite_gnawer_death
kill @s