execute unless score @n[tag=apply_source] arrow_potion_id matches 0.. run return fail
execute if score @n[tag=apply_source] arrow_potion_id matches 0 run effect give @s glowing 10 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 1 run effect give @s minecraft:speed 22 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 2 run effect give @s minecraft:speed 11 1 false
execute if score @n[tag=apply_source] arrow_potion_id matches 3 run effect give @s minecraft:speed 60 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 4 run effect give @s minecraft:slowness 11 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 5 run effect give @s minecraft:slowness 2 3 false
execute if score @n[tag=apply_source] arrow_potion_id matches 6 run effect give @s minecraft:slowness 30 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 7 run effect give @s minecraft:strength 22 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 8 run effect give @s minecraft:strength 11 1 false
execute if score @n[tag=apply_source] arrow_potion_id matches 9 run effect give @s minecraft:strength 60 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 10 run effect give @s minecraft:weakness 11 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 11 run effect give @s minecraft:weakness 30 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 12 run effect give @s minecraft:instant_health 1 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 13 run effect give @s minecraft:instant_health 1 1 false
execute if score @n[tag=apply_source] arrow_potion_id matches 14 run effect give @s minecraft:instant_damage 1 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 15 run effect give @s minecraft:instant_damage 1 1 false
execute if score @n[tag=apply_source] arrow_potion_id matches 16 run effect give @s minecraft:jump_boost 22 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 17 run effect give @s minecraft:jump_boost 11 1 false
execute if score @n[tag=apply_source] arrow_potion_id matches 18 run effect give @s minecraft:jump_boost 60 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 19 run effect give @s minecraft:luck 37 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 20 run effect give @s minecraft:regeneration 5 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 21 run effect give @s minecraft:regeneration 2 1 false
execute if score @n[tag=apply_source] arrow_potion_id matches 22 run effect give @s minecraft:regeneration 11 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 23 run effect give @s minecraft:poison 5 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 24 run effect give @s minecraft:poison 2 1 false
execute if score @n[tag=apply_source] arrow_potion_id matches 25 run effect give @s minecraft:poison 11 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 26 run effect give @s minecraft:fire_resistance 22 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 27 run effect give @s minecraft:fire_resistance 60 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 28 run effect give @s minecraft:water_breathing 22 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 29 run effect give @s minecraft:water_breathing 60 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 30 run effect give @s minecraft:night_vision 22 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 31 run effect give @s minecraft:night_vision 60 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 32 run effect give @s minecraft:invisibility 22 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 33 run effect give @s minecraft:invisibility 60 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 34 run effect give @s minecraft:slowness 2 3 false
execute if score @n[tag=apply_source] arrow_potion_id matches 34 run effect give @s minecraft:resistance 2 2 false
execute if score @n[tag=apply_source] arrow_potion_id matches 35 run effect give @s minecraft:slowness 2 5 false
execute if score @n[tag=apply_source] arrow_potion_id matches 35 run effect give @s minecraft:resistance 2 3 false
execute if score @n[tag=apply_source] arrow_potion_id matches 36 run effect give @s minecraft:slowness 5 3 false
execute if score @n[tag=apply_source] arrow_potion_id matches 36 run effect give @s minecraft:resistance 5 2 false
execute if score @n[tag=apply_source] arrow_potion_id matches 37 run effect give @s minecraft:slow_falling 11 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 38 run effect give @s minecraft:slow_falling 30 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 39 run effect give @s minecraft:wind_charged 22 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 40 run effect give @s minecraft:oozing 22 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 41 run effect give @s minecraft:infested 22 0 false
execute if score @n[tag=apply_source] arrow_potion_id matches 42 run effect give @s minecraft:weaving 22 0 false