@pkmn/sim 0.10.9 → 0.10.11

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 (87) hide show
  1. package/build/cjs/config/formats.js +115 -167
  2. package/build/cjs/config/formats.js.map +1 -1
  3. package/build/cjs/data/abilities.js +35 -0
  4. package/build/cjs/data/abilities.js.map +1 -1
  5. package/build/cjs/data/aliases.js +4 -7
  6. package/build/cjs/data/aliases.js.map +1 -1
  7. package/build/cjs/data/formats-data.js +11 -7
  8. package/build/cjs/data/formats-data.js.map +1 -1
  9. package/build/cjs/data/learnsets.js +26 -0
  10. package/build/cjs/data/learnsets.js.map +1 -1
  11. package/build/cjs/data/mods/gen1/formats-data.js +1 -1
  12. package/build/cjs/data/mods/gen2/moves.js +34 -7
  13. package/build/cjs/data/mods/gen2/moves.js.map +1 -1
  14. package/build/cjs/data/mods/gen3/formats-data.js +1 -1
  15. package/build/cjs/data/mods/gen3/formats-data.js.map +1 -1
  16. package/build/cjs/data/mods/gen8/formats-data.js +41 -41
  17. package/build/cjs/data/mods/gen8/formats-data.js.map +1 -1
  18. package/build/cjs/data/moves.js +2 -4
  19. package/build/cjs/data/moves.js.map +1 -1
  20. package/build/cjs/data/pokedex.js +23 -11
  21. package/build/cjs/data/pokedex.js.map +1 -1
  22. package/build/cjs/data/tags.js +6 -6
  23. package/build/cjs/data/tags.js.map +1 -1
  24. package/build/cjs/data/text/abilities.js +16 -0
  25. package/build/cjs/data/text/abilities.js.map +1 -1
  26. package/build/cjs/data/text/items.js +3 -0
  27. package/build/cjs/data/text/items.js.map +1 -1
  28. package/build/cjs/data/text/moves.js +46 -0
  29. package/build/cjs/data/text/moves.js.map +1 -1
  30. package/build/cjs/sim/battle.js +1 -1
  31. package/build/cjs/sim/battle.js.map +1 -1
  32. package/build/cjs/sim/dex-formats.js +1 -1
  33. package/build/cjs/sim/dex-formats.js.map +1 -1
  34. package/build/cjs/sim/dex-species.js +1 -1
  35. package/build/cjs/sim/dex-species.js.map +1 -1
  36. package/build/cjs/sim/exported-global-types.d.ts +2 -1
  37. package/build/cjs/sim/global-types.d.ts +2 -1
  38. package/build/cjs/sim/pokemon.js +18 -14
  39. package/build/cjs/sim/pokemon.js.map +1 -1
  40. package/build/cjs/sim/team-validator.js +9 -8
  41. package/build/cjs/sim/team-validator.js.map +1 -1
  42. package/build/cjs/sim/teams.js +1 -0
  43. package/build/cjs/sim/teams.js.map +1 -1
  44. package/build/esm/config/formats.mjs +115 -167
  45. package/build/esm/config/formats.mjs.map +1 -1
  46. package/build/esm/data/abilities.mjs +35 -0
  47. package/build/esm/data/abilities.mjs.map +1 -1
  48. package/build/esm/data/aliases.mjs +4 -7
  49. package/build/esm/data/aliases.mjs.map +1 -1
  50. package/build/esm/data/formats-data.mjs +11 -7
  51. package/build/esm/data/formats-data.mjs.map +1 -1
  52. package/build/esm/data/learnsets.mjs +26 -0
  53. package/build/esm/data/learnsets.mjs.map +1 -1
  54. package/build/esm/data/mods/gen1/formats-data.mjs +1 -1
  55. package/build/esm/data/mods/gen2/moves.mjs +34 -7
  56. package/build/esm/data/mods/gen2/moves.mjs.map +1 -1
  57. package/build/esm/data/mods/gen3/formats-data.mjs +1 -1
  58. package/build/esm/data/mods/gen3/formats-data.mjs.map +1 -1
  59. package/build/esm/data/mods/gen8/formats-data.mjs +41 -41
  60. package/build/esm/data/mods/gen8/formats-data.mjs.map +1 -1
  61. package/build/esm/data/moves.mjs +2 -4
  62. package/build/esm/data/moves.mjs.map +1 -1
  63. package/build/esm/data/pokedex.mjs +23 -11
  64. package/build/esm/data/pokedex.mjs.map +1 -1
  65. package/build/esm/data/tags.mjs +6 -6
  66. package/build/esm/data/tags.mjs.map +1 -1
  67. package/build/esm/data/text/abilities.mjs +16 -0
  68. package/build/esm/data/text/abilities.mjs.map +1 -1
  69. package/build/esm/data/text/items.mjs +3 -0
  70. package/build/esm/data/text/items.mjs.map +1 -1
  71. package/build/esm/data/text/moves.mjs +46 -0
  72. package/build/esm/data/text/moves.mjs.map +1 -1
  73. package/build/esm/sim/battle.mjs +1 -1
  74. package/build/esm/sim/battle.mjs.map +1 -1
  75. package/build/esm/sim/dex-formats.mjs +1 -1
  76. package/build/esm/sim/dex-formats.mjs.map +1 -1
  77. package/build/esm/sim/dex-species.mjs +1 -1
  78. package/build/esm/sim/dex-species.mjs.map +1 -1
  79. package/build/esm/sim/exported-global-types.d.mts +2 -1
  80. package/build/esm/sim/global-types.d.mts +2 -1
  81. package/build/esm/sim/pokemon.mjs +18 -14
  82. package/build/esm/sim/pokemon.mjs.map +1 -1
  83. package/build/esm/sim/team-validator.mjs +9 -8
  84. package/build/esm/sim/team-validator.mjs.map +1 -1
  85. package/build/esm/sim/teams.mjs +1 -0
  86. package/build/esm/sim/teams.mjs.map +1 -1
  87. package/package.json +2 -2
