@pkmn/sim 0.4.24 → 0.5.1

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 (46) hide show
  1. package/build/config/formats.js +171 -109
  2. package/build/config/formats.js.map +1 -1
  3. package/build/data/aliases.js +2 -2
  4. package/build/data/aliases.js.map +1 -1
  5. package/build/data/conditions.js +1 -0
  6. package/build/data/conditions.js.map +1 -1
  7. package/build/data/formats-data.js +14 -6
  8. package/build/data/formats-data.js.map +1 -1
  9. package/build/data/items.js +24 -0
  10. package/build/data/items.js.map +1 -1
  11. package/build/data/learnsets.js +34 -0
  12. package/build/data/learnsets.js.map +1 -1
  13. package/build/data/mods/gen2/formats-data.js +2 -2
  14. package/build/data/mods/gen2/formats-data.js.map +1 -1
  15. package/build/data/mods/gen3/formats-data.js +1 -1
  16. package/build/data/mods/gen3/formats-data.js.map +1 -1
  17. package/build/data/mods/gen6/pokedex.js +17 -17
  18. package/build/data/mods/gen6/pokedex.js.map +1 -1
  19. package/build/data/moves.js +1 -0
  20. package/build/data/moves.js.map +1 -1
  21. package/build/data/pokedex.js +33 -0
  22. package/build/data/pokedex.js.map +1 -1
  23. package/build/data/text/items.js +4 -0
  24. package/build/data/text/items.js.map +1 -1
  25. package/build/sim/battle-actions.js +1 -1
  26. package/build/sim/battle-actions.js.map +1 -1
  27. package/build/sim/dex-formats.js +1 -1
  28. package/build/sim/dex-formats.js.map +1 -1
  29. package/build/sim/dex-species.js +4 -3
  30. package/build/sim/dex-species.js.map +1 -1
  31. package/config/formats.ts +177 -112
  32. package/data/aliases.ts +2 -2
  33. package/data/conditions.ts +1 -0
  34. package/data/formats-data.ts +14 -6
  35. package/data/items.ts +24 -0
  36. package/data/learnsets.ts +34 -0
  37. package/data/mods/gen2/formats-data.ts +2 -2
  38. package/data/mods/gen3/formats-data.ts +1 -1
  39. package/data/mods/gen6/pokedex.ts +17 -17
  40. package/data/moves.ts +1 -0
  41. package/data/pokedex.ts +33 -0
  42. package/data/text/items.ts +4 -0
  43. package/package.json +1 -1
  44. package/sim/battle-actions.ts +1 -1
  45. package/sim/dex-formats.ts +1 -1
  46. package/sim/dex-species.ts +4 -3
@@ -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 === -67 && ['Poison', 'Flying'].includes(move.type)) {
7228
+ return this.chainModify([4915, 4096]);
7229
+ }
7230
+ },
7231
+ onTakeItem(item, pokemon, source) {
7232
+ if (source?.baseSpecies.num === -67 || pokemon.baseSpecies.num === -67) {
7233
+ return false;
7234
+ }
7235
+ return true;
7236
+ },
7237
+ forcedForme: "Venomicon-Epilogue",
7238
+ itemUser: ["Venomicon-Epilogue"],
7239
+ num: 112,
7240
+ gen: 8,
7241
+ isNonstandard: "CAP",
7242
+ },
7219
7243
  };
7220
7244
  //# sourceMappingURL=items.js.map