execute if entity @a[tag=knight,scores={knight=50..}] if score .weapon_cd knight matches ..0 as @s[scores={hit_indicator=10}] at @s run function main:characters/knight/weapon/id1/impulse

#combo
#hits
$execute if entity @s[scores={health=1..}] as @a[scores={player_id=1,combo_reset=..0},tag=$(character)] run scoreboard players add .hits combo 1
$execute if entity @s[scores={health=1..}] as @a[scores={player_id=1,combo_reset=..0,in_air=1..},tag=$(character)] run scoreboard players add .hits_midair combo 1
$execute if entity @s[scores={hit_indicator=0..9}] as @a[scores={player_id=1,combo_reset=..0},tag=$(character)] run scoreboard players add .hits_skills combo 1
$execute if entity @s[scores={in_air=4..}] as @a[tag=$(character)] run function main:mechanics/combo/actions/airshot