Refactor elfs data

This commit is contained in:
Sakura Knoll
2022-07-04 15:51:52 +09:00 Unverified
parent 91b45512ee
commit fd0be46e25
5 changed files with 57 additions and 98 deletions
-3
View File
@@ -1,16 +1,13 @@
export interface ElfSkill {
type: 'passive' | 'basic' | 'ultimate' | 'team'
name: string
krName?: string
requiredRank: number
description: string
krDescription?: string
}
export interface ElfData {
id: string
name: string
krName?: string
baseRank: number
features: string[]
skillRows: [ElfSkill[], ElfSkill[], ElfSkill[], ElfSkill[]]