function main:mechanics/damage/enemy/calculation {"id":id1,"character":reaper,"type":"rc","damage":18,"stat":"health_max","local_bonus":0,"indicator":10}

playsound entity.creaking.attack master @a ~ ~ ~ 10 1 1

execute at @s anchored eyes run function main:mechanics/interaction/weapon/attack/start {"id":id1,"hitbox_duration":10,"sound_1":"atmos:slash_2 master @a ~ ~ ~ 10 0.95 1","sound_2":"entity.puffer_fish.blow_out master @a ~ ~ ~ 10 0.5 1","character":reaper,"type":rc,"particle":"dust{color:[0.0,0.0,0.7],scale:1}","x":4,"y":3,"z":4}

scoreboard players set .stacks reaper 0
tag @s add reaper_max
function main:mechanics/effects/lines/start {"duration":3}
scoreboard players set .upgrade_2 reaper 0

execute if entity @s[tag=upgrade_1] run function main:characters/reaper/upgrades/id/1/activation