#hold
execute as @s[scores={rc_duration_t=..0,shift_duration_t=..0}] at @s run item modify entity @s weapon main:knight/knight

execute as @s[scores={rc_duration_t=1}] at @s run function main:settings/stats/cooldown/calculation {"cooldown":1,"type":rc}

execute as @s[scores={rc_duration_t=..0}] at @s run kill @e[type=item_display,tag=knight_rc]

execute as @s[scores={rc_duration_t=1..}] at @s run function main:characters/knight/rc/id1/active

execute if score .rc_counter knight matches ..0 if score @s rc_duration_t matches 1.. run data merge entity @n[type=item_display,tag=knight_rc] {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.33f,1.33f,0.1f]},item:{id:"minecraft:warped_fungus_on_a_stick",count:1,components:{"minecraft:item_model":"minecraft:weapons/knight/knight"}}}

execute if score .rc_counter knight matches 1.. run scoreboard players remove .rc_counter knight 1