execute as @e[type=ghast,tag=jjc_primal_aspid_s,predicate=colosseum_of_fools:ss/player] at @s anchored eyes run tag @n[distance=..200,type=fireball,tag=!jjc_primal_aspid_j_detected] add jjc_primal_aspid_shoot1
execute as @e[type=ghast,tag=jjc_primal_aspid_s] at @s run summon small_fireball ^1.2 ^0.3 ^0.3 {Fire:10000s,acceleration_power:0.1d,LeftOwner:0b,Tags:["jjc","jjc_ob_j","jjc_primal_aspid_j0","jjc_primal_aspid_j0_l","jjc_primal_aspid_j_detected"],Passengers:[{id:"marker",Tags:["jjc_ob_j_m","jjc_nov"]}]}
execute as @e[type=ghast,tag=jjc_primal_aspid_s] at @s run summon small_fireball ^-1.2 ^0.3 ^0.3 {Fire:10000s,acceleration_power:0.1d,LeftOwner:0b,Tags:["jjc","jjc_ob_j","jjc_primal_aspid_j0","jjc_primal_aspid_j0_r","jjc_primal_aspid_j_detected"],Passengers:[{id:"marker",Tags:["jjc_ob_j_m","jjc_nov"]}]}
execute as @e[type=ghast,tag=jjc_primal_aspid_s] at @s anchored eyes run summon small_fireball ^ ^ ^0.3 {Fire:10000s,acceleration_power:0.1d,LeftOwner:0b,Tags:["jjc","jjc_ob_j","jjc_primal_aspid_j0","jjc_primal_aspid_j0_mid","jjc_primal_aspid_j_detected"],Passengers:[{id:"marker",Tags:["jjc_ob_j_m","jjc_nov"]}]}
execute as @e[type=small_fireball,tag=jjc_primal_aspid_j0] at @s run data modify entity @s Owner set from entity @n[distance=..200,type=fireball,tag=!jjc_primal_aspid_j_detected] Owner
execute as @e[type=ghast,tag=jjc_primal_aspid_s] at @s run scoreboard players operation @e[distance=..200,type=marker,tag=jjc_ob_j_m,sort=nearest,limit=3] jjc_damage = @s jjc_damage
execute as @e[type=small_fireball,tag=jjc_primal_aspid_j0] store result score @s jjc_x1 run data get entity @s Pos[0] 1000
execute as @e[type=small_fireball,tag=jjc_primal_aspid_j0] store result score @s jjc_y1 run data get entity @s Pos[1] 1000
execute as @e[type=small_fireball,tag=jjc_primal_aspid_j0] store result score @s jjc_z1 run data get entity @s Pos[2] 1000
execute as @e[type=small_fireball,tag=jjc_primal_aspid_j0] at @s run function colosseum_of_fools:ss/ghast/primal_aspid/20
execute as @e[type=marker,tag=jjc_primal_aspid_j0_m] store result score @s jjc_x2 run data get entity @s Pos[0] 1000
execute as @e[type=marker,tag=jjc_primal_aspid_j0_m] store result score @s jjc_y2 run data get entity @s Pos[1] 1000
execute as @e[type=marker,tag=jjc_primal_aspid_j0_m] store result score @s jjc_z2 run data get entity @s Pos[2] 1000
execute as @e[type=marker,tag=jjc_primal_aspid_j0_m] at @s store result entity @n[distance=..200,type=small_fireball,tag=jjc_primal_aspid_j0] Motion[0] double 0.01 run scoreboard players operation @s jjc_x2 -= @n[distance=..200,type=small_fireball,tag=jjc_primal_aspid_j0] jjc_x1
execute as @e[type=marker,tag=jjc_primal_aspid_j0_m] at @s store result entity @n[distance=..200,type=small_fireball,tag=jjc_primal_aspid_j0] Motion[1] double 0.01 run scoreboard players operation @s jjc_y2 -= @n[distance=..200,type=small_fireball,tag=jjc_primal_aspid_j0] jjc_y1
execute as @e[type=marker,tag=jjc_primal_aspid_j0_m] at @s store result entity @n[distance=..200,type=small_fireball,tag=jjc_primal_aspid_j0] Motion[2] double 0.01 run scoreboard players operation @s jjc_z2 -= @n[distance=..200,type=small_fireball,tag=jjc_primal_aspid_j0] jjc_z1
kill @e[type=marker,tag=jjc_primal_aspid_j0_m]
tag @e[type=ghast,tag=jjc_primal_aspid_s] remove jjc_primal_aspid_s
tag @e[type=small_fireball,tag=jjc_primal_aspid_j0] remove jjc_primal_aspid_j0
kill @e[type=fireball,tag=jjc_primal_aspid_shoot1]