function survivalplus:finale/boss/clearphase
tag @s add healph
item replace entity @s armor.head with netherite_helmet[trim={pattern:shaper,material:copper}]
item replace entity @s armor.chest with netherite_chestplate[trim={pattern:raiser,material:copper}]
item replace entity @s armor.legs with netherite_leggings[trim={pattern:silence,material:copper}]
item replace entity @s armor.feet with netherite_boots[trim={pattern:silence,material:copper}]
item replace entity @s weapon with netherite_sword
attribute @s armor modifier add 21da88fd-641b-48ad-883b-d302b1564824 0.3 add_multiplied_base
execute at @e[tag=ng+portal] run setblock ~ ~8 ~ minecraft:bedrock
execute if entity @e[tag=ngboss,tag=!lowhp] unless entity @e[tag=bosshealer] at @e[tag=ng+portal] run summon end_crystal ~ ~8 ~ {Tags:[bosshealer],ShowBottom:0b}
execute at @e[tag=bosshealer] run playsound minecraft:block.beacon.activate block @a ~ ~ ~ 2 1.5
tag @s add heal