execute store result score @s jjc_random run random value 1..7

execute at @s[scores={jjc_random=1}] positioned ~ ~-4 ~ run function colosseum_of_fools:m/pillager
execute at @s[scores={jjc_random=2}] positioned ~ ~-4 ~ run function colosseum_of_fools:m/vindicator
execute at @s[scores={jjc_random=3}] positioned ~ ~-4 ~ run function colosseum_of_fools:m/pillager_shotgun
execute at @s[scores={jjc_random=4}] positioned ~ ~-4 ~ run function colosseum_of_fools:m/vindicator_elite
execute at @s[scores={jjc_random=5}] positioned ~ ~-4 ~ run function colosseum_of_fools:m/geomancer
execute at @s[scores={jjc_random=6}] positioned ~ ~-4 ~ run function colosseum_of_fools:m/witch
execute at @s[scores={jjc_random=7}] positioned ~ ~-4 ~ run function colosseum_of_fools:m/enchanter
execute positioned ~ ~-4 ~ run tag @n[distance=..200,type=#raiders,tag=!jjc_spawn] add jjc_evoker_god_vex

playsound minecraft:entity.evoker.cast_spell hostile @a ~ ~-1 ~ 1 2
particle dust{color:[0.286,0.059,0.059],scale:1} ~ ~ ~ 0.5 1 0.5 1 50 force
particle dust{color:[0.173,0.086,0.231],scale:2} ~ ~ ~ 0.5 1 0.5 1 50 force
tp @s ~ ~-1000 ~