damage @s 0 mob_attack by @n[type=villager,tag=archer_shift]
execute if entity @a[tag=archer,tag=!upgrade_6] run scoreboard players add @s confusion 120
execute if entity @a[tag=archer,tag=upgrade_6] run scoreboard players add @s confusion 160
tag @s add archer_shift