function main:settings/stats/cooldown/calculation {"cooldown":3,"type":shift}

playsound atmos:slash_3 master @a ~ ~ ~ 10 1 1
function main:mechanics/effects/zoom/start {"duration":"3","strength":"0.05"}
function main:mechanics/effects/screenshake/start {duration:3,strength:200}

scoreboard players set .shift_animation reaper 27
function main:mechanics/animation/start {"frames":306,"start":"10"}

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

execute at @s anchored eyes run function main:mechanics/projectile/projectile_item_display {"id":id1,"character":reaper,"type":shift,"distance":100,"texture":"weapons/reaper/reaper_shift","size":"2f,2f,2f","translation":"0f,-1f,-1f","x":"~","y":"~","angle_1":"~","angle_2":"~","pierce":10000,"spin":'',"rotation":"-1","tags":"","position":""}

schedule function main:characters/reaper/shift/id1/tick_5t 5t
