$execute if entity @s[type=player] run function main:mechanics/damage/player/calculation {"damage":$(damage),"id":$(id),"id_number":$(id_number)}
$execute if entity @s[type=!player] run function main:mechanics/damage/ally/calculation {"damage":$(damage)}
