
execute as @e[type=wither_skeleton,tag=jjc_wither_lord4] at @s run particle dust{color:[1,1,1],scale:1} ~ ~2 ~ 0.5 1 0.5 0 5 force
execute as @e[type=wither_skeleton,tag=jjc_wither_lord4] at @s run particle minecraft:falling_dust{block_state:{Name:"minecraft:black_concrete_powder"}} ~ ~2 ~ 0.5 1 0.5 2 5
execute as @e[type=wither_skeleton,tag=jjc_wither_lord4] at @s run tp @s ~ ~ ~ ~ 60
scoreboard players add @e[type=wither_skeleton,tag=jjc_wither_lord4] jjc_404 1
execute as @e[type=wither_skeleton,tag=jjc_wither_lord4,scores={jjc_404=1}] at @s facing entity @p[predicate=colosseum_of_fools:survive,tag=jjc_p,distance=..60] feet run tp @s ~ ~ ~ ~ 0
execute as @e[type=wither_skeleton,tag=jjc_wither_lord4,scores={jjc_404=1}] at @s store result score @s jjc_rot run data get entity @s Rotation[0] 100
execute as @e[type=wither_skeleton,tag=jjc_wither_lord4,scores={jjc_404=1..10}] at @s store result entity @s Rotation[0] float 0.01 run scoreboard players get @s jjc_rot
execute as @e[type=wither_skeleton,tag=jjc_wither_lord4,scores={jjc_404=1..10}] at @s rotated ~180 0 if block ^ ^-1 ^3 #colosseum_of_fools:no run scoreboard players set @s jjc_404 11
execute as @e[type=wither_skeleton,tag=jjc_wither_lord4,scores={jjc_404=1..10}] at @s rotated ~180 0 unless block ^ ^-1 ^3 #colosseum_of_fools:no run summon marker ^ ^ ^0.01 {Tags:["jjc_wither_lord4m","jjc"]}
execute as @e[type=wither_skeleton,tag=jjc_wither_lord4,scores={jjc_404=1..10}] 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_lord4,scores={jjc_404=1..10}] at @s store result score @s jjc_z1 run data get entity @s Pos[2] 1000
execute as @e[type=marker,tag=jjc_wither_lord4m] at @s store result score @s jjc_x2 run data get entity @s Pos[0] 1000
execute as @e[type=marker,tag=jjc_wither_lord4m] at @s store result score @s jjc_z2 run data get entity @s Pos[2] 1000
execute as @e[type=marker,tag=jjc_wither_lord4m] at @s store result entity @n[distance=..200,type=wither_skeleton,tag=jjc_wither_lord4] Motion[0] double 0.05 run scoreboard players operation @s jjc_x2 -= @n[distance=..200,type=wither_skeleton,tag=jjc_wither_lord4] jjc_x1
execute as @e[type=marker,tag=jjc_wither_lord4m] at @s store result entity @n[distance=..200,type=wither_skeleton,tag=jjc_wither_lord4] Motion[2] double 0.05 run scoreboard players operation @s jjc_z2 -= @n[distance=..200,type=wither_skeleton,tag=jjc_wither_lord4] jjc_z1
kill @e[type=marker,tag=jjc_wither_lord4m]
execute as @e[type=wither_skeleton,tag=jjc_wither_lord4,scores={jjc_404=1}] at @s run playsound entity.wither.ambient hostile @a[distance=..200] ~ ~1 ~ 3 1
execute as @e[type=wither_skeleton,tag=jjc_wither_lord4,scores={jjc_404=11..60},predicate=colosseum_of_fools:random/0.2] at @s run playsound entity.wither.hurt hostile @a[distance=..200] ~ ~1 ~ 3 1
execute as @e[type=wither_skeleton,tag=jjc_wither_lord4,scores={jjc_404=11..60}] at @s run particle sweep_attack ~ ~2 ~ 0.5 1 0.5 0 2 force
execute as @e[type=wither_skeleton,tag=jjc_wither_lord4,scores={jjc_404=30}] at @s run function colosseum_of_fools:ss/wither_skeleton/wither_lord/41
execute as @e[type=wither_skeleton,tag=jjc_wither_lord4,scores={jjc_404=50}] at @s rotated ~7.5 ~ run function colosseum_of_fools:ss/wither_skeleton/wither_lord/41
tag @e[type=wither_skeleton,tag=jjc_wither_lord1,tag=jjc_wither_lord4] add jjc_wither_lord4_r
tag @e[type=wither_skeleton,tag=jjc_wither_lord4,scores={jjc_404=50..}] add jjc_wither_lord4_r
scoreboard players reset @e[type=wither_skeleton,tag=jjc_wither_lord4_r] jjc_404
tag @e[type=wither_skeleton,tag=jjc_wither_lord4_r] remove jjc_wither_lord4
tag @e[type=wither_skeleton,tag=jjc_wither_lord4_r] remove jjc_wither_lord4_r