@pkmn/sim 0.5.1 → 0.5.2
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/config/formats.js +76 -70
- package/build/config/formats.js.map +1 -1
- package/build/data/abilities.js +5 -1
- package/build/data/abilities.js.map +1 -1
- package/build/data/formats-data.js +2 -2
- package/build/data/formats-data.js.map +1 -1
- package/build/data/items.js +5 -5
- package/build/data/items.js.map +1 -1
- package/build/data/mods/gen2/formats-data.js +1 -1
- package/build/data/mods/gen2/formats-data.js.map +1 -1
- package/build/data/moves.js +3 -1
- package/build/data/moves.js.map +1 -1
- package/build/data/pokedex.js +2 -2
- package/build/data/rulesets.js +39 -5
- package/build/data/rulesets.js.map +1 -1
- package/build/data/text/moves.js +1 -1
- package/build/data/text/moves.js.map +1 -1
- package/build/sim/pokemon.js +1 -1
- package/build/sim/pokemon.js.map +1 -1
- package/build/sim/team-validator.js +3 -0
- package/build/sim/team-validator.js.map +1 -1
- package/config/formats.ts +74 -68
- package/data/abilities.ts +3 -1
- package/data/formats-data.ts +2 -2
- package/data/items.ts +5 -5
- package/data/mods/gen2/formats-data.ts +1 -1
- package/data/moves.ts +3 -1
- package/data/pokedex.ts +2 -2
- package/data/rulesets.ts +35 -6
- package/data/text/moves.ts +1 -1
- package/package.json +1 -1
- package/sim/pokemon.ts +1 -1
- package/sim/team-validator.ts +3 -0
package/build/data/items.js
CHANGED
|
@@ -1301,7 +1301,7 @@ exports.Items = {
|
|
|
1301
1301
|
fling: {
|
|
1302
1302
|
basePower: 30,
|
|
1303
1303
|
},
|
|
1304
|
-
num:
|
|
1304
|
+
num: 235,
|
|
1305
1305
|
gen: 2,
|
|
1306
1306
|
},
|
|
1307
1307
|
dragoniumz: {
|
|
@@ -3251,7 +3251,7 @@ exports.Items = {
|
|
|
3251
3251
|
if (this.activeMove.id !== 'knockoff' && this.activeMove.id !== 'thief' && this.activeMove.id !== 'covet')
|
|
3252
3252
|
return false;
|
|
3253
3253
|
},
|
|
3254
|
-
num:
|
|
3254
|
+
num: 137,
|
|
3255
3255
|
gen: 2,
|
|
3256
3256
|
isNonstandard: "Past",
|
|
3257
3257
|
},
|
|
@@ -7224,19 +7224,19 @@ exports.Items = {
|
|
|
7224
7224
|
},
|
|
7225
7225
|
onBasePowerPriority: 15,
|
|
7226
7226
|
onBasePower(basePower, user, target, move) {
|
|
7227
|
-
if (user.baseSpecies.num === -
|
|
7227
|
+
if (user.baseSpecies.num === -66 && ['Poison', 'Flying'].includes(move.type)) {
|
|
7228
7228
|
return this.chainModify([4915, 4096]);
|
|
7229
7229
|
}
|
|
7230
7230
|
},
|
|
7231
7231
|
onTakeItem(item, pokemon, source) {
|
|
7232
|
-
if (source?.baseSpecies.num === -
|
|
7232
|
+
if (source?.baseSpecies.num === -66 || pokemon.baseSpecies.num === -66) {
|
|
7233
7233
|
return false;
|
|
7234
7234
|
}
|
|
7235
7235
|
return true;
|
|
7236
7236
|
},
|
|
7237
7237
|
forcedForme: "Venomicon-Epilogue",
|
|
7238
7238
|
itemUser: ["Venomicon-Epilogue"],
|
|
7239
|
-
num:
|
|
7239
|
+
num: -2,
|
|
7240
7240
|
gen: 8,
|
|
7241
7241
|
isNonstandard: "CAP",
|
|
7242
7242
|
},
|