Commit Graph

120 Commits

Author SHA1 Message Date
May Evans
288f81a9f9
NC97: Run the correct Sleep Clause (#8888) 2022-09-08 16:58:15 -04:00
Alexander B
73883db4a6
Fix duplicated team with Team Type Preview (#8871) 2022-08-22 12:39:06 -04:00
WeWuzNidokangz
e2abcbbf72
Make Category Swap a rule and add special cases (#8854)
* Category Swap: Fix special cases and rulify

* Fix linter errors

* Update data/rulesets.ts

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Update data/rulesets.ts

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Update data/rulesets.ts

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Fix switch-case idiom

* Reference new rule name

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2022-08-03 18:32:46 -06:00
Kris Johnson
fdd72450b2 Add Evasion Items Clause to the standard ruleset 2022-08-03 15:18:36 -06:00
Kris Johnson
1039b27557 Migrate OMs to their own Standard ruleset 2022-08-03 15:09:58 -06:00
Kris Johnson
eeec433659 Add August 2022 OMotM/RoA Spotlight 2022-08-01 00:40:04 -06:00
Marty
846bb330db Implement Force Select rule 2022-07-12 16:32:10 -04:00
Kris Johnson
28898eaa0a BW OU: Ban all Gems 2022-07-10 21:22:50 -06:00
Kris Johnson
f4c31162a3 Update Re-Evolution Mod 2022-06-22 18:17:48 -06:00
Kris Johnson
a284cb25e8 Add Re-Evolution command and rule 2022-06-22 13:06:51 -06:00
May Evans
c1e9b00d98
Gen 1 UU: Ban Agility + Partial Trapping (#8817)
* Add APT Clause

Considers Bind and Clamp: despite them not being legal combinations even in Tradebacks on any Pokemon, there could be a hackmons tier or something that desires this. Future-proofing and in the spirit of the ban.

* Instate APT Clause

https://www.smogon.com/forums/threads/rby-uu-agility-partial-trapping-apt-voting.3703325/post-9249504

* yeah

* yeah lets actually call it that JENKINS

* JENKIIIINS
2022-06-19 21:44:29 -06:00
Karthik
49149ea8fb
Properly handle Zacian/Zamazenta Crowned forms (#8753) 2022-05-09 14:23:15 -05:00
Hisuian Zoroark
98db5b1d64
Crazyhouse: Temporarily restrict to singles, improve description (#8746) 2022-05-01 14:01:33 -06:00
Hisuian Zoroark
e5568e5bff
Add Crazyhouse Rule (#8708)
* Add Crazyhouse Rule

* Make Pokemon import top-level, correct HP in post.

* Remove unnecessary code, improve comment
2022-04-28 18:50:48 -06:00
Mia
3c86fbcb84 Add Dark Void to the Gravity Sleep Clause
Oversight
2022-04-04 14:59:37 -05:00
Kris Johnson
347715a12d Add March 2022 OMotM and RoA Spotlight 2022-03-01 00:46:09 -07:00
Kris Johnson
de51227922 Add Random Battle Mayhem 2022-02-08 21:16:39 -07:00
Leonard Craft III
a6d321e5d1
Fix Bird-type crashes (#8639)
* Fix crash with Bird type in Revelationmons Mod

* Fix Wild Magic Surge and Bird type
2022-01-24 19:07:37 -07:00
Marty
781d40a1d7 Gen 3 Ubers: Limit to one Baton Passer
https://www.smogon.com/forums/posts/9065997/
2022-01-01 18:02:18 -05:00
Marty
6f528817b7 Gen 3 OU: Implement One Boost Passer Clause
https://www.smogon.com/forums/posts/9057309/
2021-12-20 17:36:11 -05:00
WeWuzNidokangz
e6477a8b17
Fix BDSP interaction with STABmons Move Legality (#8532) 2021-11-19 09:59:07 -07:00
Kris Johnson
67702ac7fc Add November 2021 OMotM, LCotM, and RoA Spotlight 2021-11-01 00:43:23 -06:00
Kris Johnson
9367b079c0 Clean up Other Metagames formats 2021-10-29 23:49:16 -06:00
Kris Johnson
fa741a6760 ORAS Monotype: Update legality 2021-10-11 09:48:54 -06:00
En Passant
21dfd5470d
Add "Sketch Gen 8 Moves" rule (#8431) 2021-10-09 19:05:05 -07:00
Karthik
be5f737037
Add VGC 2013, VGC 2015, cleanup VGC 2017 mod (#8486) 2021-10-07 20:43:38 -04:00
Kris Johnson
9afff7c222 Let Picked Team Size Work with Team Type Preview 2021-10-05 14:48:28 -06:00
Kris Johnson
0aa3877f3f Add October 2021 OMotM and RoA Spotlight 2021-10-01 14:12:53 -06:00
Kris Johnson
a9cff320d8 Don't enforce capitalization on Force Monotype 2021-09-14 23:26:28 -06:00
Kris Johnson
c2f5ccc106 Update /battlerules 2021-09-14 23:24:46 -06:00
Kris Johnson
c3ad27289d Fix legality in STABmons and Alphabet Cup 2021-08-03 19:18:13 -06:00
Kris Johnson
cf7df087e6 Add August 2021 OMotM and RoA Spotlight 2021-07-31 22:46:25 -06:00
Karthik
b83e5088c2
Implement new STABmons policy (#8415)
* Implement new STABmons policy

* Use const

* Use push instead of concat

* Run generation loop for all the code

* Small changes

* Update data/rulesets.ts

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* fix lint issues

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2021-07-31 21:13:37 -06:00
Kris Johnson
598ac409e8 Rename Let's Go! mod to 'gen7letsgo' 2021-07-06 23:07:51 -06:00
Kris Johnson
9e217d34c2 Add July 2021 OMotM, LCotM, and RoA Spotlight 2021-07-01 10:47:55 -06:00
Kris Johnson
876c86d236 Change type declaration formatting for Maps/Sets 2021-06-29 22:47:28 -06:00
WeWuzNidokangz
0d96865c69
Fix crashes in Chimera 1v1 rule interactions (#8356) 2021-06-06 08:31:19 -07:00
Kris Johnson
790993c5d2 Add June 2021 OMotM, LCotM, and RoA Spotlight 2021-06-01 02:16:11 -06:00
Guangcong Luo
9c98ae5c87 Rules: Split "EV Limit" out from "Obtainable Misc"
"EV Limit = 510" is now its own rule which can be changed separately
from the rest of Obtainable Misc.

The rest of Obtainable Misc doesn't seem useful to break up, so I
haven't bothered.
2021-05-23 15:14:00 -07:00
Kris Johnson
77b7120b06
Update to Sw/Sh 1.3.2 mechanics (#8296) 2021-05-12 14:14:58 -04:00
Guangcong Luo
7e965b41a7 Revert timing for adding rules to field in #8274
It turns out rules need to be added before sides are initialized,
so that they can hook `ModifySpecies` during side initialization.

The proper way to fix this is pretty complex so this is just a hack.
2021-05-11 23:02:01 -07:00
Mia
f4c6e8f690 Formats: Fix undefined toID call 2021-05-11 08:23:40 -05:00
Guangcong Luo
638c1e3ae8 Add "Max Move Count" value rule
Also stop enforcing 4 moves limit and 6 pokemon limit in `-Nonstandard`,
for the same reason we stopped enforcing the level 100 limit; any format
that explicitly wants it higher should automatically override it.
2021-05-07 02:16:24 -07:00
Guangcong Luo
0adb8d1b00 Add Unova Dex rules 2021-05-07 00:37:22 -07:00
Karthik
367b4e7c2d
Implement Zacian/Zamazenta/Xerneas forme leak (#8261) 2021-05-06 19:24:59 -07:00
Guangcong Luo
36295dc27a
Simplify Team Preview events (#8274)
In format events:

`onFieldTeamPreview` has been renamed back to `onTeamPreview`. It's now
a custom event (like `onBegin`), rather than a field event.

Team Preview data has been entirely moved from `onBegin` into
`onTeamPreview`.

`onFieldStart` for formats/rules now happens after Team Preview, rather
than before. Use `onBegin` for things that happen before Team Preview.
2021-05-06 18:53:58 -07:00
Mia
34d6480837 Re-add Cancel Mod to Flat Rules 2021-05-06 09:28:56 -05:00
Guangcong Luo
55980d416c
Support value rules (#8267)
`teamLength`, `maxLevel`, `cupLevelLimit`, and `minSourceGen` no longer
exist as properties of `Format`. Instead, they're value rules that
become properties of `RuleTable`, and can be specified as custom rules
and inherited through rulesets like anything else.

See the PR for a full reckoning of changes:

https://github.com/smogon/pokemon-showdown/pull/8267
2021-05-06 01:16:16 -07:00
Distrib
cc2fb4a596
Add No Switch rule (#8241) 2021-05-03 16:09:09 -07:00
Marty-D
5b0391e91b
Fix build 2021-04-30 10:57:53 -04:00