@pkmn/dex-types 0.10.7 → 0.10.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +8 -7
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -114,7 +114,8 @@ interface MoveFlags {
|
|
|
114
114
|
futuremove?: 1 | 0;
|
|
115
115
|
gravity?: 1 | 0;
|
|
116
116
|
heal?: 1 | 0;
|
|
117
|
-
metronome?: 1;
|
|
117
|
+
metronome?: 1 | 0;
|
|
118
|
+
mminimize?: 1 | 0;
|
|
118
119
|
mirror?: 1 | 0;
|
|
119
120
|
mustpressure?: 1 | 0;
|
|
120
121
|
noassist?: 1 | 0;
|
|
@@ -185,7 +186,7 @@ export interface MoveData extends EffectData, HitEffect {
|
|
|
185
186
|
|
|
186
187
|
ohko?: boolean | 'Ice';
|
|
187
188
|
thawsTarget?: boolean;
|
|
188
|
-
heal?: number[]
|
|
189
|
+
heal?: number[];
|
|
189
190
|
forceSwitch?: boolean;
|
|
190
191
|
selfSwitch?: 'copyvolatile' | 'shedtail' | boolean;
|
|
191
192
|
selfBoost?: {boosts?: Partial<BoostsTable>};
|
|
@@ -195,9 +196,9 @@ export interface MoveData extends EffectData, HitEffect {
|
|
|
195
196
|
drain?: [number, number];
|
|
196
197
|
mindBlownRecoil?: boolean;
|
|
197
198
|
stealsBoosts?: boolean;
|
|
198
|
-
secondary?: SecondaryEffect
|
|
199
|
-
secondaries?: SecondaryEffect[]
|
|
200
|
-
self?: HitEffect
|
|
199
|
+
secondary?: SecondaryEffect;
|
|
200
|
+
secondaries?: SecondaryEffect[];
|
|
201
|
+
self?: HitEffect;
|
|
201
202
|
struggleRecoil?: boolean;
|
|
202
203
|
|
|
203
204
|
alwaysHit?: boolean;
|
|
@@ -235,7 +236,7 @@ export interface MoveData extends EffectData, HitEffect {
|
|
|
235
236
|
callsMove?: boolean;
|
|
236
237
|
|
|
237
238
|
hasCrashDamage?: boolean;
|
|
238
|
-
|
|
239
|
+
hasSheerForceBoost?: boolean;
|
|
239
240
|
isConfusionSelfHit?: boolean;
|
|
240
241
|
stallingMove?: boolean;
|
|
241
242
|
}
|
|
@@ -383,7 +384,7 @@ export interface Item extends Readonly<BasicEffect<ItemName> & ItemData> {
|
|
|
383
384
|
export interface Move extends Readonly<BasicEffect<MoveName> & MoveData> {
|
|
384
385
|
readonly effectType: 'Move';
|
|
385
386
|
readonly kind: 'Move';
|
|
386
|
-
readonly secondaries: SecondaryEffect[]
|
|
387
|
+
readonly secondaries: SecondaryEffect[];
|
|
387
388
|
readonly flags: MoveFlags;
|
|
388
389
|
readonly zMoveEffect?: ID;
|
|
389
390
|
readonly isZ: boolean | ID;
|