@pkmn/dex 0.4.18 → 0.4.22
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/build/data/abilities.json +1 -0
- package/build/data/aliases.json +4 -4
- package/build/data/formats-data.json +42 -37
- package/build/data/learnsets.json +2362 -1755
- package/build/data/moves.json +46 -18
- package/build/data/species.json +102 -1
- package/build/index.d.ts +4 -3
- package/build/index.js.map +1 -1
- package/build/learnsets.min.js +1 -1
- package/build/production.min.js +1 -1
- package/index.ts +4 -3
- package/package.json +2 -2
package/index.ts
CHANGED
|
@@ -375,7 +375,10 @@ export class Move extends BasicEffect<T.MoveName> implements T.Move {
|
|
|
375
375
|
readonly basePowerModifier?: number;
|
|
376
376
|
readonly critModifier?: number;
|
|
377
377
|
readonly critRatio?: number;
|
|
378
|
-
readonly
|
|
378
|
+
readonly overrideOffensivePokemon?: 'target' | 'source';
|
|
379
|
+
readonly overrideOffensiveStat?: Exclude<T.StatID, 'hp'>;
|
|
380
|
+
readonly overrideDefensivePokemon?: 'target' | 'source';
|
|
381
|
+
readonly overrideDefensiveStat?: Exclude<T.StatID, 'hp'>;
|
|
379
382
|
readonly forceSTAB?: boolean;
|
|
380
383
|
readonly ignoreAbility?: boolean;
|
|
381
384
|
readonly ignoreAccuracy?: boolean;
|
|
@@ -398,8 +401,6 @@ export class Move extends BasicEffect<T.MoveName> implements T.Move {
|
|
|
398
401
|
readonly smartTarget?: boolean;
|
|
399
402
|
readonly spreadModifier?: number;
|
|
400
403
|
readonly tracksTarget?: boolean;
|
|
401
|
-
readonly useSourceDefensiveAsOffensive?: boolean;
|
|
402
|
-
readonly useTargetOffensive?: boolean;
|
|
403
404
|
readonly willCrit?: boolean;
|
|
404
405
|
|
|
405
406
|
readonly hasCrashDamage?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pkmn/dex",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.22",
|
|
4
4
|
"main": "build/index.js",
|
|
5
5
|
"types": "build/index.d.ts",
|
|
6
6
|
"unpkg": "build/production.min.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"index.ts"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@pkmn/dex-types": "^0.4.
|
|
19
|
+
"@pkmn/dex-types": "^0.4.22"
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
22
|
"lint": "eslint --cache *.ts",
|