$function main:mechanics/damage/enemy/calculation {"id":"fancy_nancy","character":$(character),"type":"summon","damage":50,"stat":"attack","local_bonus":0,"indicator":-10}

$data modify storage fancy_nancy character set value $(character)
function main:mechanics/damage/enemy/calculation