execute as @e[tag=ngboss] run attribute @s attack_damage modifier add 2b48a318-c2a4-4b49-b0ab-3f2ba2dfd8b8 -1 add_multiplied_base
tag @s[nbt={SelectedItem:{id:"minecraft:shield"}}] add shieldmain
tag @s[nbt={Inventory:[{id:"minecraft:shield",Slot:-106b}]},tag=!shieldmain] add shieldoff
execute as @e[tag=ngboss,limit=1,sort=nearest] at @s run summon item ~ ~ ~ {Item:{id:"minecraft:stick"},Tags:[snatcher_shield],PickupDelay:40s}
execute as @e[tag=snatcher_shield] run data modify entity @s Item set from entity @p[tag=shieldmain] SelectedItem
execute as @e[tag=snatcher_shield] run data modify entity @s Item set from entity @p[tag=shieldoff] Inventory[{Slot:-106b}]
tag @e[tag=snatcher_shield] remove snatcher_shield
item replace entity @s[tag=shieldmain] weapon.mainhand with air
item replace entity @s[tag=shieldoff] weapon.offhand with air
tag @s remove shieldmain
tag @s remove shieldoff
effect give @e[tag=ngboss] strength 10
#effect give @e[tag=ngboss] speed 10
execute at @e[tag=ngboss] run particle angry_villager ~ ~1.8 ~ .3 .2 .3 0 6
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/bossyoinkshield