Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Game_ActionResult


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.

class

Game_ActionResult

Hierarchy

  • Game_ActionResult

Index

Properties

addedBuffs

addedBuffs: Array<number>

addedDebuffs

addedDebuffs: Array<number>

addedStates

addedStates: Array<number>

critical

critical: boolean

drain

drain: boolean

evaded

evaded: boolean

hpAffected

hpAffected: boolean

hpDamage

hpDamage: number

missed

missed: boolean

mpDamage

mpDamage: number

physical

physical: boolean

removedBuffs

removedBuffs: Array<number>

removedStates

removedStates: Array<number>

success

success: boolean

tpDamage

tpDamage: number

used

used: boolean

Methods

addedStateObjects

  • addedStateObjects(): Array<State>

clear

  • clear(): void

isBuffAdded

  • isBuffAdded(paramId: number): boolean
  • Returns true if the a buff is added to the specified param from the action result.

    memberof

    Game_ActionResult

    Parameters

    • paramId: number

    Returns boolean

isBuffRemoved

  • isBuffRemoved(paramId: number): boolean

isDebuffAdded

  • isDebuffAdded(paramId: number): boolean

isHit

  • isHit(): boolean

isStateAdded

  • isStateAdded(stateId: number): boolean

isStateRemoved

  • isStateRemoved(stateId: number): boolean

isStatusAffected

  • isStatusAffected(): boolean

pushAddedBuff

  • pushAddedBuff(paramId: number): void

pushAddedDebuff

  • pushAddedDebuff(paramId: number): void

pushAddedState

  • pushAddedState(stateId: number): void

pushRemovedBuff

  • pushRemovedBuff(paramId: number): void

pushRemovedState

  • pushRemovedState(stateId: number): void

removedStateObjects

  • removedStateObjects(): Array<State>

Generated using TypeDoc