item replace entity @e[tag=item_yoink,limit=1,sort=nearest] weapon.mainhand from entity @s weapon.mainhand
item replace entity @s weapon.mainhand with air
tag @e[tag=ngboss] remove item_yoink

execute as @e[tag=ngboss] at @s run function survivalplus:finale/boss/abilities/yoinked
advancement revoke @s only survivalplus:tools/gethit/bossyoink