execute as @e[type=evoker,tag=jjc_vex_twister,nbt={SpellTicks:81}] at @s if entity @e[type=vex,distance=..5,limit=3,tag=!jjc_vex,tag=!jjc_vex_big] run function colosseum_of_fools:ss/evoker/vex_twister
execute as @e[type=evoker,tag=jjc_evoker,nbt={SpellTicks:81}] at @s as @e[type=vex,distance=..5,limit=3,sort=nearest,tag=!jjc_vex,tag=!jjc_vex_big] at @s run data merge entity @s {attributes:[{id:"generic.attack_damage",base:0},{id:"generic.scale",base:1.5},{id:"generic.max_health",base:4d}],Health:4}

execute as @e[type=evoker,tag=jjc_evoker_fire_wizard,nbt={SpellTicks:81}] at @s store result score @s jjc_303 if entity @e[type=blaze,distance=..16,tag=jjc_evoker_fire_wizard_blaze]
execute as @e[type=evoker,tag=jjc_evoker_fire_wizard,nbt={SpellTicks:81},scores={jjc_303=..3}] at @s as @e[type=vex,distance=..5,limit=3,sort=nearest,tag=!jjc_spawn] at @s run summon blaze ~ ~1 ~ {attributes:[{id:"generic.scale",base:0.8},{id:"generic.max_health",base:6},{id:"generic.attack_damage",base:3}],Tags:["jjc_evoker_fire_wizard_blaze","jjc_vex","jjc_nodown"]}
execute as @e[type=evoker,tag=jjc_evoker_fire_wizard,nbt={SpellTicks:81}] at @s run tp @e[type=vex,distance=..5,limit=3,tag=!jjc_vex,tag=!jjc_vex_big] ~ ~-1000 ~
execute as @e[type=evoker,tag=jjc_iceologer,nbt={SpellTicks:81}] at @s as @e[type=vex,distance=..5,limit=1,sort=random,tag=!jjc_vex,tag=!jjc_vex_big] at @s run function colosseum_of_fools:ss/evoker/iceologer/summon_ice
execute as @e[type=evoker,tag=jjc_iceologer,nbt={SpellTicks:81}] at @s run tp @e[type=vex,distance=..5,limit=3,tag=!jjc_vex,tag=!jjc_vex_big] ~ ~-1000 ~

execute as @e[type=evoker,tag=jjc_evoker,nbt={SpellTicks:81}] at @s run tag @e[type=vex,distance=..5,limit=3,sort=nearest,tag=!jjc_vex,tag=!jjc_vex_big] add jjc_vex