scoreboard players add @e[type=wither_skeleton,tag=jjc_wither_warrior1] jjc_404 1
execute as @e[type=wither_skeleton,tag=jjc_wither_warrior1,scores={jjc_404=1..16}] at @s run tp @s ~ ~0.6 ~ ~30 -90
execute as @e[type=wither_skeleton,tag=jjc_wither_warrior1,scores={jjc_404=1..16}] at @s rotated ~ 0 run particle large_smoke ^ ^ ^1 0 0 0 0 1 force
execute as @e[type=wither_skeleton,tag=jjc_wither_warrior1,scores={jjc_404=1..16}] at @s rotated ~ 0 run particle large_smoke ^ ^ ^-1 0 0 0 0 1 force
execute as @e[type=wither_skeleton,tag=jjc_wither_warrior1,scores={jjc_404=17..}] at @s run particle dust{color:[1,1,1],scale:1} ~ ~2 ~ 0.5 1 0.25 0 5 force
execute as @e[type=wither_skeleton,tag=jjc_wither_warrior1,scores={jjc_404=17..}] at @s run particle large_smoke ~ ~1 ~ 0.5 1 0.25 0 5 force
execute as @e[type=wither_skeleton,tag=jjc_wither_warrior1,scores={jjc_404=16}] at @s run particle large_smoke ~ ~1 ~ 0.5 1 0.5 0.1 20 force
execute as @e[type=wither_skeleton,tag=jjc_wither_warrior1,scores={jjc_404=16}] at @s run playsound entity.player.attack.sweep hostile @a[distance=..200] ~ ~1 ~ 1 0.5
execute as @e[type=wither_skeleton,tag=jjc_wither_warrior1,scores={jjc_404=16}] at @s on target run tag @s add jjc_t
execute as @e[type=wither_skeleton,tag=jjc_wither_warrior1,scores={jjc_404=16}] at @s facing entity @n[distance=..200,tag=jjc_t] feet rotated ~ 0 run summon marker ^ ^ ^0.008 {Tags:["jjc_wither_warrior1m","jjc"]}
tag @e[tag=jjc_t] remove jjc_t
execute as @e[type=wither_skeleton,tag=jjc_wither_warrior1,scores={jjc_404=16}] at @s store result score @s jjc_x1 run data get entity @s Pos[0] 1000
execute as @e[type=wither_skeleton,tag=jjc_wither_warrior1,scores={jjc_404=16}] at @s store result score @s jjc_z1 run data get entity @s Pos[2] 1000
execute as @e[type=marker,tag=jjc_wither_warrior1m] at @s store result score @s jjc_x2 run data get entity @s Pos[0] 1000
execute as @e[type=marker,tag=jjc_wither_warrior1m] at @s store result score @s jjc_z2 run data get entity @s Pos[2] 1000
execute as @e[type=marker,tag=jjc_wither_warrior1m] at @s store result entity @n[distance=..200,type=wither_skeleton,tag=jjc_wither_warrior1] Motion[0] double 0.3 run scoreboard players operation @s jjc_x2 -= @n[distance=..200,type=wither_skeleton,tag=jjc_wither_warrior1] jjc_x1
execute as @e[type=marker,tag=jjc_wither_warrior1m] at @s store result entity @n[distance=..200,type=wither_skeleton,tag=jjc_wither_warrior1] Motion[2] double 0.3 run scoreboard players operation @s jjc_z2 -= @n[distance=..200,type=wither_skeleton,tag=jjc_wither_warrior1] jjc_z1
kill @e[type=marker,tag=jjc_wither_warrior1m]
execute as @e[type=wither_skeleton,tag=jjc_wither_warrior1,scores={jjc_404=16}] run data modify entity @s Motion[1] set value -2d
execute as @e[type=wither_skeleton,tag=jjc_wither_warrior1,scores={jjc_404=17..}] at @s positioned ~-0.75 ~ ~-0.75 as @e[nbt={attributes:[{}]},type=!armor_stand,tag=!jjc_wither_warrior,dx=0.5,dz=0.5,dy=1] at @s run function colosseum_of_fools:ss/wither_skeleton/wither_warrior/1d
tag @e[type=wither_skeleton,tag=jjc_wither_warrior1,scores={jjc_404=17..},nbt={OnGround:1b}] add jjc_wither_warrior1_r
execute as @e[type=wither_skeleton,tag=jjc_wither_warrior1,scores={jjc_404=17..}] at @s if score @s jjc_y0 < @n[type=marker,tag=jjc_jjc,distance=..40] jjc_y0 run tag @s add jjc_wither_warrior1_r
execute as @e[type=wither_skeleton,tag=jjc_wither_warrior1_r] at @s run playsound entity.player.big_fall hostile @a[distance=..200] ~ ~1 ~ 1 1
scoreboard players reset @e[type=wither_skeleton,tag=jjc_wither_warrior1_r] jjc_404
tag @e[type=wither_skeleton,tag=jjc_wither_warrior1_r] remove jjc_wither_warrior1
tag @e[type=wither_skeleton,tag=jjc_wither_warrior1_r] remove jjc_wither_warrior1_r