execute as @e[type=witch,tag=jjc_enchanter,predicate=colosseum_of_fools:ss/target] at @s anchored eyes positioned ^ ^ ^ as @n[type=potion,tag=!jjc_witch_detected,distance=..2] at @s on origin at @s[type=witch,tag=jjc_enchanter,predicate=colosseum_of_fools:ss/target] anchored eyes positioned ^ ^ ^ run kill @n[type=potion,tag=!jjc_witch_detected,distance=..2]
execute as @e[type=witch,tag=jjc_witch,predicate=colosseum_of_fools:ss/target] at @s anchored eyes positioned ^ ^ ^ as @n[type=potion,tag=!jjc_witch_detected,distance=..2] at @s on origin at @s[type=witch,predicate=colosseum_of_fools:ss/target] run tag @s add jjc_witch_shoot
execute as @e[type=witch,tag=jjc_witch_shoot,predicate=colosseum_of_fools:ss/target] at @s store result score @s jjc_random run random value 1..3
execute as @e[type=witch,tag=jjc_witch_shoot,predicate=colosseum_of_fools:ss/target,scores={jjc_random=1}] at @s anchored eyes positioned ^ ^ ^ run data modify entity @n[type=potion,tag=!jjc_witch_detected,distance=..2] Item.components."minecraft:potion_contents" set value {potion:"harming"}
execute as @e[type=witch,tag=jjc_witch_shoot,predicate=colosseum_of_fools:ss/target,scores={jjc_random=2}] at @s anchored eyes positioned ^ ^ ^ run data modify entity @n[type=potion,tag=!jjc_witch_detected,distance=..2] Item.components."minecraft:potion_contents" set value {custom_effects:[{id:"slowness",duration:200,amplifier:3}]}
execute as @e[type=witch,tag=jjc_witch_shoot,predicate=colosseum_of_fools:ss/target,scores={jjc_random=3}] at @s anchored eyes positioned ^ ^ ^ run data modify entity @n[type=potion,tag=!jjc_witch_detected,distance=..2] Item.components."minecraft:potion_contents" set value {custom_effects:[{id:"poison",duration:200,amplifier:0}]}
tag @e[type=witch,tag=jjc_witch_shoot] remove jjc_witch_shoot
execute as @e[type=witch,tag=jjc_witch,predicate=colosseum_of_fools:ss/target] at @s anchored eyes positioned ^ ^ ^ run tag @n[type=potion,tag=!jjc_witch_detected,distance=..2] add jjc_witch_detected