Commit Graph

1187 Commits

Author SHA1 Message Date
Marty-D
42a1ebe396 Add Shiny Tapu Koko event 2019-10-19 22:15:19 -04:00
The Immortal
76db134959 Random Battle: Wigglytuff doesn't learn Memento 2019-10-11 23:09:51 +04:00
The Immortal
a57ee0bfed Random Battle improvements 2019-10-09 04:01:33 +04:00
Guangcong Luo
71498d451d
New validator (#5840)
* Refactor validator

This is a major refactor intended to make the default rules easier to
understand, and also easier for OMs to bypass.

Removed rules:
- `Pokemon`: This is now `-Nonexistent`. Its previous name was intended
  to be interpreted as "simulate the Pokémon games exactly, and only
  allow what they allow". The new name should make it clearer that it
  mainly bans CAPs and other nonexistent Pokémon and functionality.
- `-Illegal`: This is now `Obtainable` (see below).
- `Allow CAP`: This is now `+CAP`. Instead of having a hardcoded rule,
  OMs can now be manually whitelist any pokemon/item/etc or group of
  them, overriding `-Nonexistent`.
- `Ignore Illegal Abilities`: This is now `!Obtainable Abilities` (see
  below).

`Obtainable` was previously `-Illegal`, and does the same thing: Makes
sure you have a regular Pokémon game with only Pokémon that can be
obtained without hacking.

But instead of being a ban, it's now a rule that does nothing by
itself, except contain more rules:
- `Obtainable Moves`
- `Obtainable Abilities`
- `Obtainable Formes`
- `Obtainable Misc`
- `-Nonexistent`
- `-Unreleased`

This allows OMs to piecemeal repeal and unban any of these individual
rules, instead of the previous approach of unbanning them all and
manually reimplementing every single validation you wanted to keep.

* Refactor PokemonSources into a class

This mostly just makes a lot of the weirder checks in the validator
substantially more readable.

This also renames `lsetData` to `setSources`, which should also help
readability.

* Validate Bottle Cap HP types

Fixes an issue reported here:

https://github.com/Zarel/Pokemon-Showdown/issues/5742#issuecomment-533850288

* Fix several move validation issues

Fixes #5742

We have a new MoveSource type: R for Restricted. R moves work like
level-up/tutor/TM moves, except you're limited to one R move.

- Shedinja move stolen from Ninjask in Gen 3-4 are now R moves instead
  of event moves. This allows them to coexist with Nincada egg moves.

- Necrozma-DW/DM now inherit moves/events from Necrozma (like Rotom,
  but with event validation). This allows them to be shiny.

- Pokemon can now get egg moves from their own evolutions. This fixes
  some Tyrogue, Charmander, and Treecko sets mentioned in #5742

- Some more C moves were added, fixing some Hitmontop and Chatot sets
  mentioned in #5742

* Improve ability/move compatibility validator
2019-10-06 04:21:30 +11:00
Lusamine
7c7083b493 Add shiny Solgaleo/Lunala events (#5843) 2019-10-03 20:47:38 -04:00
Marty-D
f8e933b7be Tiers: Update for October tier shift 2019-10-01 20:55:13 -04:00
The Immortal
0e044687a6 Random Battle: Fix duplicate moves
Accidentally added in previous commit.
2019-09-25 22:40:53 +04:00
The Immortal
f005a5bfcf Random Battle updates 2019-09-25 17:14:39 +04:00
The Immortal
2b76546d84 Random Battle updates
In addition to various improvements, this commit removes unused LC and NFE random moves as they are outdated.
2019-09-18 02:12:42 +04:00
Lusamine
3d8b69f218 Add shiny Necrozma event (#5786) 2019-09-15 11:50:57 -04:00
The Immortal
b096c19aa9 Random Battle: Improve sets 2019-09-04 17:03:57 +04:00
The Immortal
e416b34129 Random Battle fixes 2019-09-02 04:58:35 +04:00
The Immortal
26dfe8fd9e Revamp Random Battle
- New ability ratings
- Improve move pools
- Allow non-status moves to be re-rolled if rejected (this fixes all undesired move set combinations)
- Update move & ability rejections
- New item possibilities
2019-09-01 19:40:53 +04:00
fart
49416194db Add Celebrate Aerodactyl event (#5711) 2019-08-16 22:16:14 -04:00
The Immortal
242b6bed9b Random Battle updates 2019-08-16 19:40:31 +04:00
Kris Johnson
abe2ba1f5e UU: Allow Mimikyu (#5652) 2019-07-23 12:18:40 -05:00
HoeenHero
bdfde21dae PU: Ban Guzzlord
https://www.smogon.com/forums/posts/8190551/
2019-07-21 09:50:11 -04:00
Guangcong Luo
413bf26d0d Correct .tier/.isNonstandard for future gens
Fixes #5243
2019-07-09 06:31:42 -05:00
Marty-D
89deb387fb Add CAP 25 prevos 2019-07-06 20:24:56 -04:00
Marty-D
d2a84586a3
PU: Quickban Cinccino and Mega Abomasnow
https://www.smogon.com/forums/posts/8175322/
2019-07-05 19:48:53 -04:00
Marty-D
6c26bf68dc Tiers: Update for July tier shift 2019-07-01 15:52:04 -04:00
Marty-D
f722ec9846 RU: Ban Linoone
https://www.smogon.com/forums/posts/8170548/
2019-06-29 18:56:35 -04:00
Marty-D
4e4d4725f9 Add CAP 26 Equilibra 2019-06-20 13:54:03 -04:00
Marty-D
591f4aa0ed NU: Ban Vileplume
https://www.smogon.com/forums/posts/8160298/
2019-06-17 10:19:25 -04:00
The Immortal
e8eaa319a7 Random Battle: Improve Cloyster 2019-06-10 16:55:32 +04:00
Kevin Lau
09b6eba829 Random Battle: Update Heliolisk (#5523) 2019-06-10 16:25:14 +04:00
Marty-D
88400207ec
Tiers: Add June quick drops 2019-06-01 14:17:03 -04:00
Marty-D
bde086c600 Add Shiny Tapu Fini event 2019-05-21 13:09:29 -04:00
Marty-D
c5ed893dc8
Tiers: Mega Tyranitar is actually OU by usage 2019-05-20 11:03:03 -04:00
The Immortal
8019aeec10 Random Battle updates 2019-05-12 18:31:56 +04:00
The Immortal
5ca2ddbbea Random Battle: Remove Water Spout Kyogre-Primal 2019-05-08 05:05:21 +04:00
The Immortal
2935344fcd Move Lilligant to PUBL 2019-05-06 22:12:52 +04:00
Marty-D
28e9de9879 RU: Unban Mega Sceptile
https://www.smogon.com/forums/posts/8118368/
2019-05-02 13:54:11 -04:00
The Immortal
034b936219 Random Battle updates 2019-04-24 02:50:51 +04:00
Kevin Lau
74d24d8dce Random Battle: Update Mandibuzz (#5449) 2019-04-16 00:15:56 +04:00
The Immortal
b0901e6fc9 Random Battle updates 2019-04-15 16:58:48 +04:00
The Immortal
e1c389a182 Random Battle updates 2019-04-08 16:39:19 +04:00
The Immortal
204997233e
Move Mega Sableye to UUBL 2019-04-05 23:58:01 +04:00
Merritty
b5a0644aa8 Ban Trapinch from LC (#5400)
https://www.smogon.com/forums/threads/usum-lc-trapinch-suspect-voting.3648825/post-8086522
2019-04-03 15:03:47 +08:00
Marty-D
ac5c0a5760
Tiers: Update for April tier shift 2019-04-01 14:30:01 -04:00
The Immortal
a864d38240 Random Battle updates 2019-04-01 19:05:08 +04:00
The Immortal
8d56dad32b Random Battle updates 2019-03-28 21:06:55 +04:00
Marty-D
95fcc86028 Add new event Pokemon
and release Oranguru and Passimian's Hidden Abilities
2019-03-28 08:32:45 -04:00
The Immortal
1cade1340a Random Battle improvements 2019-03-22 03:02:41 +04:00
Kirk Scheibelhut
03b2c92cb1 Make isNonstandard specify reason for non-standardness (#5330) 2019-03-22 01:49:22 +09:00
Kevin Lau
c070395f60 Random Battle: Update Blacephalon and Seviper (#5329) 2019-03-20 23:54:37 +04:00
Marty-D
3762c52dd8 Add Shiny Tapu Bulu event 2019-03-20 08:27:01 -04:00
Kris Johnson
4c57d85342 Move Houndoom to PUBL (#5318)
https://www.smogon.com/forums/threads/usum-pu-suspect-process-stage-5-5-voting.3648342/page-2#post-8071681
2019-03-19 11:35:30 +09:00
The Immortal
b0f9a9f493 Random Battle updates 2019-03-18 22:49:14 +04:00
Kevin Lau
7ec830c790 Random Doubles Updates (#5311) 2019-03-17 16:20:24 +04:00