execute if predicate items:selected/weapon run function items:weapon/player_hit_entity

execute if entity @e[tag=hitted,tag=cursed] run function items:player_hit_entity/hit_cursed

tag @e[tag=hitted] remove hitted
tag @s remove hitted_enemy
