The game object class for a result of a battle action. For convenience, all member variables in this class are public.
Methods
- Get added state data objects
Returns:
Type Description Array.<Object> The data objects for added states - Clear the action result
- Initialize the action result object
- Check if the given param has a buff added
Name Type Description paramId
number The id of the param to check for buff adding Returns:
Type Description boolean True if added - Check if the given param has a buff removed
Name Type Description paramId
number The id of the param to check for buff removal Returns:
Type Description boolean True if removed - Check if the given param has a debuff added
Name Type Description paramId
number The id of the param to check for debuff adding Returns:
Type Description boolean True if added - Check if the result was a hit
Returns:
Type Description boolean True if hit - Check if the given state is added
Name Type Description stateId
number The id of the state to check for adding Returns:
Type Description boolean True if added - Check if the given state is removed
Name Type Description stateId
number The id of the state to check for removal Returns:
Type Description boolean True if removed - Check if any status effects
Returns:
Type Description boolean True if any status effects exist - Add the given param to the added buffs
Name Type Description paramId
number The id of the param to add a buff for - Add the given param to the added debuffs
Name Type Description paramId
number The id of the param to add a debuff for - Add the state id to the added states list
Name Type Description stateId
number The id of the state to add - Remove the given param from the added buffs
Name Type Description paramId
number The id of the param to remove a buff for - Add the state id to the removed states list
Name Type Description stateId
number The id of the state to remove - Get removed state data objects
Returns:
Type Description Array.<Object> The data objects for removed states