Commit Graph

18499 Commits

Author SHA1 Message Date
Kirk Scheibelhut
37a331a4cb Get tools/set-import to work again
- a scripts.js init() method now calls toID
- Smogon updated the format of moveslots
2020-02-25 14:49:38 -08:00
whales
26fa367f75 Fix bugs with renaming rooms (#6392) 2020-02-24 23:54:10 -08:00
Kris Johnson
03f2378d8c Correct validation for UU NFE Clause/Little Cup (#6395) 2020-02-24 21:19:17 -08:00
whales
38daf467fc Add some common rooms to the roomid type (#6393) 2020-02-24 19:52:41 -08:00
Guangcong Luo
72976d1001 Fix Gen 3 Quick Claw 2020-02-24 19:27:50 -08:00
The Immortal
bf1a35cd86 National Dex: Ban Genesect 2020-02-24 17:59:14 +04:00
Kris Johnson
612e4e4903 Update OMs (#6390)
https://www.smogon.com/forums/threads/mix-and-mega.3656469/page-2#post-8374887
https://www.smogon.com/forums/threads/almost-any-ability.3656414/page-3#post-8374881
2020-02-23 22:33:45 -08:00
Guangcong Luo
c64ad07385 Fix typo 2020-02-23 22:17:22 -08:00
Kris Johnson
f9d8da6053 Move Diggersby, Durant, and Weavile to UUBL (#6389)
https://www.smogon.com/forums/threads/np-ss-uu-stage-1-here-comes-the-sun-diggersby-durant-weavile-banned.3658529/page-6#post-8374900
2020-02-23 22:13:54 -08:00
Guangcong Luo
1a447f7487 Add tests for Max Geyser Sand Spit 2020-02-23 22:10:49 -08:00
Guangcong Luo
9a4cf1149c Rename getRequestData functions
We now have `pokemon.getMoveRequestData()` and
`pokemon.getSwitchRequestData()`, which should make it much clearer
which one does what.
2020-02-23 22:10:49 -08:00
Ben Davies
1be30cf29a Commands: prevent /code from trimming leading horizontal whitespace 2020-02-24 01:45:17 -04:00
Marty-D
795ce777ec Remove Torment volatile when Dynamaxing 2020-02-23 17:45:16 -05:00
The Immortal
bd262b726c Fix ADV UU NFE Clause 2020-02-23 22:25:35 +04:00
Guangcong Luo
a41e4b051f Fix infinite loop with disabled Max Guard 2020-02-23 04:47:52 -08:00
whales
4231f3c626 Fix inputlogs for battle evals (#6388) 2020-02-23 03:59:03 -08:00
The Immortal
cecbf396cd Revert "Fix Moxie and Beast Boost in doubles"
This reverts commit d7af602017.
2020-02-23 13:46:18 +04:00
Guangcong Luo
fee9a3fa0b Fix typo in previous commit 2020-02-23 01:42:51 -08:00
Guangcong Luo
b1ea19d5b5 Further improve handling of crashed subprocesses 2020-02-23 01:33:35 -08:00
Kris Johnson
fd63ee2a3b Add ADV UU NFE Clause (#6386) 2020-02-23 00:15:35 -08:00
Christopher Monsanto
4cb531e4a8 Add Config.startuphook (#6382)
This is called when the server is fully initialized and ready to serve
requests. Useful for notifying a process manager.
2020-02-22 15:51:18 -08:00
Kris Johnson
d87f4492a7 CAP: Ban Arena Trap (#6385)
https://www.smogon.com/forums/threads/on-the-radar-arena-trap.3660066/#post-8373574
2020-02-23 00:25:33 +04:00
The Immortal
d7af602017 Fix Moxie and Beast Boost in doubles 2020-02-22 19:30:44 +04:00
Guangcong Luo
e36aa987e4 Make ProcessManager more crash-resistant
ProcessManager is now able to automatically respawn subprocesses that
have crashed.
2020-02-21 22:31:16 -08:00
The Immortal
563323f4c1 Fix Lum Berry activation 2020-02-22 05:39:37 +04:00
The Immortal
d7c09e0f0e Gen 5: Update Random Battle moves 2020-02-22 02:00:16 +04:00
whales
1920ca8161 Fix lint error 2020-02-22 01:22:07 +10:30
urkerab
98edf3e025 Refactor Dragon Darts (#6378) 2020-02-21 06:36:41 -08:00
The Immortal
79af87374a Fix Wandering Spirit 2020-02-21 18:18:51 +04:00
The Immortal
03ecc3c4b1 Stench Weezing is unreleased 2020-02-21 16:45:16 +04:00
The Immortal
8e93518550 Max Guard is disabled by Taunt 2020-02-21 15:49:27 +04:00
Guangcong Luo
658f853558 Fix bug in Battle Stadium Gigantamax validation 2020-02-21 03:40:16 -08:00
whales
d546abf87e Mafia: Fix modlog entry for data commands 2020-02-21 20:39:02 +10:30
whales
926970f765 Automatically upload replays when reporting (#6380) 2020-02-21 00:47:19 -08:00
Waleed Hassan
34e215c7a6 Support renaming rooms (#6295) 2020-02-21 00:47:07 -08:00
Guangcong Luo
f89f44f209 Max Guard is disabled by Assault Vest 2020-02-21 00:46:28 -08:00
Alexander B
88fa845350 Add Gen 8 unit tests
Closes #5952

(Bugs in PR fixed by Zarel)
2020-02-21 00:46:28 -08:00
whales
f2ac6a111e Support polls allowing multiple responses (#6356) 2020-02-20 23:54:23 -08:00
Kris Johnson
e64e083e6c Typescript The Cafe (#6379) 2020-02-20 23:01:20 -08:00
Guangcong Luo
e04769d3b8 Fix multi-hit move hitcount message 2020-02-20 17:49:10 -08:00
The Immortal
bf2665ca1d Add tests for Lum Berry 2020-02-21 05:27:35 +04:00
Kris Johnson
98190d28a1 Typescript Datasearch (#6376) 2020-02-20 16:37:13 -08:00
Guangcong Luo
1d09dd1174 Fix Dragon Darts bugs
- should not stop after one faint
- should not show miss message for first miss
2020-02-20 15:58:36 -08:00
The Immortal
5cb8c6ea9c Remove redundant Max Guard checks
bfa7ff2d3 added them to Max Guard.
2020-02-20 16:59:05 +04:00
Guangcong Luo
bfa7ff2d31 Update Max Guard
Max Guard doesn't block literally everything, just most things.
2020-02-20 02:28:57 -08:00
Guangcong Luo
14a252c208 Improve Dragon Darts description 2020-02-20 02:06:24 -08:00
Guangcong Luo
8cb6c1f58f Fix Ally Switch Dragon Darts 2020-02-20 01:27:07 -08:00
Guangcong Luo
229f5f809d Use assert in strict mode
This makes it so we can use `assert.equal` instead of
`assert.strictEqual`, which I think is more readable.
2020-02-20 00:39:31 -08:00
Guangcong Luo
0df0d234f2 Fix Dragon Darts
Dragon Darts has a variety of mechanics that I don't care to fully
write unit tests for, but this commit should track its in-game
implementation much more closely.

If anyone still has a Dragon Darts interaction that this implementation
handles incorrectly, they should confront me about it.

Fixes #6279
2020-02-20 00:14:58 -08:00
HoeenHero
3dcc7d21cc Handle empty/non-existant files when loading 2020-02-19 21:18:10 -05:00