2019-06-20 04:14:48 +08:00
|
|
|
export type ItemKindDto = WeaponItemKindDto
|
|
|
|
| ArmorItemKindDto
|
|
|
|
| ShieldItemKindDto
|
|
|
|
| UnitItemKindDto
|
|
|
|
| ToolItemKindDto
|
2019-06-11 20:34:57 +08:00
|
|
|
|
2019-06-20 04:14:48 +08:00
|
|
|
export type WeaponItemKindDto = {
|
|
|
|
type: 'weapon',
|
|
|
|
id: number,
|
|
|
|
name: string,
|
|
|
|
minAtp: number,
|
|
|
|
maxAtp: number,
|
|
|
|
ata: number,
|
|
|
|
maxGrind: number,
|
|
|
|
requiredAtp: number,
|
|
|
|
}
|
|
|
|
|
|
|
|
export type ArmorItemKindDto = {
|
|
|
|
type: 'armor',
|
|
|
|
id: number,
|
|
|
|
name: string,
|
|
|
|
}
|
|
|
|
|
|
|
|
export type ShieldItemKindDto = {
|
|
|
|
type: 'shield',
|
|
|
|
id: number,
|
|
|
|
name: string,
|
|
|
|
}
|
|
|
|
|
|
|
|
export type UnitItemKindDto = {
|
|
|
|
type: 'unit',
|
|
|
|
id: number,
|
|
|
|
name: string,
|
|
|
|
}
|
|
|
|
|
|
|
|
export type ToolItemKindDto = {
|
|
|
|
type: 'tool',
|
|
|
|
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 04:14:48 +08:00
|
|
|
itemKindId: 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,
|
|
|
|
itemKindId: number,
|
2019-06-11 20:34:57 +08:00
|
|
|
dropRate: number,
|
|
|
|
}
|