#dmg
$function main:mechanics/damage/enemy/deal_damage {"id":$(id),"damage":$(damage),"indicator":$(indicator),"type":$(type),"character":$(character),"crit":$(crit),"player_id":$(player_id)}

#how to use: execute as @s[tag=?] at @s run function main:mechanics/damage/enemy/deal_damage with storage minecraft:ability_damage ida1