Utils: Action Targets

This script stores the targets of an action with the action itself so that
you can access the action’s targets if needed.

Download

Script: download here

Installation

Place this script below Materials and above Main

Usage

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:

a.current_action.targets

This returns an array of Game_Battler objects.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *