execute on target run tag @s add jjc_t
execute at @s[predicate=colosseum_of_fools:ss/target] run particle flame ~ ~1.5 ~ 0.3 0.75 0.3 0 1 normal
execute on passengers at @s[tag=jjc_wildfire_shield] run tp @s ~ ~ ~ ~10 0
execute on passengers at @s[tag=jjc_wildfire_zs2] run data modify entity @s Rotation set from entity @n[distance=..200,type=blaze,tag=jjc_wildfire] Rotation
execute on passengers at @s[tag=jjc_wildfire_zs1] run tp @s ~ ~ ~ ~-1 0
execute on passengers at @s[tag=jjc_wildfire_zs2] positioned ~ ~-1 ~ facing entity @n[distance=..200,tag=jjc_t] feet run tp @s ~ ~ ~ ~ ~
execute at @s[predicate=colosseum_of_fools:ss/target,nbt={HurtTime:0s}] unless entity @n[tag=jjc_t,distance=..10] facing entity @n[tag=jjc_t,distance=..60] feet rotated ~ 0 positioned ^0.01 ^ ^0.005 summon marker run function colosseum_of_fools:ss/wildfire/move
execute at @s[tag=jjc_wildfire_2] run function colosseum_of_fools:ss/wildfire/2/1
execute at @s[predicate=colosseum_of_fools:ss/target] anchored eyes positioned ^ ^ ^ as @n[type=small_fireball,tag=!jjc_wildfire_j_detected,distance=..3] at @s on origin run tag @s[type=blaze,tag=jjc_wildfire,predicate=colosseum_of_fools:ss/target] add jjc_wildfire_s
execute at @s[tag=jjc_wildfire_s] run function colosseum_of_fools:ss/wildfire/1/2
execute at @s[predicate=colosseum_of_fools:ss/target] anchored eyes positioned ^ ^ ^ run tag @n[type=small_fireball,tag=!jjc_wildfire_j_detected,distance=..3] add jjc_wildfire_j_detected
execute at @s[tag=jjc_wildfire_1] run function colosseum_of_fools:ss/wildfire/1/3
execute at @s[tag=!jjc_wildfire_1,tag=!jjc_wildfire_2,tag=!jjc_wildfire_3,predicate=colosseum_of_fools:ss/target,nbt={HurtTime:9s},nbt=!{AbsorptionAmount:0f}] run function colosseum_of_fools:ss/wildfire/2/0
execute at @s[tag=!jjc_wildfire_1,tag=!jjc_wildfire_2,tag=!jjc_wildfire_3,scores={jjc_hp=1..3000},predicate=colosseum_of_fools:random/0.05,predicate=colosseum_of_fools:random/0.1] run function colosseum_of_fools:ss/wildfire/3/0
execute at @s[tag=!jjc_wildfire_1,tag=!jjc_wildfire_2,tag=!jjc_wildfire_3,scores={jjc_hp=..0},predicate=colosseum_of_fools:random/0.1,predicate=colosseum_of_fools:random/0.2] run function colosseum_of_fools:ss/wildfire/3/02
execute at @s[tag=jjc_wildfire_3] run function colosseum_of_fools:ss/wildfire/3/1
execute at @s[nbt=!{HurtTime:0s}] run function colosseum_of_fools:ss/wildfire/hurt
execute at @s[predicate=colosseum_of_fools:random/0.2] store result score @s jjc_y0 run data get entity @s Pos[1] 10
execute if score @s jjc_y0 < @n[distance=..200,type=marker,tag=jjc_jjc] jjc_y0 run data modify entity @s Motion[1] set value 0.2d
tag @e[tag=jjc_t] remove jjc_t