mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-09-10 02:05:35 -05:00
Typescript info (#6670)
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -591,6 +591,11 @@ export class Species extends BasicEffect implements Readonly<BasicEffect & Speci
|
||||
/** Evolutions. Array because many Pokemon have multiple evolutions. */
|
||||
readonly evos: ID[];
|
||||
readonly evoType?: 'trade' | 'useItem' | 'levelMove' | 'levelExtra' | 'levelFriendship' | 'levelHold' | 'other';
|
||||
/** Evolution condition. falsy if doesn't evolve. */
|
||||
readonly evoCondition?: string;
|
||||
/** Evolution item. falsy if doesn't evolve. */
|
||||
readonly evoItem?: string;
|
||||
/** Evolution move. falsy if doesn't evolve. */
|
||||
readonly evoMove?: string;
|
||||
/** Evolution level. falsy if doesn't evolve. */
|
||||
readonly evoLevel?: number;
|
||||
|
||||
@@ -82,8 +82,8 @@ const nullEffect: PureEffect = new Data.PureEffect({name: '', exists: false});
|
||||
|
||||
export interface Nature {
|
||||
name: string;
|
||||
plus?: keyof StatsTable;
|
||||
minus?: keyof StatsTable;
|
||||
plus?: StatNameExceptHP;
|
||||
minus?: StatNameExceptHP;
|
||||
[k: string]: any;
|
||||
}
|
||||
|
||||
|
||||
@@ -918,10 +918,8 @@ interface MoveData extends EffectData, MoveEventMethods, HitEffect {
|
||||
// Z-move data
|
||||
// -----------
|
||||
/**
|
||||
* `true` for generic Z-moves like Gigavolt Havoc.
|
||||
* Also `true` for Z-powered status moves like Z-Encore.
|
||||
* Move ID of the base move, for specific Z-moves like Stoked
|
||||
* Sparksurfer.
|
||||
* ID of the Z-Crystal that calls the move.
|
||||
* `true` for Z-Powered status moves like Z-Encore.
|
||||
*/
|
||||
isZ?: boolean | string;
|
||||
zMove?: {
|
||||
|
||||
Reference in New Issue
Block a user