execute at @s as @a[distance=..5] run function main:mechanics/effects/screenshake/start {duration:20,strength:400}

execute at @s run particle item{item:lime_wool} ~ ~ ~ 3 0 3 0 200 force
execute at @s run particle explosion_emitter ~ ~ ~ 3 0 3 0 1 force
execute at @s run playsound entity.lightning_bolt.impact master @a ~ ~ ~ 3 1
execute at @s run playsound entity.slime.attack master @a ~ ~ ~ 3 0.1
playsound entity.slime.jump master @a ~ ~ ~ 10 0.75
playsound entity.player.attack.knockback master @a ~ ~ ~ 10 0.75
execute at @s rotated ~ 90 run function main:particles/circle {"particle":"cloud",range:0.0000005}
execute at @s rotated ~ 90 run function main:particles/circle {"particle":"cloud",range:0.0000004}
execute at @s rotated ~ 90 run function main:particles/circle {"particle":"cloud",range:0.0000003}

scoreboard players set .size particle_animation 12
execute at @s positioned ~ ~ ~ rotated 0 0 run function main:circle_regular {"particle":"dust{color:[1,0,0],scale:1}"}

execute at @s positioned ~-6 ~-6 ~-6 as @e[type=#main:not_enemies,tag=ally,dx=11,dz=11,dy=11] run function main:mechanics/damage/player/damage {"damage":200,"id":id12,"id_number":12}

execute as @s[tag=enraged] at @s run function main:game/mobs/ai/id/id12/engraged