@pkmn/sim 0.4.24 → 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 +238 -170
- 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/aliases.js +2 -2
- package/build/data/aliases.js.map +1 -1
- package/build/data/conditions.js +1 -0
- package/build/data/conditions.js.map +1 -1
- package/build/data/formats-data.js +16 -8
- package/build/data/formats-data.js.map +1 -1
- package/build/data/items.js +26 -2
- package/build/data/items.js.map +1 -1
- package/build/data/learnsets.js +34 -0
- package/build/data/learnsets.js.map +1 -1
- package/build/data/mods/gen2/formats-data.js +2 -2
- package/build/data/mods/gen2/formats-data.js.map +1 -1
- package/build/data/mods/gen3/formats-data.js +1 -1
- package/build/data/mods/gen3/formats-data.js.map +1 -1
- package/build/data/mods/gen6/pokedex.js +17 -17
- package/build/data/mods/gen6/pokedex.js.map +1 -1
- package/build/data/moves.js +4 -1
- package/build/data/moves.js.map +1 -1
- package/build/data/pokedex.js +33 -0
- package/build/data/pokedex.js.map +1 -1
- package/build/data/rulesets.js +39 -5
- package/build/data/rulesets.js.map +1 -1
- package/build/data/text/items.js +4 -0
- package/build/data/text/items.js.map +1 -1
- package/build/data/text/moves.js +1 -1
- package/build/data/text/moves.js.map +1 -1
- package/build/sim/battle-actions.js +1 -1
- package/build/sim/battle-actions.js.map +1 -1
- package/build/sim/dex-formats.js +1 -1
- package/build/sim/dex-formats.js.map +1 -1
- package/build/sim/dex-species.js +4 -3
- package/build/sim/dex-species.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 +242 -171
- package/data/abilities.ts +3 -1
- package/data/aliases.ts +2 -2
- package/data/conditions.ts +1 -0
- package/data/formats-data.ts +16 -8
- package/data/items.ts +26 -2
- package/data/learnsets.ts +34 -0
- package/data/mods/gen2/formats-data.ts +2 -2
- package/data/mods/gen3/formats-data.ts +1 -1
- package/data/mods/gen6/pokedex.ts +17 -17
- package/data/moves.ts +4 -1
- package/data/pokedex.ts +33 -0
- package/data/rulesets.ts +35 -6
- package/data/text/items.ts +4 -0
- package/data/text/moves.ts +1 -1
- package/package.json +1 -1
- package/sim/battle-actions.ts +1 -1
- package/sim/dex-formats.ts +1 -1
- package/sim/dex-species.ts +4 -3
- 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
|
},
|
|
@@ -7216,5 +7216,29 @@ exports.Items = {
|
|
|
7216
7216
|
gen: 6,
|
|
7217
7217
|
isNonstandard: "CAP",
|
|
7218
7218
|
},
|
|
7219
|
+
vilevial: {
|
|
7220
|
+
name: "Vile Vial",
|
|
7221
|
+
spritenum: 752,
|
|
7222
|
+
fling: {
|
|
7223
|
+
basePower: 60,
|
|
7224
|
+
},
|
|
7225
|
+
onBasePowerPriority: 15,
|
|
7226
|
+
onBasePower(basePower, user, target, move) {
|
|
7227
|
+
if (user.baseSpecies.num === -66 && ['Poison', 'Flying'].includes(move.type)) {
|
|
7228
|
+
return this.chainModify([4915, 4096]);
|
|
7229
|
+
}
|
|
7230
|
+
},
|
|
7231
|
+
onTakeItem(item, pokemon, source) {
|
|
7232
|
+
if (source?.baseSpecies.num === -66 || pokemon.baseSpecies.num === -66) {
|
|
7233
|
+
return false;
|
|
7234
|
+
}
|
|
7235
|
+
return true;
|
|
7236
|
+
},
|
|
7237
|
+
forcedForme: "Venomicon-Epilogue",
|
|
7238
|
+
itemUser: ["Venomicon-Epilogue"],
|
|
7239
|
+
num: -2,
|
|
7240
|
+
gen: 8,
|
|
7241
|
+
isNonstandard: "CAP",
|
|
7242
|
+
},
|
|
7219
7243
|
};
|
|
7220
7244
|
//# sourceMappingURL=items.js.map
|