Link Search Menu Expand Document

enemies.d overview


Table of contents


utils

ConditionType (type alias)

Signature

export declare type ConditionType = 0 | 1 | 2 | 3 | 4 | 5 | 6

DataEnemy (interface)

Signature

export interface DataEnemy extends DataBase {
  battlerHue: number
  battlerName: string
  params: [number, number, number, number, number, number, number, number]
  exp: number
  gold: number
  dropItems: [DropItem?, DropItem?, DropItem?]
  actions: EnemyAction[]
  traits: Trait[]
}

DropItem (interface)

Signature

export interface DropItem {
  kind: DropItemType
  dataId: DataID
  denominator: number
}

DropItemType (type alias)

Signature

export declare type DropItemType = 0 | 1 | 2 | 3

EnemyAction (interface)

Signature

export interface EnemyAction {
  skillId: SkillID
  rating: number
  conditionType: ConditionType
  conditionParam1: number
  conditionParam2: number
}