@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.
Files changed (61) hide show
  1. package/build/config/formats.js +238 -170
  2. package/build/config/formats.js.map +1 -1
  3. package/build/data/abilities.js +5 -1
  4. package/build/data/abilities.js.map +1 -1
  5. package/build/data/aliases.js +2 -2
  6. package/build/data/aliases.js.map +1 -1
  7. package/build/data/conditions.js +1 -0
  8. package/build/data/conditions.js.map +1 -1
  9. package/build/data/formats-data.js +16 -8
  10. package/build/data/formats-data.js.map +1 -1
  11. package/build/data/items.js +26 -2
  12. package/build/data/items.js.map +1 -1
  13. package/build/data/learnsets.js +34 -0
  14. package/build/data/learnsets.js.map +1 -1
  15. package/build/data/mods/gen2/formats-data.js +2 -2
  16. package/build/data/mods/gen2/formats-data.js.map +1 -1
  17. package/build/data/mods/gen3/formats-data.js +1 -1
  18. package/build/data/mods/gen3/formats-data.js.map +1 -1
  19. package/build/data/mods/gen6/pokedex.js +17 -17
  20. package/build/data/mods/gen6/pokedex.js.map +1 -1
  21. package/build/data/moves.js +4 -1
  22. package/build/data/moves.js.map +1 -1
  23. package/build/data/pokedex.js +33 -0
  24. package/build/data/pokedex.js.map +1 -1
  25. package/build/data/rulesets.js +39 -5
  26. package/build/data/rulesets.js.map +1 -1
  27. package/build/data/text/items.js +4 -0
  28. package/build/data/text/items.js.map +1 -1
  29. package/build/data/text/moves.js +1 -1
  30. package/build/data/text/moves.js.map +1 -1
  31. package/build/sim/battle-actions.js +1 -1
  32. package/build/sim/battle-actions.js.map +1 -1
  33. package/build/sim/dex-formats.js +1 -1
  34. package/build/sim/dex-formats.js.map +1 -1
  35. package/build/sim/dex-species.js +4 -3
  36. package/build/sim/dex-species.js.map +1 -1
  37. package/build/sim/pokemon.js +1 -1
  38. package/build/sim/pokemon.js.map +1 -1
  39. package/build/sim/team-validator.js +3 -0
  40. package/build/sim/team-validator.js.map +1 -1
  41. package/config/formats.ts +242 -171
  42. package/data/abilities.ts +3 -1
  43. package/data/aliases.ts +2 -2
  44. package/data/conditions.ts +1 -0
  45. package/data/formats-data.ts +16 -8
  46. package/data/items.ts +26 -2
  47. package/data/learnsets.ts +34 -0
  48. package/data/mods/gen2/formats-data.ts +2 -2
  49. package/data/mods/gen3/formats-data.ts +1 -1
  50. package/data/mods/gen6/pokedex.ts +17 -17
  51. package/data/moves.ts +4 -1
  52. package/data/pokedex.ts +33 -0
  53. package/data/rulesets.ts +35 -6
  54. package/data/text/items.ts +4 -0
  55. package/data/text/moves.ts +1 -1
  56. package/package.json +1 -1
  57. package/sim/battle-actions.ts +1 -1
  58. package/sim/dex-formats.ts +1 -1
  59. package/sim/dex-species.ts +4 -3
  60. package/sim/pokemon.ts +1 -1
  61. package/sim/team-validator.ts +3 -0
@@ -1301,7 +1301,7 @@ exports.Items = {
1301
1301
  fling: {
1302
1302
  basePower: 30,
1303
1303
  },
1304
- num: 250,
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: 0,
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