base.d overview
Table of contents
- utils
- Color (type alias)
- Damage (interface)
- DamageType (type alias)
- DataAudio (interface)
- DataBase (interface)
- DataBaseBase (interface)
- DataClassID (type alias)
- DataItemBase (interface)
- DataPricedItemBase (interface)
- Direction (type alias)
- Meta (type alias)
- Occasion (type alias)
- Scope (type alias)
- Trait (interface)
- TraitType (type alias)
utils
Color (type alias)
Signature
export declare type Color = readonly [number, number, number, number]
Damage (interface)
Signature
export interface Damage {
type: DamageType
elementId: ElementType
formula: string
variance: number
critical: boolean
}
DamageType (type alias)
Signature
export declare type DamageType = 0 | 1 | 2 | 3 | 4 | 5 | 6
DataAudio (interface)
Signature
export interface DataAudio {
name: string
pan: number
pitch: number
volume: number
pos?: number
}
DataBase (interface)
Signature
export interface DataBase extends DataBaseBase {
note: string
meta: Meta
}
DataBaseBase (interface)
Signature
export interface DataBaseBase {
id: DataID
name: string
}
DataClassID (type alias)
Signature
export declare type DataClassID = 'item' | 'skill' | 'weapon' | 'armor'
DataItemBase (interface)
Signature
export interface DataItemBase extends DataBase {
description: string
iconIndex: number
}
DataPricedItemBase (interface)
Signature
export interface DataPricedItemBase extends DataItemBase {
price: number
}
Direction (type alias)
Signature
export declare type Direction = 0 | 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9
Meta (type alias)
Signature
export declare type Meta = Record<string, unknown>
Occasion (type alias)
Signature
export declare type Occasion = 0 | 1 | 2 | 3
Scope (type alias)
Signature
export declare type Scope = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14
Trait (interface)
Signature
export interface Trait {
code: TraitType
dataId: DataID
value: number
}
TraitType (type alias)
Signature
export declare type TraitType =
| typeof Game_BattlerBase.TRAIT_ELEMENT_RATE
| typeof Game_BattlerBase.TRAIT_DEBUFF_RATE
| typeof Game_BattlerBase.TRAIT_STATE_RATE
| typeof Game_BattlerBase.TRAIT_STATE_RESIST
| typeof Game_BattlerBase.TRAIT_PARAM
| typeof Game_BattlerBase.TRAIT_XPARAM
| typeof Game_BattlerBase.TRAIT_SPARAM
| typeof Game_BattlerBase.TRAIT_ATTACK_ELEMENT
| typeof Game_BattlerBase.TRAIT_ATTACK_STATE
| typeof Game_BattlerBase.TRAIT_ATTACK_SPEED
| typeof Game_BattlerBase.TRAIT_ATTACK_TIMES
| typeof Game_BattlerBase.TRAIT_ATTACK_SKILL
| typeof Game_BattlerBase.TRAIT_STYPE_ADD
| typeof Game_BattlerBase.TRAIT_STYPE_SEAL
| typeof Game_BattlerBase.TRAIT_SKILL_ADD
| typeof Game_BattlerBase.TRAIT_SKILL_SEAL
| typeof Game_BattlerBase.TRAIT_EQUIP_WTYPE
| typeof Game_BattlerBase.TRAIT_EQUIP_ATYPE
| typeof Game_BattlerBase.TRAIT_EQUIP_LOCK
| typeof Game_BattlerBase.TRAIT_EQUIP_SEAL
| typeof Game_BattlerBase.TRAIT_SLOT_TYPE
| typeof Game_BattlerBase.TRAIT_ACTION_PLUS
| typeof Game_BattlerBase.TRAIT_SPECIAL_FLAG
| typeof Game_BattlerBase.TRAIT_COLLAPSE_TYPE
| typeof Game_BattlerBase.TRAIT_PARTY_ABILITY