Class: Game_ActionResult

Game_ActionResult()

new Game_ActionResult()

The game object declare class for a result of a battle action. For convinience, all member variables in this declare class are public.

Methods

addedStateObjects() → {Array.<RPG.State>}

Returns the added states from the action result.
Returns:
Type
Array.<RPG.State>

clear()

Clears the game action result.

initialize()

isBuffAdded(paramId) → {Boolean}

Returns true if the a buff is added to the specified param from the action result.
Parameters:
Name Type Description
paramId Number
Returns:
Type
Boolean

isBuffRemoved(paramId) → {Boolean}

Parameters:
Name Type Description
paramId Number
Returns:
Type
Boolean

isDebuffAdded(paramId) → {Boolean}

Parameters:
Name Type Description
paramId Number
Returns:
Type
Boolean

isHit() → {Boolean}

Returns true if the action result is a hit.
Returns:
Type
Boolean

isStateAdded(stateId)

Parameters:
Name Type Description
stateId Number

isStateRemoved(stateId) → {Boolean}

Parameters:
Name Type Description
stateId Number
Returns:
Type
Boolean

isStatusAffected() → {Boolean}

Returns:
Type
Boolean

pushAddedBuff(paramId)

Parameters:
Name Type Description
paramId Number

pushAddedDebuff(paramId)

Parameters:
Name Type Description
paramId Number

pushAddedState(stateId)

Parameters:
Name Type Description
stateId Number

pushRemovedBuff(paramId)

Parameters:
Name Type Description
paramId Number

pushRemovedState(stateId)

Parameters:
Name Type Description
stateId Number

removedStateObjects() → {Array.<RPG.State>}

Returns the removes states from the result.
Returns:
Type
Array.<RPG.State>