If you mean doing it in like a troop event or something at the end of a turn
None that I know of. Afaik you will need to determine that right after the damage has been dealt because the game doesn't really save who attacked who after the damage dealing has been done.
You'd probably be interested in looking at Game_Battler's execute_damage method or something for this effect
None that I know of. Afaik you will need to determine that right after the damage has been dealt because the game doesn't really save who attacked who after the damage dealing has been done.
You'd probably be interested in looking at Game_Battler's execute_damage method or something for this effect