Commit Graph

294 Commits

Author SHA1 Message Date
The Immortal
f72f37d704 Fix Mega Rayquaza Clause 2020-03-27 23:42:48 +04:00
Kris Johnson
994fc60aed
Rename Template to Species (#6478) 2020-03-25 23:29:27 -07:00
Kris Johnson
ff0968bdc9
Scalemons: Move stat formula to rulesets (#6481) 2020-03-22 05:44:47 +04:00
Kris Johnson
01769c1ca7
Update Custom Rules documentation and implementation (#6477) 2020-03-22 04:11:17 +04:00
The Immortal
f4ae5b435f Correct Forme Clause 2020-03-16 23:21:11 +04:00
Kris Johnson
db7b66548d
Forme Clause: Fix typo (#6456) 2020-03-14 11:36:24 +04:00
Kris Johnson
f424f367db
BH: Add Forme Clause and suspect notice (#6455) 2020-03-13 23:30:34 -04:00
Kris Johnson
c36870263b
Add Mimic Glitch validator rule (#6428) 2020-03-07 08:34:34 -08:00
Guangcong Luo
d007bdc12f
Force timer if blitz mod is in effect (#6418)
Also increase first turn time to 40
2020-03-05 09:43:56 -08:00
Kris Johnson
03f2378d8c
Correct validation for UU NFE Clause/Little Cup (#6395) 2020-02-24 21:19:17 -08:00
Kris Johnson
fd63ee2a3b
Add ADV UU NFE Clause (#6386) 2020-02-23 00:15:35 -08:00
The Immortal
0564851b49 VGC: Properly ban Toxtricity-Low-Key-Gmax 2020-02-14 23:08:36 +04:00
The Immortal
0b305661b6 Update Standard GBU banlist 2020-02-13 23:06:15 +04:00
Kris Johnson
239b7cdf13
Update VGC banlist (#6361) 2020-02-12 21:24:06 +04:00
Kris Johnson
92c7d377a7
Add Pokemon Home support (#6349)
Co-authored-by: The Immortal <the_immortal123@live.com>
2020-02-12 14:54:55 +04:00
The Immortal
19cdf79821 Update OMs 2020-02-12 14:19:29 +04:00
The Immortal
3278f97576 Show Crowned formes in Team Preview
They are immediately visible after Team Preview in-game, but PS! lacks that feature so this is the best compromise. This also fixes their appearance in Hackmons Team Preview.
2020-02-03 01:05:38 +04:00
The Immortal
38671c67c7 Doubles: Add Gravity Sleep Clause
Closes #6299
2020-01-22 07:28:40 +04:00
The Immortal
cb11d42c73 Update ability clause 2020-01-17 13:58:13 +04:00
The Immortal
1ec2d0bfa1 Doubles: Remove Evasion Abilities Clause
Closes #6268
2020-01-09 04:02:56 +04:00
Guangcong Luo
138fccbaa8 Consolidate more rules into Standard
- `Obtainable` and `Team Preview` are now part of `Standard`

- `minSourceGen: 8` is now a part of `-Unreleased` (which is part of
  `Obtainable`) in Gen 8. Instead, it's NatDex that overrides it with
	`minSourceGen: 1`. This allows `!Standard, Standard NatDex` and
	`!Standard NatDex, Standard` to work as intended.

- Duplicate rules are now checked for (does not apply to subrules, so
  multiple inheritance is still possible)

- It is now possible to inherit `minSourceGen` from rules.
2020-01-03 23:42:48 -05:00
Kris Johnson
a3d3d71863 Add Pet Mod of the Season (#6245) 2020-01-02 02:47:46 +04:00
Guangcong Luo
744f7732e8 Fix rulesets
- Remove "Standard Ubers"

- Rename "Standard ND" -> "Standard NatDex"
2019-12-30 12:23:51 +09:00
The Immortal
189a1421a8 Rename Sleep Clause to Sleep Moves Clause 2019-12-27 13:13:41 +04:00
The Immortal
fe00864b8e Add Sleep Clause rule 2019-12-27 05:09:24 +04:00
Marty-D
1475df0674
Team Preview: Hide Zacian and Zamazenta formes
They transform silently once a battle starts
2019-12-26 10:13:21 -05:00
Guangcong Luo
b31b88a79b Add documentation for custom rules 2019-12-25 11:26:23 +09:00
The Immortal
f62ff19e8a Improve validation for unobtainable Pokemon
This merges the Glitch and Pokestar tags into a new Unobtainable tag that defines Pokemon that are only obtainable through hacking (such as Floette-Eternal and Missingno.). These Pokemon are legal in Hackmons of their specific generation only. Custom is used in future gens instead of Past because of National Dex legality.
2019-12-25 00:35:39 +04:00
Guangcong Luo
e953747570 Improve error text for Arceus EV Limit rule 2019-12-24 13:39:15 +09:00
The Immortal
e04d2eef8b Gen 4: Update Arceus EV limitations 2019-12-24 01:35:45 +04:00
The Immortal
f5eb722bbf Add Standard ND ruleset 2019-12-23 00:33:57 +04:00
YaBoiJD
9a88d49a83 Fix Ditto from Dynamaxing as a Mega/Primal etc (#6139) 2019-12-12 00:14:47 +04:00
The Immortal
c23a0c5d5b Obtainable Moves: Remove unnecessary ban 2019-12-10 19:17:05 +04:00
Kris Johnson
89002124b3 Change inheritsLearnsetFrom to inheritsFrom and fix Necrozma-Ultra's inheritance (#6168) 2019-12-10 08:03:49 +04:00
The Immortal
7dfc381e9b Leaf Blade + Sucker Punch Shiftry is legal 2019-12-09 05:16:46 +04:00
The Immortal
f1530288e5 Move Keldeo-R validation to Obtainable rule
Keldeo-R is not a battle forme and is possible to hack without Secret Sword, unlike most other formes. It should be restricted by the rule that prevents hacks and not the rule that validates battle formes. This is mostly relevant for Hackmons.
2019-12-05 22:36:20 +04:00
The Immortal
6724ce500a Move Kyurem/Necrozma forme legality to Obtainable
Obtaintable Formes is for in-battle forme changes. Obtainable makes sure a team is possible to obtain in-game without hacking. Multiple Kyurem/Necrozma formes are the latter case.
2019-12-05 18:00:01 +04:00
The Immortal
4266000df4 Update forme validation
- In gen 8, Silvally is able to enter battles in different types if it doesn't have RKS System (i.e. it doesn't require a Memory).
- In gen 8, formes that transform in battle are no longer able to start in that forme (relevant to BH).
2019-12-05 07:29:15 +04:00
The Immortal
1ee6a3933d STABmons: Use `isMax` in validator 2019-12-05 03:13:09 +04:00
The Immortal
d9c49a2861 Team Preview: Hide items in gen 8 2019-12-02 07:02:19 +04:00
The Immortal
4b5c65ac98 STABmons: Prevent Max moves 2019-12-02 04:14:12 +04:00
YaBoiJD
546065a10d Update National Dex Mechanics (#6108)
Pokemon that are holding an Item that enables Mega Evolution, Primal Revision, or the use of a Z-Move cannot Dynamax. A Rayquaza that can Mega Evolve also cannot Dynamax.

Also fixes an alias loop with the national dex format/ruleset.
2019-11-30 14:50:09 -05:00
Spandan Punwatkar
97e910a093 National Dex: Ban Unobtainables (#6105) 2019-11-29 23:34:10 +13:00
TheMezStrikes
b0dcf0d597 Fix NFE clause in battles (#6109) 2019-11-29 11:51:21 +04:00
The Immortal
224465f6f7 Remove Moody Clause from Standard ruleset 2019-11-28 02:52:39 +04:00
The Immortal
e020334a78 Fix NFE Clause 2019-11-27 02:51:01 +04:00
HoeenHero
44a7fa0946 Make Dynamax checks more dynamic
Specifically we now check the battle.canDynamax method when
notifying a player about their pokemon's eligibility to dynamax.

This enforces the fact that pokemon that are transformed into
dynamax ineligible pokemon cannot dynamax themselves.

As a result of this change the pokemon.canDynamax flag is unnessecary
and has been refactored to a side.canDynamax flag. All pokemon specific
dynamax checks should use the battle.canDynamax method.
2019-11-26 13:05:38 -05:00
HoeenHero
8792d7345f Most past gen items should still be illegal (#6066) 2019-11-25 22:00:12 +13:00
The Immortal
d9f3a24462 STABmons: Fix Galar Pokemon 2019-11-25 07:19:59 +04:00
The Immortal
7cccda3b18 Update Other Metagames 2019-11-25 06:53:08 +04:00