Link Search Menu Expand Document

Game_ActionResult.d overview


Table of contents


utils

Game_ActionResult (class)

Game_ActionResult

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

Signature

export declare class Game_ActionResult {
  constructor()
}

clear (method)

Signature

clear(): void

addedStateObjects (method)

Signature

addedStateObjects(): import("../data").DataState[]

removedStateObjects (method)

Signature

removedStateObjects(): import("../data").DataState[]

isStatusAffected (method)

Signature

isStatusAffected(): boolean

isHit (method)

Signature

isHit(): boolean

isStateAdded (method)

Signature

isStateAdded(stateId: StateID): boolean

pushAddedState (method)

Signature

pushAddedState(stateId: StateID): void

isStateRemoved (method)

Signature

isStateRemoved(stateId: StateID): boolean

pushRemovedState (method)

Signature

pushRemovedState(stateId: StateID): void

isBuffAdded (method)

Signature

isBuffAdded(paramId: ParamID): boolean

pushAddedBuff (method)

Signature

pushAddedBuff(paramId: ParamID): void

isDebuffAdded (method)

Signature

isDebuffAdded(paramId: ParamID): boolean

pushAddedDebuff (method)

Signature

pushAddedDebuff(paramId: ParamID): void

isBuffRemoved (method)

Signature

isBuffRemoved(paramId: ParamID): boolean

pushRemovedBuff (method)

Signature

pushRemovedBuff(paramId: ParamID): void

used (property)

Signature

used: boolean

missed (property)

Signature

missed: boolean

evaded (property)

Signature

evaded: boolean

physical (property)

Signature

physical: boolean

drain (property)

Signature

drain: boolean

critical (property)

Signature

critical: boolean

success (property)

Signature

success: boolean

hpAffected (property)

Signature

hpAffected: boolean

hpDamage (property)

Signature

hpDamage: number

mpDamage (property)

Signature

mpDamage: number

tpDamage (property)

Signature

tpDamage: number

addedStates (property)

Signature

addedStates: number[]

removedStates (property)

Signature

removedStates: number[]

addedBuffs (property)

Signature

addedBuffs: ParamID[]

addedDebuffs (property)

Signature

addedDebuffs: ParamID[]

removedBuffs (property)

Signature

removedBuffs: ParamID[]