@pkmn/sim 0.5.23 → 0.5.24
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/LICENSE +1 -1
- package/build/config/formats.js +85 -70
- package/build/config/formats.js.map +1 -1
- package/build/data/pokedex.js +1 -1
- package/build/data/rulesets.js +123 -2
- package/build/data/rulesets.js.map +1 -1
- package/build/data/tags.js +1 -1
- package/build/data/tags.js.map +1 -1
- package/build/lib/utils.d.ts +4 -0
- package/build/lib/utils.js +20 -1
- package/build/lib/utils.js.map +1 -1
- package/config/formats.ts +88 -70
- package/data/pokedex.ts +1 -1
- package/data/rulesets.ts +119 -2
- package/data/tags.ts +1 -1
- package/lib/utils.ts +16 -0
- package/package.json +1 -1
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2011-
|
|
3
|
+
Copyright (c) 2011-2022 Guangcong Luo and other contributors http://pokemonshowdown.com/
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
6
|
this software and associated documentation files (the "Software"), to deal in
|
package/build/config/formats.js
CHANGED
|
@@ -80,10 +80,7 @@ exports.Formats = [
|
|
|
80
80
|
],
|
|
81
81
|
mod: 'gen8',
|
|
82
82
|
ruleset: ['Standard', 'Dynamax Clause'],
|
|
83
|
-
banlist: [
|
|
84
|
-
'Uber', 'AG', 'Arena Trap', 'Moody', 'Power Construct', 'Sand Veil', 'Shadow Tag', 'Snow Cloak',
|
|
85
|
-
'Bright Powder', 'King\'s Rock', 'Lax Incense', 'Baton Pass',
|
|
86
|
-
],
|
|
83
|
+
banlist: ['Uber', 'AG', 'Arena Trap', 'Moody', 'Power Construct', 'Sand Veil', 'Shadow Tag', 'Snow Cloak', 'King\'s Rock', 'Baton Pass'],
|
|
87
84
|
},
|
|
88
85
|
{
|
|
89
86
|
name: "[Gen 8] OU (Blitz)",
|
|
@@ -154,8 +151,8 @@ exports.Formats = [
|
|
|
154
151
|
mod: 'gen8',
|
|
155
152
|
ruleset: ['Little Cup', 'Standard', 'Dynamax Clause'],
|
|
156
153
|
banlist: [
|
|
157
|
-
'Corsola-Galar', 'Cutiefly', 'Drifloon', 'Gastly', 'Gothita', 'Rufflet', 'Scraggy', 'Scyther', 'Sneasel', 'Swirlix',
|
|
158
|
-
'Chlorophyll', 'Moody', 'Baton Pass', 'Sticky Web',
|
|
154
|
+
'Corsola-Galar', 'Cutiefly', 'Drifloon', 'Gastly', 'Gothita', 'Rufflet', 'Scraggy', 'Scyther', 'Sneasel', 'Swirlix',
|
|
155
|
+
'Tangela', 'Vullaby', 'Vulpix-Alola', 'Woobat', 'Zigzagoon-Base', 'Chlorophyll', 'Moody', 'Baton Pass', 'Sticky Web',
|
|
159
156
|
],
|
|
160
157
|
},
|
|
161
158
|
{
|
|
@@ -172,8 +169,8 @@ exports.Formats = [
|
|
|
172
169
|
'Blaziken', 'Calyrex-Ice', 'Calyrex-Shadow', 'Dialga', 'Dracovish', 'Eternatus', 'Genesect', 'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh',
|
|
173
170
|
'Kartana', 'Kyogre', 'Kyurem-Black', 'Kyurem-White', 'Landorus-Base', 'Lugia', 'Lunala', 'Magearna', 'Marshadow', 'Mewtwo', 'Naganadel',
|
|
174
171
|
'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Palkia', 'Pheromosa', 'Rayquaza', 'Reshiram', 'Solgaleo', 'Urshifu-Base', 'Xerneas', 'Yveltal',
|
|
175
|
-
'Zacian', 'Zacian-Crowned', 'Zamazenta', 'Zamazenta-Crowned', 'Zekrom', 'Zygarde-Base', 'Moody', 'Power Construct', 'Shadow Tag', '
|
|
176
|
-
'
|
|
172
|
+
'Zacian', 'Zacian-Crowned', 'Zamazenta', 'Zamazenta-Crowned', 'Zekrom', 'Zygarde-Base', 'Moody', 'Power Construct', 'Shadow Tag', 'Damp Rock',
|
|
173
|
+
'Focus Band', 'King\'s Rock', 'Quick Claw', 'Smooth Rock', 'Terrain Extender', 'Acupressure', 'Baton Pass',
|
|
177
174
|
],
|
|
178
175
|
},
|
|
179
176
|
{
|
|
@@ -269,6 +266,14 @@ exports.Formats = [
|
|
|
269
266
|
ruleset: ['Flat Rules', '!! Adjust Level = 50', 'Min Source Gen = 8', 'Limit Two Restricted'],
|
|
270
267
|
restricted: ['Restricted Legendary'],
|
|
271
268
|
},
|
|
269
|
+
{
|
|
270
|
+
name: "[Gen 8] Battle Stadium Singles Series 13",
|
|
271
|
+
mod: 'gen8',
|
|
272
|
+
searchShow: false,
|
|
273
|
+
ruleset: ['Flat Rules', '!! Adjust Level = 50', 'Min Source Gen = 8'],
|
|
274
|
+
banlist: ['Eternatus-Eternamax'],
|
|
275
|
+
unbanlist: ['Mythical', 'Restricted Legendary'],
|
|
276
|
+
},
|
|
272
277
|
{
|
|
273
278
|
name: "[Gen 8] I Choose 'Chu!",
|
|
274
279
|
threads: [
|
|
@@ -355,6 +360,15 @@ exports.Formats = [
|
|
|
355
360
|
ruleset: ['Flat Rules', '!! Adjust Level = 50', 'Min Source Gen = 8', 'VGC Timer', 'Limit Two Restricted'],
|
|
356
361
|
restricted: ['Restricted Legendary'],
|
|
357
362
|
},
|
|
363
|
+
{
|
|
364
|
+
name: "[Gen 8] Battle Stadium Doubles Series 13",
|
|
365
|
+
mod: 'gen8',
|
|
366
|
+
gameType: 'doubles',
|
|
367
|
+
searchShow: false,
|
|
368
|
+
ruleset: ['Flat Rules', '!! Adjust Level = 50', 'Min Source Gen = 8', 'VGC Timer'],
|
|
369
|
+
banlist: ['Eternatus-Eternamax'],
|
|
370
|
+
unbanlist: ['Mythical', 'Restricted Legendary'],
|
|
371
|
+
},
|
|
358
372
|
{
|
|
359
373
|
name: "[Gen 8] VGC 2021",
|
|
360
374
|
mod: 'gen8',
|
|
@@ -587,10 +601,10 @@ exports.Formats = [
|
|
|
587
601
|
`• <a href="https://www.smogon.com/forums/threads/3703643/">Re-Evolution</a>`,
|
|
588
602
|
],
|
|
589
603
|
mod: 'gen8',
|
|
590
|
-
ruleset: ['Standard', 'Re-Evolution Mod', 'Evasion Abilities Clause', '
|
|
604
|
+
ruleset: ['Standard OMs', 'Re-Evolution Mod', 'Evasion Abilities Clause', 'Sleep Clause Mod'],
|
|
591
605
|
banlist: [
|
|
592
|
-
'Darmanitan-Galar', 'Gyarados', 'Lunala', 'Milotic', 'Naganadel', 'Solgaleo', '
|
|
593
|
-
'Zacian-Crowned', 'Arena Trap', 'Moody', 'Shadow Tag', 'Bright Powder', 'King\'s Rock', 'Lax Incense', 'Baton Pass',
|
|
606
|
+
'Calyrex-Shadow', 'Darmanitan-Galar', 'Gyarados', 'Lunala', 'Milotic', 'Naganadel', 'Solgaleo', 'Slowking-Galar', 'Urshifu-Base',
|
|
607
|
+
'Volcarona', 'Zacian-Crowned', 'Arena Trap', 'Moody', 'Shadow Tag', 'Bright Powder', 'King\'s Rock', 'Lax Incense', 'Baton Pass',
|
|
594
608
|
],
|
|
595
609
|
},
|
|
596
610
|
{
|
|
@@ -600,23 +614,14 @@ exports.Formats = [
|
|
|
600
614
|
`• <a href="https://www.smogon.com/forums/threads/3702709/">Category Swap</a>`,
|
|
601
615
|
],
|
|
602
616
|
mod: 'gen8',
|
|
603
|
-
ruleset: ['Standard', '
|
|
617
|
+
ruleset: ['Standard OMs', 'Category Swap Mod', 'Sleep Clause Mod'],
|
|
604
618
|
banlist: [
|
|
605
|
-
'Calyrex-Ice', 'Calyrex-Shadow', 'Darmanitan-Galar', 'Dialga', 'Dracovish', '
|
|
606
|
-
'Ho-Oh', 'Kyogre', 'Kyurem', 'Kyurem-Black', 'Kyurem-White', 'Landorus-Base', 'Lugia', 'Lunala',
|
|
607
|
-
'
|
|
608
|
-
'
|
|
619
|
+
'Calyrex-Ice', 'Calyrex-Shadow', 'Darmanitan-Galar', 'Dialga', 'Dracovish', 'Dragapult', 'Eternatus', 'Genesect', 'Giratina',
|
|
620
|
+
'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kyogre', 'Kyurem', 'Kyurem-Black', 'Kyurem-White', 'Landorus-Base', 'Lugia', 'Lunala',
|
|
621
|
+
'Magearna', 'Mewtwo', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Nidoking', 'Palkia', 'Pheromosa', 'Rayquaza', 'Reshiram',
|
|
622
|
+
'Solgaleo', 'Xerneas', 'Yveltal', 'Zacian', 'Zacian-Crowned', 'Zamazenta', 'Zamazenta-Crowned', 'Zekrom', 'Arena Trap', 'Moody',
|
|
623
|
+
'Power Construct', 'Shadow Tag', 'King\'s Rock', 'Baton Pass', 'Draco Meteor', 'Overheat',
|
|
609
624
|
],
|
|
610
|
-
onModifyMove(move) {
|
|
611
|
-
if (move.category === 'Status')
|
|
612
|
-
return;
|
|
613
|
-
if (move.category === 'Special') {
|
|
614
|
-
move.category = 'Physical';
|
|
615
|
-
}
|
|
616
|
-
else {
|
|
617
|
-
move.category = 'Special';
|
|
618
|
-
}
|
|
619
|
-
},
|
|
620
625
|
},
|
|
621
626
|
// Other Metagames
|
|
622
627
|
///////////////////////////////////////////////////////////////////
|
|
@@ -649,16 +654,16 @@ exports.Formats = [
|
|
|
649
654
|
`• <a href="https://www.smogon.com/forums/threads/3682690/">AAA Resources</a>`,
|
|
650
655
|
],
|
|
651
656
|
mod: 'gen8',
|
|
652
|
-
ruleset: ['Standard', '!Obtainable Abilities', '2 Ability Clause', '
|
|
657
|
+
ruleset: ['Standard OMs', '!Obtainable Abilities', '2 Ability Clause', 'Sleep Moves Clause'],
|
|
653
658
|
banlist: [
|
|
654
|
-
'Archeops', 'Blacephalon', 'Buzzwole', 'Calyrex-Ice', 'Calyrex-Shadow', 'Dialga', 'Dracovish', 'Dragapult', 'Dragonite', 'Eternatus',
|
|
655
|
-
'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kartana', 'Keldeo', '
|
|
659
|
+
'Archeops', 'Blacephalon', 'Buzzwole', 'Calyrex-Ice', 'Calyrex-Shadow', 'Dialga', 'Dracovish', 'Dragapult', 'Dragonite', 'Eternatus',
|
|
660
|
+
'Gengar', 'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kartana', 'Keldeo', 'Kyogre', 'Kyurem', 'Kyurem-Black', 'Kyurem-White',
|
|
656
661
|
'Lugia', 'Lunala', 'Magearna', 'Marshadow', 'Melmetal', 'Mewtwo', 'Naganadel', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Noivern',
|
|
657
662
|
'Palkia', 'Pheromosa', 'Rayquaza', 'Regigigas', 'Reshiram', 'Shedinja', 'Solgaleo', 'Spectrier', 'Urshifu', 'Urshifu-Rapid-Strike',
|
|
658
|
-
'Victini', 'Weavile', 'Xerneas', 'Yveltal', 'Zacian', 'Zacian-Crowned', 'Zamazenta-Base', 'Zekrom', 'Zeraora', 'Zygarde-Base',
|
|
659
|
-
'
|
|
660
|
-
'
|
|
661
|
-
'Pure Power', 'Shadow Tag', 'Simple', 'Stakeout', 'Speed Boost', 'Water Bubble', 'Wonder Guard', 'King\'s Rock', 'Baton Pass',
|
|
663
|
+
'Victini', 'Weavile', 'Xerneas', 'Yveltal', 'Zacian', 'Zacian-Crowned', 'Zamazenta-Base', 'Zekrom', 'Zeraora', 'Zygarde-Base', 'Arena Trap',
|
|
664
|
+
'Comatose', 'Contrary', 'Fluffy', 'Fur Coat', 'Gorilla Tactics', 'Huge Power', 'Ice Scales', 'Illusion', 'Imposter', 'Innards Out',
|
|
665
|
+
'Intrepid Sword', 'Libero', 'Magic Bounce', 'Magnet Pull', 'Moody', 'Neutralizing Gas', 'Parental Bond', 'Poison Heal', 'Protean',
|
|
666
|
+
'Pure Power', 'Shadow Tag', 'Simple', 'Stakeout', 'Speed Boost', 'Unburden', 'Water Bubble', 'Wonder Guard', 'King\'s Rock', 'Baton Pass',
|
|
662
667
|
],
|
|
663
668
|
},
|
|
664
669
|
{
|
|
@@ -669,7 +674,7 @@ exports.Formats = [
|
|
|
669
674
|
`• <a href="https://www.smogon.com/forums/threads/3659028/">M&M Resources</a>`,
|
|
670
675
|
],
|
|
671
676
|
mod: 'mixandmega',
|
|
672
|
-
ruleset: ['Standard', '
|
|
677
|
+
ruleset: ['Standard OMs', 'Sleep Clause Mod'],
|
|
673
678
|
banlist: [
|
|
674
679
|
'Calyrex-Shadow', 'Eternatus', 'Kyogre', 'Zacian',
|
|
675
680
|
'Beedrillite', 'Blazikenite', 'Gengarite', 'Kangaskhanite', 'Mawilite', 'Medichamite', 'Pidgeotite',
|
|
@@ -739,7 +744,7 @@ exports.Formats = [
|
|
|
739
744
|
`• <a href="https://www.smogon.com/forums/threads/3695169/">STABmons Resources</a>`,
|
|
740
745
|
],
|
|
741
746
|
mod: 'gen8',
|
|
742
|
-
ruleset: ['Standard', 'STABmons Move Legality', '
|
|
747
|
+
ruleset: ['Standard OMs', 'STABmons Move Legality', 'Sleep Moves Clause'],
|
|
743
748
|
banlist: [
|
|
744
749
|
'Aegislash', 'Blacephalon', 'Calyrex-Ice', 'Calyrex-Shadow', 'Darmanitan-Galar', 'Dialga', 'Dracovish', 'Dragapult', 'Dragonite', 'Eternatus',
|
|
745
750
|
'Genesect', 'Garchomp', 'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kartana', 'Kyogre', 'Kyurem-Black', 'Kyurem-White', 'Landorus',
|
|
@@ -762,7 +767,7 @@ exports.Formats = [
|
|
|
762
767
|
`• <a href="https://www.smogon.com/forums/threads/3672463/">NFE Resources</a>`,
|
|
763
768
|
],
|
|
764
769
|
mod: 'gen8',
|
|
765
|
-
ruleset: ['Not Fully Evolved', '
|
|
770
|
+
ruleset: ['Standard OMs', 'Not Fully Evolved', 'Sleep Clause Mod'],
|
|
766
771
|
banlist: [
|
|
767
772
|
'Chansey', 'Doublade', 'Golbat', 'Haunter', 'Kadabra', 'Magmar', 'Magneton', 'Mr. Mime-Galar', 'Pawniard', 'Pikachu',
|
|
768
773
|
'Porygon2', 'Rhydon', 'Scyther', 'Sneasel', 'Type: Null', 'Vulpix-Base', 'Arena Trap', 'Shadow Tag', 'Baton Pass',
|
|
@@ -775,7 +780,7 @@ exports.Formats = [
|
|
|
775
780
|
`• <a href="https://www.smogon.com/forums/threads/3660461/">Godly Gift</a>`,
|
|
776
781
|
],
|
|
777
782
|
mod: 'gen8',
|
|
778
|
-
ruleset: ['Standard
|
|
783
|
+
ruleset: ['Standard OMs', 'Sleep Moves Clause'],
|
|
779
784
|
banlist: [
|
|
780
785
|
'Blissey', 'Calyrex-Shadow', 'Chansey', 'Crawdaunt', 'Dragapult', 'Eternatus', 'Hawlucha', 'Marowak-Alola', 'Melmetal', 'Nidoking',
|
|
781
786
|
'Nidoqueen', 'Pikachu', 'Toxapex', 'Xerneas', 'Zacian', 'Zacian-Crowned', 'Uber > 1', 'AG ++ Uber > 1', 'Arena Trap', 'Huge Power',
|
|
@@ -858,6 +863,8 @@ exports.Formats = [
|
|
|
858
863
|
'Decorate', 'Final Gambit', 'Flatter', 'Floral Healing', 'Flower Shield', 'Follow Me', 'Heal Pulse', 'Rage Powder', 'Swagger',
|
|
859
864
|
],
|
|
860
865
|
},
|
|
866
|
+
// Brilliant Diamond/Shining Pearl
|
|
867
|
+
///////////////////////////////////////////////////////////////////
|
|
861
868
|
{
|
|
862
869
|
section: "BD/SP",
|
|
863
870
|
column: 2,
|
|
@@ -881,10 +888,7 @@ exports.Formats = [
|
|
|
881
888
|
],
|
|
882
889
|
mod: 'gen8bdsp',
|
|
883
890
|
ruleset: ['Standard'],
|
|
884
|
-
banlist: [
|
|
885
|
-
'Uber', 'Arena Trap', 'Drizzle', 'Moody', 'Sand Veil', 'Shadow Tag', 'Snow Cloak',
|
|
886
|
-
'Bright Powder', 'King\'s Rock', 'Lax Incense', 'Razor Fang', 'Baton Pass',
|
|
887
|
-
],
|
|
891
|
+
banlist: ['Uber', 'Arena Trap', 'Drizzle', 'Moody', 'Sand Veil', 'Shadow Tag', 'Snow Cloak', 'King\'s Rock', 'Razor Fang', 'Baton Pass'],
|
|
888
892
|
},
|
|
889
893
|
{
|
|
890
894
|
name: "[Gen 8 BDSP] Ubers",
|
|
@@ -892,6 +896,7 @@ exports.Formats = [
|
|
|
892
896
|
`• <a href="https://www.smogon.com/forums/threads/3694036/">BDSP Ubers Discussion & Resources</a>`,
|
|
893
897
|
],
|
|
894
898
|
mod: 'gen8bdsp',
|
|
899
|
+
searchShow: false,
|
|
895
900
|
ruleset: ['Standard'],
|
|
896
901
|
banlist: ['AG', 'Baton Pass'],
|
|
897
902
|
},
|
|
@@ -901,6 +906,7 @@ exports.Formats = [
|
|
|
901
906
|
`• <a href="https://www.smogon.com/forums/threads/3694307/">BDSP UU</a>`,
|
|
902
907
|
],
|
|
903
908
|
mod: 'gen8bdsp',
|
|
909
|
+
searchShow: false,
|
|
904
910
|
ruleset: ['[Gen 8 BDSP] OU'],
|
|
905
911
|
banlist: ['OU', 'UUBL'],
|
|
906
912
|
},
|
|
@@ -910,6 +916,7 @@ exports.Formats = [
|
|
|
910
916
|
`• <a href="https://www.smogon.com/forums/threads/3695563/">BDSP RU</a>`,
|
|
911
917
|
],
|
|
912
918
|
mod: 'gen8bdsp',
|
|
919
|
+
searchShow: false,
|
|
913
920
|
ruleset: ['[Gen 8 BDSP] UU'],
|
|
914
921
|
banlist: ['UU', 'RUBL', 'Drought'],
|
|
915
922
|
},
|
|
@@ -919,6 +926,7 @@ exports.Formats = [
|
|
|
919
926
|
`• <a href="https://www.smogon.com/forums/threads/3697080/">BDSP NU</a>`,
|
|
920
927
|
],
|
|
921
928
|
mod: 'gen8bdsp',
|
|
929
|
+
searchShow: false,
|
|
922
930
|
ruleset: ['[Gen 8 BDSP] RU'],
|
|
923
931
|
banlist: ['RU', 'NUBL', 'Damp Rock', 'Heat Rock'],
|
|
924
932
|
},
|
|
@@ -928,6 +936,7 @@ exports.Formats = [
|
|
|
928
936
|
`• <a href="https://www.smogon.com/forums/threads/3700009/">BDSP PU</a>`,
|
|
929
937
|
],
|
|
930
938
|
mod: 'gen8bdsp',
|
|
939
|
+
searchShow: false,
|
|
931
940
|
ruleset: ['[Gen 8 BDSP] NU'],
|
|
932
941
|
banlist: ['NU', 'PUBL'],
|
|
933
942
|
},
|
|
@@ -937,6 +946,7 @@ exports.Formats = [
|
|
|
937
946
|
`• <a href="https://www.smogon.com/forums/threads/3696004/">BDSP LC</a>`,
|
|
938
947
|
],
|
|
939
948
|
mod: 'gen8bdsp',
|
|
949
|
+
searchShow: false,
|
|
940
950
|
ruleset: ['Little Cup', 'Standard'],
|
|
941
951
|
banlist: ['Gligar', 'Meditite', 'Misdreavus', 'Munchlax', 'Murkrow', 'Scyther', 'Sneasel', 'Tangela', 'Vulpix', 'Yanma', 'Moody', 'Baton Pass', 'Sticky Web'],
|
|
942
952
|
},
|
|
@@ -946,6 +956,7 @@ exports.Formats = [
|
|
|
946
956
|
`• <a href="https://www.smogon.com/forums/threads/3694267/">BDSP Monotype</a>`,
|
|
947
957
|
],
|
|
948
958
|
mod: 'gen8bdsp',
|
|
959
|
+
searchShow: false,
|
|
949
960
|
ruleset: ['[Gen 8 BDSP] OU', 'Same Type Clause'],
|
|
950
961
|
},
|
|
951
962
|
{
|
|
@@ -957,15 +968,6 @@ exports.Formats = [
|
|
|
957
968
|
searchShow: false,
|
|
958
969
|
ruleset: ['[Gen 8 BDSP] OU', '+CAP'],
|
|
959
970
|
},
|
|
960
|
-
{
|
|
961
|
-
name: "[Gen 8 BDSP] 3v3 Singles",
|
|
962
|
-
threads: [
|
|
963
|
-
`• <a href="https://www.smogon.com/forums/threads/3695092/">BDSP 3v3 Singles</a>`,
|
|
964
|
-
],
|
|
965
|
-
mod: 'gen8bdsp',
|
|
966
|
-
searchShow: false,
|
|
967
|
-
ruleset: ['Flat Rules', 'Min Source Gen = 8'],
|
|
968
|
-
},
|
|
969
971
|
{
|
|
970
972
|
name: "[Gen 8 BDSP] Doubles OU",
|
|
971
973
|
threads: [
|
|
@@ -976,15 +978,8 @@ exports.Formats = [
|
|
|
976
978
|
ruleset: ['Standard Doubles'],
|
|
977
979
|
banlist: ['DUber', 'Dark Void'],
|
|
978
980
|
},
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
threads: [
|
|
982
|
-
`• <a href="https://www.smogon.com/forums/threads/3694269/">Battle Festival Doubles</a>`,
|
|
983
|
-
],
|
|
984
|
-
mod: 'gen8bdsp',
|
|
985
|
-
gameType: 'doubles',
|
|
986
|
-
ruleset: ['Flat Rules', 'Min Source Gen = 8'],
|
|
987
|
-
},
|
|
981
|
+
// Challengeable OMs
|
|
982
|
+
///////////////////////////////////////////////////////////////////
|
|
988
983
|
{
|
|
989
984
|
section: "Challengeable OMs",
|
|
990
985
|
column: 2,
|
|
@@ -997,7 +992,7 @@ exports.Formats = [
|
|
|
997
992
|
],
|
|
998
993
|
mod: 'gen8',
|
|
999
994
|
searchShow: false,
|
|
1000
|
-
ruleset: ['Standard', '
|
|
995
|
+
ruleset: ['Standard OMs', 'Camomons Mod', 'Sleep Clause Mod'],
|
|
1001
996
|
banlist: [
|
|
1002
997
|
'Calyrex-Ice', 'Calyrex-Shadow', 'Darmanitan-Galar', 'Dialga', 'Dracovish', 'Dragonite', 'Eternatus', 'Genesect', 'Giratina', 'Giratina-Origin',
|
|
1003
998
|
'Groudon', 'Ho-Oh', 'Hydreigon', 'Kartana', 'Kyogre', 'Kyurem', 'Kyurem-Black', 'Kyurem-White', 'Landorus-Base', 'Lugia', 'Lunala', 'Marshadow',
|
|
@@ -1014,7 +1009,7 @@ exports.Formats = [
|
|
|
1014
1009
|
],
|
|
1015
1010
|
mod: 'gen8',
|
|
1016
1011
|
searchShow: false,
|
|
1017
|
-
ruleset: ['Standard', '
|
|
1012
|
+
ruleset: ['Standard OMs', '2 Ability Clause', 'Sleep Clause Mod'],
|
|
1018
1013
|
banlist: ['Corsola-Galar', 'Sneasel', 'Type: Null', 'Arena Trap', 'Ice Scales', 'Moody', 'King\'s Rock', 'Baton Pass'],
|
|
1019
1014
|
restricted: ['Chansey', 'Lunala', 'Shedinja', 'Solgaleo', 'Gorilla Tactics', 'Huge Power', 'Pure Power', 'Shadow Tag'],
|
|
1020
1015
|
onValidateTeam(team) {
|
|
@@ -1164,7 +1159,7 @@ exports.Formats = [
|
|
|
1164
1159
|
],
|
|
1165
1160
|
mod: 'gen8',
|
|
1166
1161
|
searchShow: false,
|
|
1167
|
-
ruleset: ['Standard
|
|
1162
|
+
ruleset: ['Standard OMs', '2 Ability Clause', 'Sleep Moves Clause'],
|
|
1168
1163
|
banlist: [
|
|
1169
1164
|
'Blacephalon', 'Blaziken', 'Butterfree', 'Calyrex-Ice', 'Calyrex-Shadow', 'Chansey', 'Combusken', 'Cresselia', 'Darmanitan-Galar', 'Dialga',
|
|
1170
1165
|
'Dracovish', 'Eternatus', 'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kartana', 'Kyogre', 'Kyurem-Black', 'Kyurem-White', 'Lugia',
|
|
@@ -1353,7 +1348,7 @@ exports.Formats = [
|
|
|
1353
1348
|
],
|
|
1354
1349
|
mod: 'linked',
|
|
1355
1350
|
searchShow: false,
|
|
1356
|
-
ruleset: ['Standard', '
|
|
1351
|
+
ruleset: ['Standard OMs', 'Sleep Clause Mod'],
|
|
1357
1352
|
banlist: [
|
|
1358
1353
|
'Calyrex-Ice', 'Calyrex-Shadow', 'Cinderace', 'Cloyster', 'Darmanitan-Galar', 'Dialga', 'Dracovish', 'Eternatus', 'Genesect', 'Giratina',
|
|
1359
1354
|
'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kartana', 'Kyogre', 'Kyurem', 'Kyurem-Black', 'Kyurem-White', 'Landorus-Base', 'Lugia', 'Lunala',
|
|
@@ -1385,7 +1380,7 @@ exports.Formats = [
|
|
|
1385
1380
|
],
|
|
1386
1381
|
mod: 'gen8',
|
|
1387
1382
|
searchShow: false,
|
|
1388
|
-
ruleset: ['Standard
|
|
1383
|
+
ruleset: ['Standard OMs', '2 Ability Clause', 'Sleep Moves Clause'],
|
|
1389
1384
|
banlist: [
|
|
1390
1385
|
'Calyrex-Ice', 'Calyrex-Shadow', 'Cinderace', 'Darmanitan-Galar', 'Dialga', 'Dracovish', 'Dragonite', 'Eternatus',
|
|
1391
1386
|
'Genesect', 'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kartana', 'Kyogre', 'Kyurem-Black', 'Kyurem-White',
|
|
@@ -1590,7 +1585,7 @@ exports.Formats = [
|
|
|
1590
1585
|
],
|
|
1591
1586
|
mod: 'gen8',
|
|
1592
1587
|
searchShow: false,
|
|
1593
|
-
ruleset: ['Standard', '
|
|
1588
|
+
ruleset: ['Standard OMs', 'Sleep Clause Mod'],
|
|
1594
1589
|
banlist: [
|
|
1595
1590
|
'Blissey', 'Calyrex-Ice', 'Calyrex-Shadow', 'Chansey', 'Cloyster', 'Dialga', 'Eternatus', 'Genesect', 'Giratina',
|
|
1596
1591
|
'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kyogre', 'Kyurem-Black', 'Kyurem-White', 'Landorus-Base', 'Lugia', 'Lunala',
|
|
@@ -1645,7 +1640,7 @@ exports.Formats = [
|
|
|
1645
1640
|
],
|
|
1646
1641
|
mod: 'pokebilities',
|
|
1647
1642
|
searchShow: false,
|
|
1648
|
-
ruleset: ['Standard', '
|
|
1643
|
+
ruleset: ['Standard OMs', 'Sleep Clause Mod'],
|
|
1649
1644
|
banlist: [
|
|
1650
1645
|
'Calyrex-Ice', 'Calyrex-Shadow', 'Cinderace', 'Conkeldurr', 'Darmanitan-Galar', 'Dialga', 'Dracovish', 'Dracozolt',
|
|
1651
1646
|
'Eternatus', 'Excadrill', 'Genesect', 'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kyogre', 'Kyurem-Black',
|
|
@@ -1684,10 +1679,29 @@ exports.Formats = [
|
|
|
1684
1679
|
.filter(ability => ability !== pokemon.ability);
|
|
1685
1680
|
}
|
|
1686
1681
|
},
|
|
1682
|
+
onBeforeSwitchIn(pokemon) {
|
|
1683
|
+
// Abilities that must be applied before both sides trigger onSwitchIn to correctly
|
|
1684
|
+
// handle switch-in ability-to-ability interactions, e.g. Intimidate counters
|
|
1685
|
+
const neededBeforeSwitchInIDs = [
|
|
1686
|
+
'clearbody', 'competitive', 'contrary', 'defiant', 'fullmetalbody', 'hypercutter', 'innerfocus',
|
|
1687
|
+
'mirrorarmor', 'oblivious', 'owntempo', 'rattled', 'scrappy', 'simple', 'whitesmoke',
|
|
1688
|
+
];
|
|
1689
|
+
if (pokemon.m.innates) {
|
|
1690
|
+
for (const innate of pokemon.m.innates) {
|
|
1691
|
+
if (!neededBeforeSwitchInIDs.includes(innate))
|
|
1692
|
+
continue;
|
|
1693
|
+
if (pokemon.hasAbility(innate))
|
|
1694
|
+
continue;
|
|
1695
|
+
pokemon.addVolatile("ability:" + innate, pokemon);
|
|
1696
|
+
}
|
|
1697
|
+
}
|
|
1698
|
+
},
|
|
1687
1699
|
onSwitchInPriority: 2,
|
|
1688
1700
|
onSwitchIn(pokemon) {
|
|
1689
1701
|
if (pokemon.m.innates) {
|
|
1690
1702
|
for (const innate of pokemon.m.innates) {
|
|
1703
|
+
if (pokemon.hasAbility(innate))
|
|
1704
|
+
continue;
|
|
1691
1705
|
pokemon.addVolatile("ability:" + innate, pokemon);
|
|
1692
1706
|
}
|
|
1693
1707
|
}
|
|
@@ -1728,7 +1742,7 @@ exports.Formats = [
|
|
|
1728
1742
|
],
|
|
1729
1743
|
mod: 'sharedpower',
|
|
1730
1744
|
searchShow: false,
|
|
1731
|
-
ruleset: ['Standard', '
|
|
1745
|
+
ruleset: ['Standard OMs', 'Sleep Clause Mod'],
|
|
1732
1746
|
banlist: [
|
|
1733
1747
|
'Calyrex-Ice', 'Calyrex-Shadow', 'Darmanitan-Galar', 'Dialga', 'Dracovish', 'Eternatus', 'Genesect', 'Giratina',
|
|
1734
1748
|
'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kyogre', 'Kyurem-Black', 'Kyurem-White', 'Lugia', 'Lunala', 'Magearna',
|
|
@@ -1795,7 +1809,7 @@ exports.Formats = [
|
|
|
1795
1809
|
searchShow: false,
|
|
1796
1810
|
challengeShow: false,
|
|
1797
1811
|
tournamentShow: false,
|
|
1798
|
-
ruleset: ['Standard', '
|
|
1812
|
+
ruleset: ['Standard OMs', 'Sleep Clause Mod'],
|
|
1799
1813
|
banlist: [
|
|
1800
1814
|
'Calyrex-Ice', 'Calyrex-Shadow', 'Darmanitan-Galar', 'Dialga', 'Dracovish', 'Dragapult', 'Eternatus', 'Kyurem-Black', 'Kyurem-White', 'Giratina',
|
|
1801
1815
|
'Giratina-Origin', 'Genesect', 'Groudon', 'Ho-Oh', 'Kartana', 'Kyogre', 'Lugia', 'Lunala', 'Magearna', 'Marowak-Alola', 'Marshadow', 'Melmetal',
|
|
@@ -1902,7 +1916,7 @@ exports.Formats = [
|
|
|
1902
1916
|
],
|
|
1903
1917
|
mod: 'gen8',
|
|
1904
1918
|
searchShow: false,
|
|
1905
|
-
ruleset: ['Standard', '!OHKO Clause', 'Picked Team Size = 6', 'Adjust Level = 100'],
|
|
1919
|
+
ruleset: ['Standard OMs', 'Sleep Clause Mod', '!OHKO Clause', 'Picked Team Size = 6', 'Adjust Level = 100'],
|
|
1906
1920
|
banlist: [
|
|
1907
1921
|
'Sandshrew-Alola', 'Shedinja', 'Infiltrator', 'Magic Guard', 'Choice Scarf',
|
|
1908
1922
|
'Explosion', 'Final Gambit', 'Healing Wish', 'Lunar Dance', 'Magic Room', 'Memento', 'Misty Explosion', 'Self-Destruct',
|
|
@@ -2472,7 +2486,7 @@ exports.Formats = [
|
|
|
2472
2486
|
`• <a href="https://www.smogon.com/forums/posts/8778656/">USM Mix and Mega</a>`,
|
|
2473
2487
|
],
|
|
2474
2488
|
mod: 'gen7mixandmega',
|
|
2475
|
-
ruleset: ['Standard', 'Mega Rayquaza Clause', '
|
|
2489
|
+
ruleset: ['Standard OMs', 'Mega Rayquaza Clause', 'Sleep Clause Mod'],
|
|
2476
2490
|
banlist: ['Shadow Tag', 'Gengarite', 'Baton Pass', 'Electrify'],
|
|
2477
2491
|
restricted: [
|
|
2478
2492
|
'Arceus', 'Deoxys', 'Dialga', 'Dragonite', 'Giratina', 'Groudon', 'Ho-Oh', 'Kyogre', 'Kyurem', 'Landorus-Therian', 'Lugia',
|
|
@@ -3194,6 +3208,7 @@ exports.Formats = [
|
|
|
3194
3208
|
mod: 'gen5',
|
|
3195
3209
|
searchShow: false,
|
|
3196
3210
|
ruleset: ['[Gen 5] OU', 'Same Type Clause', '!Gems Clause'],
|
|
3211
|
+
banlist: ['Latios'],
|
|
3197
3212
|
},
|
|
3198
3213
|
{
|
|
3199
3214
|
name: "[Gen 5] 1v1",
|