execute at @s as @a[distance=..5] run scoreboard players set @s screenshake_weak 10

execute at @s run particle item{item:sand} ~ ~ ~ 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
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}

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

tag @s remove jump_attack
tag @s remove in_air