execute as @e[type=zombie,tag=jjc_copperfish_tamer2] at @s store result score @s jjc_x1 run data get entity @s Pos[0] 1000
execute as @e[type=zombie,tag=jjc_copperfish_tamer2] at @s store result score @s jjc_z1 run data get entity @s Pos[2] 1000
execute as @e[type=zombie,tag=jjc_copperfish_tamer2] at @s as @p[predicate=colosseum_of_fools:survive,tag=jjc_p,distance=..60] at @s store result score @s jjc_x2 run data get entity @s Pos[0] 1000
execute as @e[type=zombie,tag=jjc_copperfish_tamer2] at @s as @p[predicate=colosseum_of_fools:survive,tag=jjc_p,distance=..60] at @s store result score @s jjc_z2 run data get entity @s Pos[2] 1000
execute as @e[type=zombie,tag=jjc_copperfish_tamer2] at @s store result entity @s Motion[0] double 0.00015 run scoreboard players operation @p[predicate=colosseum_of_fools:survive,tag=jjc_p,distance=..60] jjc_x2 -= @s jjc_x1
execute as @e[type=zombie,tag=jjc_copperfish_tamer2] at @s store result entity @s Motion[2] double 0.00015 run scoreboard players operation @p[predicate=colosseum_of_fools:survive,tag=jjc_p,distance=..60] jjc_z2 -= @s jjc_z1
execute as @e[type=zombie,tag=jjc_copperfish_tamer2] at @s run data modify entity @s Motion[1] set value 1d
execute as @e[type=zombie,tag=jjc_copperfish_tamer2] at @s run data merge entity @s {active_effects:[{id:"minecraft:luck",amplifier:98b,duration:100,ambient:0b,show_icon:0b,show_particles:0b}]}
execute as @e[type=zombie,tag=jjc_copperfish_tamer2] at @s run playsound entity.zombie.hurt hostile @a[distance=..200] ~ ~1 ~ 1 0
tag @e[type=zombie,tag=jjc_copperfish_tamer2] remove jjc_copperfish_tamer2