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.

Hierarchy

  • Game_ActionResult

Index

Constructors

constructor

Properties

addedBuffs

addedBuffs: number[]

addedDebuffs

addedDebuffs: number[]

addedStates

addedStates: 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: number[]

removedStates

removedStates: number[]

success

success: boolean

tpDamage

tpDamage: number

used

used: boolean

Methods

addedStateObjects

  • addedStateObjects(): State[]

clear

  • clear(): void

initialize

  • initialize(): 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(): State[]

Generated using TypeDoc