2019-06-20 20:06:11 +08:00
|
|
|
export type ItemTypeDto = WeaponItemTypeDto
|
|
|
|
| ArmorItemTypeDto
|
|
|
|
| ShieldItemTypeDto
|
|
|
|
| UnitItemTypeDto
|
|
|
|
| ToolItemTypeDto
|
2019-06-11 20:34:57 +08:00
|
|
|
|
2019-06-20 20:06:11 +08:00
|
|
|
export type WeaponItemTypeDto = {
|
|
|
|
class: 'weapon',
|
2019-06-20 04:14:48 +08:00
|
|
|
id: number,
|
|
|
|
name: string,
|
|
|
|
minAtp: number,
|
|
|
|
maxAtp: number,
|
|
|
|
ata: number,
|
|
|
|
maxGrind: number,
|
|
|
|
requiredAtp: number,
|
|
|
|
}
|
|
|
|
|
2019-06-20 20:06:11 +08:00
|
|
|
export type ArmorItemTypeDto = {
|
|
|
|
class: 'armor',
|
2019-06-20 04:14:48 +08:00
|
|
|
id: number,
|
|
|
|
name: string,
|
2019-06-21 00:11:36 +08:00
|
|
|
atp: number,
|
|
|
|
ata: number,
|
|
|
|
minEvp: number,
|
|
|
|
maxEvp: number,
|
|
|
|
minDfp: number,
|
|
|
|
maxDfp: number,
|
|
|
|
mst: number,
|
|
|
|
hp: number,
|
|
|
|
lck: number,
|
2019-06-20 04:14:48 +08:00
|
|
|
}
|
|
|
|
|
2019-06-20 20:06:11 +08:00
|
|
|
export type ShieldItemTypeDto = {
|
|
|
|
class: 'shield',
|
2019-06-20 04:14:48 +08:00
|
|
|
id: number,
|
|
|
|
name: string,
|
2019-06-21 00:11:36 +08:00
|
|
|
atp: number,
|
|
|
|
ata: number,
|
|
|
|
minEvp: number,
|
|
|
|
maxEvp: number,
|
|
|
|
minDfp: number,
|
|
|
|
maxDfp: number,
|
|
|
|
mst: number,
|
|
|
|
hp: number,
|
|
|
|
lck: number,
|
2019-06-20 04:14:48 +08:00
|
|
|
}
|
|
|
|
|
2019-06-20 20:06:11 +08:00
|
|
|
export type UnitItemTypeDto = {
|
|
|
|
class: 'unit',
|
2019-06-20 04:14:48 +08:00
|
|
|
id: number,
|
|
|
|
name: string,
|
|
|
|
}
|
|
|
|
|
2019-06-20 20:06:11 +08:00
|
|
|
export type ToolItemTypeDto = {
|
|
|
|
class: 'tool',
|
2019-06-20 04:14:48 +08:00
|
|
|
id: number,
|
2019-06-11 20:34:57 +08:00
|
|
|
name: string,
|
|
|
|
}
|
|
|
|
|
|
|
|
export type EnemyDropDto = {
|
2019-06-20 04:14:48 +08:00
|
|
|
difficulty: string,
|
2019-06-11 20:34:57 +08:00
|
|
|
episode: number,
|
2019-06-20 04:14:48 +08:00
|
|
|
sectionId: string,
|
2019-06-11 20:34:57 +08:00
|
|
|
enemy: string,
|
2019-06-20 20:06:11 +08:00
|
|
|
itemTypeId: number,
|
2019-06-11 20:34:57 +08:00
|
|
|
dropRate: number,
|
|
|
|
rareRate: number,
|
|
|
|
}
|
|
|
|
|
|
|
|
export type BoxDropDto = {
|
2019-06-20 04:14:48 +08:00
|
|
|
difficulty: string,
|
2019-06-11 20:34:57 +08:00
|
|
|
episode: number,
|
2019-06-20 04:14:48 +08:00
|
|
|
sectionId: string,
|
|
|
|
areaId: number,
|
2019-06-20 20:06:11 +08:00
|
|
|
itemTypeId: number,
|
2019-06-11 20:34:57 +08:00
|
|
|
dropRate: number,
|
|
|
|
}
|
2019-06-22 06:27:04 +08:00
|
|
|
|
|
|
|
export type QuestDto = {
|
|
|
|
id: number,
|
|
|
|
name: string,
|
|
|
|
episode: 1 | 2 | 4,
|
|
|
|
enemyCounts: { [npcTypeCode: string]: number },
|
|
|
|
}
|