@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
@@ -428,6 +428,10 @@ export const MovesText = {
428
428
  name: "Belch",
429
429
  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.",
430
430
  shortDesc: "Cannot be selected until the user eats a Berry.",
431
+ champions: {
432
+ 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.",
433
+ shortDesc: "Fails unless the user has eaten a Berry.",
434
+ },
431
435
  },
432
436
  bellydrum: {
433
437
  name: "Belly Drum",
@@ -1364,6 +1368,10 @@ export const MovesText = {
1364
1368
  name: "Dire Claw",
1365
1369
  desc: "Has a 50% chance to cause the target to either fall asleep, become poisoned, or become paralyzed.",
1366
1370
  shortDesc: "50% chance to sleep, poison, or paralyze target.",
1371
+ champions: {
1372
+ desc: "Has a 30% chance to cause the target to either fall asleep, become poisoned, or become paralyzed.",
1373
+ shortDesc: "30% chance to sleep, poison, or paralyze target.",
1374
+ },
1367
1375
  },
1368
1376
  disable: {
1369
1377
  name: "Disable",
@@ -1895,6 +1903,9 @@ export const MovesText = {
1895
1903
  name: "Fake Out",
1896
1904
  desc: "Has a 100% chance to make the target flinch. Fails unless it is the user's first turn on the field.",
1897
1905
  shortDesc: "Hits first. First turn out only. 100% flinch chance.",
1906
+ champions: {
1907
+ 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.",
1908
+ },
1898
1909
  },
1899
1910
  faketears: {
1900
1911
  name: "Fake Tears",
@@ -2036,6 +2047,9 @@ export const MovesText = {
2036
2047
  name: "First Impression",
2037
2048
  desc: "Fails unless it is the user's first turn on the field.",
2038
2049
  shortDesc: "Nearly always goes first. First turn out only.",
2050
+ champions: {
2051
+ desc: "This move cannot be selected unless it is the user's first turn on the field.",
2052
+ },
2039
2053
  },
2040
2054
  fishiousrend: {
2041
2055
  name: "Fishious Rend",
@@ -2263,6 +2277,10 @@ export const MovesText = {
2263
2277
  name: "Freeze-Dry",
2264
2278
  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.",
2265
2279
  shortDesc: "10% chance to freeze. Super effective on Water.",
2280
+ champions: {
2281
+ desc: "This move's type effectiveness against Water is changed to be super effective no matter what this move's type is.",
2282
+ shortDesc: "Super effective on Water.",
2283
+ },
2266
2284
  },
2267
2285
  freezeshock: {
2268
2286
  name: "Freeze Shock",
@@ -3323,6 +3341,10 @@ export const MovesText = {
3323
3341
  name: "Iron Head",
3324
3342
  desc: "Has a 30% chance to make the target flinch.",
3325
3343
  shortDesc: "30% chance to make the target flinch.",
3344
+ champions: {
3345
+ desc: "Has a 20% chance to make the target flinch.",
3346
+ shortDesc: "20% chance to make the target flinch.",
3347
+ },
3326
3348
  },
3327
3349
  irontail: {
3328
3350
  name: "Iron Tail",
@@ -3737,6 +3759,10 @@ export const MovesText = {
3737
3759
  name: "Make It Rain",
3738
3760
  desc: "Lowers the user's Special Attack by 1 stage.",
3739
3761
  shortDesc: "Lowers the user's Sp. Atk by 1. Hits foe(s).",
3762
+ champions: {
3763
+ desc: "Lowers the user's Special Attack by 2 stages.",
3764
+ shortDesc: "Lowers the user's Sp. Atk by 2. Hits foe(s).",
3765
+ },
3740
3766
  activate: "#payday",
3741
3767
  },
3742
3768
  maliciousmoonsault: {
@@ -4181,6 +4207,10 @@ export const MovesText = {
4181
4207
  name: "Moonblast",
4182
4208
  desc: "Has a 30% chance to lower the target's Special Attack by 1 stage.",
4183
4209
  shortDesc: "30% chance to lower the target's Sp. Atk by 1.",
4210
+ champions: {
4211
+ desc: "Has a 10% chance to lower the target's Special Attack by 1 stage.",
4212
+ shortDesc: "10% chance to lower the target's Sp. Atk by 1.",
4213
+ },
4184
4214
  },
4185
4215
  moongeistbeam: {
4186
4216
  name: "Moongeist Beam",
@@ -4966,6 +4996,10 @@ export const MovesText = {
4966
4996
  name: "Rage Fist",
4967
4997
  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.",
4968
4998
  shortDesc: "+50 power for each time user was hit. Max 6 hits.",
4999
+ champions: {
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 resets to 0 when the user leaves the field. Each hit of a multi-hit attack is counted, but confusion damage is not counted.",
5001
+ shortDesc: "+50 BP/hit on user. Max 6 hits. Resets on switch-out.",
5002
+ },
4969
5003
  },
4970
5004
  ragepowder: {
4971
5005
  name: "Rage Powder",
@@ -5351,6 +5385,10 @@ export const MovesText = {
5351
5385
  name: "Salt Cure",
5352
5386
  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.",
5353
5387
  shortDesc: "Deals 1/8 max HP each turn; 1/4 on Steel, Water.",
5388
+ champions: {
5389
+ 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.",
5390
+ shortDesc: "Deals 1/16 max HP each turn; 1/8 on Steel, Water.",
5391
+ },
5354
5392
  start: " [POKEMON] is being salt cured!",
5355
5393
  damage: " [POKEMON] is hurt by Salt Cure!",
5356
5394
  },
@@ -6315,6 +6353,10 @@ export const MovesText = {
6315
6353
  name: "Stuff Cheeks",
6316
6354
  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.",
6317
6355
  shortDesc: "Must hold Berry to use. User eats Berry, Def +2.",
6356
+ champions: {
6357
+ 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.",
6358
+ shortDesc: "Fails unless a Berry is held. User eats Berry, Def +2.",
6359
+ },
6318
6360
  },
6319
6361
  stunspore: {
6320
6362
  name: "Stun Spore",
@@ -6884,6 +6926,10 @@ export const MovesText = {
6884
6926
  name: "Toxic Thread",
6885
6927
  desc: "Lowers the target's Speed by 1 stage and poisons it.",
6886
6928
  shortDesc: "Lowers the target's Speed by 1 and poisons it.",
6929
+ champions: {
6930
+ desc: "Lowers the target's Speed by 2 stages and poisons it.",
6931
+ shortDesc: "Lowers the target's Speed by 2 and poisons it.",
6932
+ },
6887
6933
  },
6888
6934
  trailblaze: {
6889
6935
  name: "Trailblaze",