
#wind
execute if entity @s[tag=untwo.entity_effect.proj_wind,type=#untwo:effect/wind/proj] run function untwo:entity_effect/proj_wind/139t

#confusion
execute if entity @s[tag=untwo.entity_effect.confusion,type=#untwo:effect/confusion/entity] run function untwo:entity_effect/confusion/tick/139t

execute if score @s untwo.139t.entity.adv matches 1.. run tag @s add untwo.139t.entity.adv.end
execute if score @s untwo.139t.entity.adv matches ..0 run tag @s remove untwo.139t.entity.adv