data merge entity @s {drop_chances:{mainhand:0f}}
execute if entity @s[tag=item_yoinked] run function survivalplus:finale/boss/abilities/unyoink
tag @s remove tim
tag @s remove player
tag @s remove heal
tag @s remove item_yoink
execute as @s[tag=ngbossclone] run data merge entity @s {Silent:1b}
kill @e[tag=ngbossclone]
tag @s remove cloned

item replace entity @s armor.head with netherite_helmet[trim={pattern:shaper,material:netherite}]
item replace entity @s armor.chest with netherite_chestplate[trim={pattern:raiser,material:netherite}]
item replace entity @s armor.legs with netherite_leggings[trim={pattern:silence,material:netherite}]
item replace entity @s armor.feet with netherite_boots[trim={pattern:silence,material:netherite}]
item replace entity @s weapon.mainhand with netherite_sword

attribute @s attack_damage modifier remove 2b48a318-c2a4-4b49-b0ab-3f2ba2dfd8b8
attribute @s attack_damage modifier remove 5dbe5068-25ba-483c-aca9-a2173d08dd14
#fast
attribute @s armor modifier remove 4f790e24-c0f6-4316-a880-11197606fb47
attribute @s movement_speed modifier remove d5292553-aeae-47df-8f24-1facae9df03a
attribute @s attack_knockback modifier remove 6854c560-e589-4ac9-a717-1e0bebdbacb4
#heavy
attribute @s armor modifier remove 21da88fd-641b-48ad-883b-d302b1564824
attribute @s armor_toughness modifier remove 21da88fd-641b-48ad-883b-d302b1564824
attribute @s attack_damage modifier remove f8a2b98c-51f1-4cd7-a86b-d7c4875b8d81
attribute @s movement_speed modifier remove e3ecb24f-c44b-4fc1-93b1-ab3d911d1166
attribute @s attack_knockback modifier remove 1ce45fec-11cc-488c-ae2e-2a9798b3d51d
attribute @s knockback_resistance modifier remove 871bcb59-4efe-422a-9553-5046a98ea61a
#range
attribute @s armor_toughness modifier remove 21da88fd-641b-48ad-883b-d302b1564824
attribute @s movement_speed modifier remove b6e0703b-f027-42ef-85d0-2434b3dfe0c2
#weak/slow
attribute @s armor modifier remove e07bc08d-bc7e-48f8-b164-a88e520b6beb
attribute @s armor_toughness modifier remove 79d4a2ce-dde8-4732-818c-c10dff0faf8e
attribute @s knockback_resistance modifier remove 89340837-838e-4172-a20a-4a64a46dfa50
attribute @s attack_damage modifier remove d54d98a7-7f06-4ad3-ab58-fd001f9e03f4