@pkmn/sim 0.5.27 → 0.6.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.
- package/README.md +3 -2
- package/build/config/formats.js +26 -33
- package/build/config/formats.js.map +1 -1
- package/build/data/abilities.js +6 -4
- package/build/data/abilities.js.map +1 -1
- package/build/data/items.js +5 -5
- package/build/data/items.js.map +1 -1
- package/build/data/learnsets.js +3 -8
- 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/gen5/formats-data.js +69 -69
- package/build/data/mods/gen5/formats-data.js.map +1 -1
- package/build/data/pokedex.js +6 -6
- package/build/data/pokedex.js.map +1 -1
- package/build/data/text/items.js +5 -5
- package/build/sim/battle.js +2 -2
- package/build/sim/battle.js.map +1 -1
- package/build/sim/dex.js +2 -2
- package/build/sim/dex.js.map +1 -1
- package/config/formats.ts +27 -34
- package/data/abilities.ts +6 -4
- package/data/items.ts +5 -5
- package/data/learnsets.ts +3 -8
- package/data/mods/gen2/formats-data.ts +2 -2
- package/data/mods/gen5/formats-data.ts +69 -69
- package/data/pokedex.ts +6 -6
- package/data/text/items.ts +5 -5
- package/package.json +3 -3
- package/sim/battle.ts +2 -2
- package/sim/dex.ts +1 -1
package/README.md
CHANGED
|
@@ -94,8 +94,9 @@ Pokémon Showdown's `sim/` directory has been modified in the following ways:
|
|
|
94
94
|
with Pokémon Showdown, but after that only the canconical `genN` mods are supported (no Stadium,
|
|
95
95
|
Let's Go, or pet mods). However, the [`@pkmn/mods`](../mods) package provides the information
|
|
96
96
|
required for additional formats, and support for Other Metagames can be acheived with the modified
|
|
97
|
-
`Dex#mod` method. The `Dex#mod`
|
|
98
|
-
`Dex#modid` method has also been added which returns the current mod applied to the
|
|
97
|
+
`Dex#mod` method. The `Dex#mod` and `Dex.forGen` methods will `throw` if an unsupported mod/gen is
|
|
98
|
+
requested. A `Dex#modid` method has also been added which returns the current mod applied to the
|
|
99
|
+
`Dex`.
|
|
99
100
|
- **random battles are not supported by the `@pkmn/sim` package**. All team generation logic and
|
|
100
101
|
data has been removed from the package and are instead to be provided by the
|
|
101
102
|
[`@pkmn/randoms`](../randoms) package which exports a generator factory that can be configured
|
package/build/config/formats.js
CHANGED
|
@@ -215,7 +215,7 @@ exports.Formats = [
|
|
|
215
215
|
mod: 'gen8',
|
|
216
216
|
ruleset: ['[Gen 8] PU'],
|
|
217
217
|
banlist: [
|
|
218
|
-
'PU', 'Arctovish', 'Aurorus', 'Basculin', 'Centiskorch', 'Drampa', 'Exeggutor-Alola', 'Gallade', 'Haunter', 'Magmortar', 'Magneton',
|
|
218
|
+
'PU', 'Arctovish', 'Aurorus', 'Basculin', 'Centiskorch', 'Drampa', 'Exeggutor-Alola', 'Gallade', 'Glastrier', 'Haunter', 'Magmortar', 'Magneton',
|
|
219
219
|
'Malamar', 'Ninjask', 'Omastar', 'Rotom-Frost', 'Turtonator', 'Vanilluxe', 'Vikavolt', 'Silvally-Dragon', 'Silvally-Ground', 'Sneasel',
|
|
220
220
|
'Damp Rock', 'Grassy Seed',
|
|
221
221
|
],
|
|
@@ -267,23 +267,6 @@ exports.Formats = [
|
|
|
267
267
|
banlist: ['Eternatus-Eternamax'],
|
|
268
268
|
unbanlist: ['Mythical', 'Restricted Legendary'],
|
|
269
269
|
},
|
|
270
|
-
{
|
|
271
|
-
name: "[Gen 8] Champion League",
|
|
272
|
-
threads: [
|
|
273
|
-
`• <a href="https://www.smogon.com/forums/threads/3707533/">Champion League Discussion</a>`,
|
|
274
|
-
],
|
|
275
|
-
mod: 'gen8',
|
|
276
|
-
ruleset: ['Flat Rules', '!! Adjust Level = 50', 'Min Source Gen = 8'],
|
|
277
|
-
banlist: ['All Pokemon'],
|
|
278
|
-
unbanlist: [
|
|
279
|
-
'Venusaur', 'Charizard', 'Blastoise', 'Sandslash-Base', 'Ninetales-Base', 'Arcanine', 'Alakazam', 'Tentacruel', 'Magneton', 'Cloyster',
|
|
280
|
-
'Exeggutor-Base', 'Rhydon', 'Gyarados', 'Lapras', 'Vaporeon', 'Jolteon', 'Flareon', 'Aerodactyl', 'Dragonite', 'Heracross', 'Skarmory',
|
|
281
|
-
'Tyranitar', 'Ludicolo', 'Gardevoir', 'Aggron', 'Wailord', 'Altaria', 'Whiscash', 'Claydol', 'Cradily', 'Armaldo', 'Milotic', 'Salamence',
|
|
282
|
-
'Metagross', 'Roserade', 'Gastrodon', 'Spiritomb', 'Garchomp', 'Lucario', 'Rhyperior', 'Togekiss', 'Seismitoad', 'Archeops',
|
|
283
|
-
'Vanilluxe', 'Escavalier', 'Haxorus', 'Accelgor', 'Druddigon', 'Bouffalant', 'Hydreigon', 'Volcarona', 'Aegislash', 'Tyrantrum',
|
|
284
|
-
'Aurorus', 'Hawlucha', 'Carbink', 'Goodra', 'Gourgeist', 'Rillaboom', 'Cinderace', 'Inteleon', 'Mr. Rime', 'Dragapult',
|
|
285
|
-
],
|
|
286
|
-
},
|
|
287
270
|
{
|
|
288
271
|
name: "[Gen 8] Custom Game",
|
|
289
272
|
mod: 'gen8',
|
|
@@ -368,6 +351,15 @@ exports.Formats = [
|
|
|
368
351
|
banlist: ['Eternatus-Eternamax'],
|
|
369
352
|
unbanlist: ['Mythical', 'Restricted Legendary'],
|
|
370
353
|
},
|
|
354
|
+
{
|
|
355
|
+
name: "[Gen 8] Ultimate Finale",
|
|
356
|
+
threads: [
|
|
357
|
+
`• <a href="https://www.smogon.com/forums/threads/3709248/">Ultimate Finale Discussion</a>`,
|
|
358
|
+
],
|
|
359
|
+
mod: 'gen8',
|
|
360
|
+
gameType: 'doubles',
|
|
361
|
+
ruleset: ['Obtainable', 'Team Preview', 'Nickname Clause', 'Adjust Level = 100', 'Cancel Mod', 'Min Source Gen = 8'],
|
|
362
|
+
},
|
|
371
363
|
{
|
|
372
364
|
name: "[Gen 8] Spikemuth Cup",
|
|
373
365
|
mod: 'gen8',
|
|
@@ -606,11 +598,12 @@ exports.Formats = [
|
|
|
606
598
|
mod: 'gen8',
|
|
607
599
|
ruleset: ['Standard OMs', 'Revelationmons Mod', 'Sleep Moves Clause'],
|
|
608
600
|
banlist: [
|
|
609
|
-
'Blacephalon', 'Calyrex-Ice', 'Calyrex-Shadow', 'Darmanitan-Galar', 'Dialga', 'Dracovish', 'Dragonite', 'Dragapult', 'Eternatus',
|
|
610
|
-
'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kommo-o', 'Kyogre', 'Kyurem-Black', 'Kyurem-White',
|
|
611
|
-
'Magearna', 'Marshadow', 'Mewtwo', 'Naganadel', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane',
|
|
612
|
-
'
|
|
613
|
-
'
|
|
601
|
+
'Blacephalon', 'Calyrex-Ice', 'Calyrex-Shadow', 'Darmanitan-Galar', 'Dialga', 'Dracovish', 'Dragonite', 'Dragapult', 'Eternatus',
|
|
602
|
+
'Genesect', 'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kingdra', 'Kommo-o', 'Kyogre', 'Kyurem-Black', 'Kyurem-White',
|
|
603
|
+
'Landorus-Base', 'Lugia', 'Lunala', 'Magearna', 'Marshadow', 'Mewtwo', 'Naganadel', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane',
|
|
604
|
+
'Noivern', 'Palkia', 'Pheromosa', 'Polteageist', 'Rayquaza', 'Reshiram', 'Solgaleo', 'Spectrier', 'Thundurus-Therian', 'Urshifu-Base',
|
|
605
|
+
'Xerneas', 'Yveltal', 'Zacian', 'Zacian-Crowned', 'Zamazenta', 'Zamazenta-Crowned', 'Zekrom', 'Zygarde-Base', 'Arena Trap', 'Magnet Pull',
|
|
606
|
+
'Moody', 'Power Construct', 'Shadow Tag', 'King\'s Rock', 'Baton Pass',
|
|
614
607
|
],
|
|
615
608
|
restricted: ['Bolt Beak', 'Close Combat', 'U-turn', 'Volt Switch'],
|
|
616
609
|
},
|
|
@@ -662,14 +655,14 @@ exports.Formats = [
|
|
|
662
655
|
mod: 'gen8',
|
|
663
656
|
ruleset: ['Standard OMs', '!Obtainable Abilities', '2 Ability Clause', 'Sleep Moves Clause'],
|
|
664
657
|
banlist: [
|
|
665
|
-
'Archeops', 'Blacephalon', 'Buzzwole', 'Calyrex-Ice', 'Calyrex-Shadow', 'Dialga', 'Dracovish', 'Dragapult', 'Dragonite', 'Eternatus',
|
|
666
|
-
'Gengar', 'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kartana', 'Keldeo', 'Kyogre', 'Kyurem', 'Kyurem-Black', 'Kyurem-White',
|
|
667
|
-
'
|
|
668
|
-
'
|
|
669
|
-
'
|
|
670
|
-
'
|
|
671
|
-
'
|
|
672
|
-
'
|
|
658
|
+
'Archeops', 'Blacephalon', 'Buzzwole', 'Calyrex-Ice', 'Calyrex-Shadow', 'Dialga', 'Dracovish', 'Dragapult', 'Dragonite', 'Eternatus', 'Genesect',
|
|
659
|
+
'Gengar', 'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kartana', 'Keldeo', 'Kyogre', 'Kyurem', 'Kyurem-Black', 'Kyurem-White', 'Lugia',
|
|
660
|
+
'Lunala', 'Magearna', 'Marshadow', 'Melmetal', 'Mewtwo', 'Naganadel', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Noivern', 'Palkia', 'Pheromosa',
|
|
661
|
+
'Rayquaza', 'Regigigas', 'Reshiram', 'Shedinja', 'Solgaleo', 'Spectrier', 'Urshifu', 'Urshifu-Rapid-Strike', 'Victini', 'Weavile', 'Xerneas',
|
|
662
|
+
'Yveltal', 'Zacian', 'Zacian-Crowned', 'Zamazenta-Base', 'Zekrom', 'Zeraora', 'Zygarde-Base', 'Arena Trap', 'Comatose', 'Contrary', 'Fluffy',
|
|
663
|
+
'Fur Coat', 'Gorilla Tactics', 'Huge Power', 'Ice Scales', 'Illusion', 'Imposter', 'Innards Out', 'Intrepid Sword', 'Libero', 'Magic Bounce',
|
|
664
|
+
'Magnet Pull', 'Moody', 'Neutralizing Gas', 'Parental Bond', 'Poison Heal', 'Protean', 'Pure Power', 'Shadow Tag', 'Simple', 'Stakeout',
|
|
665
|
+
'Speed Boost', 'Unburden', 'Water Bubble', 'Wonder Guard', 'King\'s Rock', 'Baton Pass',
|
|
673
666
|
],
|
|
674
667
|
},
|
|
675
668
|
{
|
|
@@ -2512,7 +2505,6 @@ exports.Formats = [
|
|
|
2512
2505
|
mod: 'gen2',
|
|
2513
2506
|
ruleset: ['[Gen 2] OU'],
|
|
2514
2507
|
banlist: ['OU'],
|
|
2515
|
-
unbanlist: ['Mean Look + Baton Pass', 'Spider Web + Baton Pass'],
|
|
2516
2508
|
},
|
|
2517
2509
|
// Past Gens OU
|
|
2518
2510
|
///////////////////////////////////////////////////////////////////
|
|
@@ -3696,7 +3688,7 @@ exports.Formats = [
|
|
|
3696
3688
|
mod: 'gen2',
|
|
3697
3689
|
searchShow: false,
|
|
3698
3690
|
ruleset: ['[Gen 2] OU'],
|
|
3699
|
-
banlist: ['OU', 'UUBL'],
|
|
3691
|
+
banlist: ['OU', 'UUBL', 'Agility + Baton Pass'],
|
|
3700
3692
|
unbanlist: ['Mean Look + Baton Pass', 'Spider Web + Baton Pass'],
|
|
3701
3693
|
},
|
|
3702
3694
|
{
|
|
@@ -3706,6 +3698,7 @@ exports.Formats = [
|
|
|
3706
3698
|
searchShow: false,
|
|
3707
3699
|
ruleset: ['[Gen 2] UU'],
|
|
3708
3700
|
banlist: ['UU', 'NUBL'],
|
|
3701
|
+
unbanlist: ['Agility + Baton Pass'],
|
|
3709
3702
|
},
|
|
3710
3703
|
{
|
|
3711
3704
|
name: "[Gen 2] 1v1",
|