Revamp evolution tables (#4997)

This commit is contained in:
Russell Jones
2019-02-15 05:51:17 +00:00
committed by Guangcong Luo
parent df764e971a
commit fdcfcb02db
3 changed files with 1211 additions and 224 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -117,13 +117,14 @@ type PokemonSources = {
type EventInfo = {
generation: number,
level?: number,
shiny?: true | 1,
shiny?: boolean | 1,
gender?: GenderName,
nature?: string,
ivs?: SparseStatsTable,
perfectIVs?: number,
isHidden?: boolean,
abilities?: string[],
maxEggMoves?: number,
moves?: string[],
pokeball?: string,
from?: string,
@@ -558,6 +559,7 @@ type TemplateAbility = {0: string, 1?: string, H?: string, S?: string}
interface TemplateData {
abilities: TemplateAbility
baseStats: StatsTable
canHatch?: boolean
color: string
eggGroups: string[]
heightm: number
@@ -570,6 +572,7 @@ interface TemplateData {
evoLevel?: number
evoMove?: string
evos?: string[]
evoType?: 'trade' | 'stone' | 'levelMove' | 'levelExtra'
forme?: string
formeLetter?: string
gender?: GenderName
@@ -588,6 +591,7 @@ interface TemplateFormatsData {
battleOnly?: boolean
comboMoves?: string[]
doublesTier?: string
encounters?: EventInfo[]
essentialMove?: string
eventOnly?: boolean
eventPokemon?: EventInfo[]