Link Search Menu Expand Document

Game_Troop.d overview


Table of contents


utils

Game_Troop (class)

Game_Troop

The game object class for a troop and the battle-related data.

Signature

export declare class Game_Troop {
  constructor()
}

isEventRunning (method)

Signature

isEventRunning(): boolean

updateInterpreter (method)

Signature

updateInterpreter(): void

turnCount (method)

Signature

turnCount(): number

members (method)

Signature

members(): Game_Enemy[]

clear (method)

Signature

clear(): void

troop (method)

Signature

troop(): import("../data").DataTroop

setup (method)

Signature

setup(troopId: TroopID): void

makeUniqueNames (method)

Signature

makeUniqueNames(): void

updatePluralFlags (method)

Signature

updatePluralFlags(): void

letterTable (method)

Signature

letterTable(): string[]

enemyNames (method)

Signature

enemyNames(): string[]

meetsConditions (method)

Signature

meetsConditions(page: DataTroopPage): boolean

setupBattleEvent (method)

Signature

setupBattleEvent(): void

increaseTurn (method)

Signature

increaseTurn(): void

expTotal (method)

Signature

expTotal(): number

goldTotal (method)

Signature

goldTotal(): number

goldRate (method)

Signature

goldRate(): 1 | 2

makeDropItems (method)

Signature

makeDropItems(): DataItemBase[]

isTpbTurnEnd (method)

Signature

isTpbTurnEnd(): boolean

_interpreter (property)

Signature

_interpreter: Game_Interpreter

_troopId (property)

Signature

_troopId: number

_eventFlags (property)

Signature

_eventFlags: Record<number, boolean>

_enemies (property)

Signature

_enemies: Game_Enemy[]

_turnCount (property)

Signature

_turnCount: number

_namesCount (property)

Signature

_namesCount: Record<string, number>