execute if entity @s[scores={hunter=1..}] run execute as @e[type=#cartographer_core:monstrous,distance=..5,nbt=!{HurtTime:0s}] at @s run particle minecraft:enchanted_hit ~ ~1 ~ 0.3 0.5 0.3 0.3 20 normal

execute if entity @s[scores={hunter=1}] run execute as @e[type=#cartographer_core:monstrous,distance=..5,nbt=!{HurtTime:0s}] run function cartographer_core:helper/deal_damage/2
execute if entity @s[scores={hunter=2}] run execute as @e[type=#cartographer_core:monstrous,distance=..5,nbt=!{HurtTime:0s}] run function cartographer_core:helper/deal_damage/5
execute if entity @s[scores={hunter=3}] run execute as @e[type=#cartographer_core:monstrous,distance=..5,nbt=!{HurtTime:0s}] run function cartographer_core:helper/deal_damage/7
execute if entity @s[scores={hunter=4}] run execute as @e[type=#cartographer_core:monstrous,distance=..5,nbt=!{HurtTime:0s}] run function cartographer_core:helper/deal_damage/10
execute if entity @s[scores={hunter=5}] run execute as @e[type=#cartographer_core:monstrous,distance=..5,nbt=!{HurtTime:0s}] run function cartographer_core:helper/deal_damage/12