@@ -431,6 +431,10 @@ exports.MovesText = {
431
431
  name: "Belch",
432
432
  desc: "This move cannot be selected until the user eats a Berry, either by eating one that was held, stealing and eating one off another Pokemon with Bug Bite or Pluck, or eating one that was thrown at it with Fling. Once the condition is met, this move can be selected and used for the rest of the battle even if the user gains or uses another item or switches out. Consuming a Berry with Natural Gift does not count for the purposes of eating one.",
433
433
  shortDesc: "Cannot be selected until the user eats a Berry.",
434
+ champions: {
435
+ desc: "Fails unless the user has eaten a Berry, either by eating one that was held, stealing and eating one off another Pokemon with Bug Bite or Pluck, or eating one that was thrown at it with Fling. Consuming a Berry with Natural Gift does not count for the purposes of eating one.",
436
+ shortDesc: "Fails unless the user has eaten a Berry.",
437
+ },
434
438
  },
435
439
  bellydrum: {
436
440
  name: "Belly Drum",
@@ -1367,6 +1371,10 @@ exports.MovesText = {
1367
1371
  name: "Dire Claw",
1368
1372
  desc: "Has a 50% chance to cause the target to either fall asleep, become poisoned, or become paralyzed.",
1369
1373
  shortDesc: "50% chance to sleep, poison, or paralyze target.",
1374
+ champions: {
1375
+ desc: "Has a 30% chance to cause the target to either fall asleep, become poisoned, or become paralyzed.",
1376
+ shortDesc: "30% chance to sleep, poison, or paralyze target.",
1377
+ },
1370
1378
  },
1371
1379
  disable: {
1372
1380
  name: "Disable",
@@ -1898,6 +1906,9 @@ exports.MovesText = {
1898
1906
  name: "Fake Out",
1899
1907
  desc: "Has a 100% chance to make the target flinch. Fails unless it is the user's first turn on the field.",
1900
1908
  shortDesc: "Hits first. First turn out only. 100% flinch chance.",
1909
+ champions: {
1910
+ desc: "Has a 100% chance to make the target flinch. This move cannot be selected unless it is the user's first turn on the field.",
1911
+ },
1901
1912
  },
1902
1913
  faketears: {
1903
1914
  name: "Fake Tears",
@@ -2039,6 +2050,9 @@ exports.MovesText = {
2039
2050
  name: "First Impression",
2040
2051
  desc: "Fails unless it is the user's first turn on the field.",
2041
2052
  shortDesc: "Nearly always goes first. First turn out only.",
2053
+ champions: {
2054
+ desc: "This move cannot be selected unless it is the user's first turn on the field.",
2055
+ },
2042
2056
  },
2043
2057
  fishiousrend: {
2044
2058
  name: "Fishious Rend",
@@ -2266,6 +2280,10 @@ exports.MovesText = {
2266
2280
  name: "Freeze-Dry",
2267
2281
  desc: "Has a 10% chance to freeze the target. This move's type effectiveness against Water is changed to be super effective no matter what this move's type is.",
2268
2282
  shortDesc: "10% chance to freeze. Super effective on Water.",
2283
+ champions: {
2284
+ desc: "This move's type effectiveness against Water is changed to be super effective no matter what this move's type is.",
2285
+ shortDesc: "Super effective on Water.",
2286
+ },
2269
2287
  },
2270
2288
  freezeshock: {
2271
2289
  name: "Freeze Shock",
@@ -3326,6 +3344,10 @@ exports.MovesText = {
3326
3344
  name: "Iron Head",
3327
3345
  desc: "Has a 30% chance to make the target flinch.",
3328
3346
  shortDesc: "30% chance to make the target flinch.",
3347
+ champions: {
3348
+ desc: "Has a 20% chance to make the target flinch.",
3349
+ shortDesc: "20% chance to make the target flinch.",
3350
+ },
3329
3351
  },
3330
3352
  irontail: {
3331
3353
  name: "Iron Tail",
@@ -3740,6 +3762,10 @@ exports.MovesText = {
3740
3762
  name: "Make It Rain",
3741
3763
  desc: "Lowers the user's Special Attack by 1 stage.",
3742
3764
  shortDesc: "Lowers the user's Sp. Atk by 1. Hits foe(s).",
3765
+ champions: {
3766
+ desc: "Lowers the user's Special Attack by 2 stages.",
3767
+ shortDesc: "Lowers the user's Sp. Atk by 2. Hits foe(s).",
3768
+ },
3743
3769
  activate: "#payday",
3744
3770
  },
3745
3771
  maliciousmoonsault: {
@@ -4184,6 +4210,10 @@ exports.MovesText = {
4184
4210
  name: "Moonblast",
4185
4211
  desc: "Has a 30% chance to lower the target's Special Attack by 1 stage.",
4186
4212
  shortDesc: "30% chance to lower the target's Sp. Atk by 1.",
4213
+ champions: {
4214
+ desc: "Has a 10% chance to lower the target's Special Attack by 1 stage.",
4215
+ shortDesc: "10% chance to lower the target's Sp. Atk by 1.",
4216
+ },
4187
4217
  },
4188
4218
  moongeistbeam: {
4189
4219
  name: "Moongeist Beam",
@@ -4969,6 +4999,10 @@ exports.MovesText = {
4969
4999
  name: "Rage Fist",
4970
5000
  desc: "Power is equal to 50+(X*50), where X is the total number of times the user has been hit by a damaging attack during the battle, even if the user did not lose HP from the attack. X cannot be greater than 6 and does not reset upon switching out or fainting. Each hit of a multi-hit attack is counted, but confusion damage is not counted.",
4971
5001
  shortDesc: "+50 power for each time user was hit. Max 6 hits.",
5002
+ champions: {
5003
+ desc: "Power is equal to 50+(X*50), where X is the total number of times the user has been hit by a damaging attack during the battle, even if the user did not lose HP from the attack. X cannot be greater than 6 and resets to 0 when the user leaves the field. Each hit of a multi-hit attack is counted, but confusion damage is not counted.",
5004
+ shortDesc: "+50 BP/hit on user. Max 6 hits. Resets on switch-out.",
5005
+ },
4972
5006
  },
4973
5007
  ragepowder: {
4974
5008
  name: "Rage Powder",
@@ -5354,6 +5388,10 @@ exports.MovesText = {
5354
5388
  name: "Salt Cure",
5355
5389
  desc: "Causes damage to the target equal to 1/8 of its maximum HP (1/4 if the target is Steel or Water type), rounded down, at the end of each turn during effect. This effect ends when the target is no longer active.",
5356
5390
  shortDesc: "Deals 1/8 max HP each turn; 1/4 on Steel, Water.",
5391
+ champions: {
5392
+ desc: "Causes damage to the target equal to 1/16 of its maximum HP (1/8 if the target is Steel or Water type), rounded down, at the end of each turn during effect. This effect ends when the target is no longer active.",
5393
+ shortDesc: "Deals 1/16 max HP each turn; 1/8 on Steel, Water.",
5394
+ },
5357
5395
  start: " [POKEMON] is being salt cured!",
5358
5396
  damage: " [POKEMON] is hurt by Salt Cure!",
5359
5397
  },
@@ -6318,6 +6356,10 @@ exports.MovesText = {
6318
6356
  name: "Stuff Cheeks",
6319
6357
  desc: "This move cannot be selected unless the user is holding a Berry. The user eats its Berry and raises its Defense by 2 stages. This effect is not prevented by the Klutz or Unnerve Abilities, or the effects of Embargo or Magic Room. Fails if the user is not holding a Berry.",
6320
6358
  shortDesc: "Must hold Berry to use. User eats Berry, Def +2.",
6359
+ champions: {
6360
+ desc: "Fails if the user is not holding a Berry. The user eats its Berry and raises its Defense by 2 stages. This effect is not prevented by the Klutz or Unnerve Abilities, or the effects of Embargo or Magic Room.",
6361
+ shortDesc: "Fails unless a Berry is held. User eats Berry, Def +2.",
6362
+ },
6321
6363
  },
6322
6364
  stunspore: {
6323
6365
  name: "Stun Spore",
@@ -6887,6 +6929,10 @@ exports.MovesText = {
6887
6929
  name: "Toxic Thread",
6888
6930
  desc: "Lowers the target's Speed by 1 stage and poisons it.",
6889
6931
  shortDesc: "Lowers the target's Speed by 1 and poisons it.",
6932
+ champions: {
6933
+ desc: "Lowers the target's Speed by 2 stages and poisons it.",
6934
+ shortDesc: "Lowers the target's Speed by 2 and poisons it.",
6935
+ },
6890
6936
  },
6891
6937
  trailblaze: {
6892
6938
  name: "Trailblaze",