This script stores the targets of an action with the action itself so that
you can access the action’s targets if needed.
Script: download here
Place this script below Materials and above Main
Plug and play.
An example use of the targets is if you wanted to write damage formulas based
on the number of targets. You would access the targets from the user’s
current action as such:
This returns an array of Game_Battler objects.