mirror of
https://github.com/DaanVandenBosch/phantasmal-world.git
synced 2025-04-04 22:58:29 +08:00
60 lines
1.0 KiB
TypeScript
60 lines
1.0 KiB
TypeScript
export type ItemTypeDto = WeaponItemTypeDto
|
|
| ArmorItemTypeDto
|
|
| ShieldItemTypeDto
|
|
| UnitItemTypeDto
|
|
| ToolItemTypeDto
|
|
|
|
export type WeaponItemTypeDto = {
|
|
class: 'weapon',
|
|
id: number,
|
|
name: string,
|
|
minAtp: number,
|
|
maxAtp: number,
|
|
ata: number,
|
|
maxGrind: number,
|
|
requiredAtp: number,
|
|
}
|
|
|
|
export type ArmorItemTypeDto = {
|
|
class: 'armor',
|
|
id: number,
|
|
name: string,
|
|
}
|
|
|
|
export type ShieldItemTypeDto = {
|
|
class: 'shield',
|
|
id: number,
|
|
name: string,
|
|
}
|
|
|
|
export type UnitItemTypeDto = {
|
|
class: 'unit',
|
|
id: number,
|
|
name: string,
|
|
}
|
|
|
|
export type ToolItemTypeDto = {
|
|
class: 'tool',
|
|
id: number,
|
|
name: string,
|
|
}
|
|
|
|
export type EnemyDropDto = {
|
|
difficulty: string,
|
|
episode: number,
|
|
sectionId: string,
|
|
enemy: string,
|
|
itemTypeId: number,
|
|
dropRate: number,
|
|
rareRate: number,
|
|
}
|
|
|
|
export type BoxDropDto = {
|
|
difficulty: string,
|
|
episode: number,
|
|
sectionId: string,
|
|
areaId: number,
|
|
itemTypeId: number,
|
|
dropRate: number,
|
|
}
|