Improve weapons.show and battlesuits.show pages

This commit is contained in:
Sakura Knoll
2022-03-21 19:28:54 +09:00 Unverified
parent fe212abac4
commit d9e2a7b3fa
7 changed files with 301 additions and 8 deletions
+12
View File
@@ -0,0 +1,12 @@
export type SourceType =
| 'pri-weapon-foundry'
| 'focused-supply'
| 'spirit-weapon-foundry'
| 'weapon-exchange'
| 'stigmata-exchange'
| 'dorm-equipment-supply'
| 'special-divine-key-supply'
export interface SourceData {
type: SourceType
}
+11
View File
@@ -1,3 +1,5 @@
import { SourceData } from './sources'
export interface WeaponSkill {
name: string
krName?: string
@@ -25,4 +27,13 @@ export interface WeaponData {
rarity: number
skills: WeaponSkill[]
version?: string
battlesuits?: {
id: string
suitability?: number
description?: string
descriptionKr?: string
}[]
priWeapon?: string
originalWeapons?: string[]
sources?: SourceData[]
}