Commit Graph

23714 Commits

Author SHA1 Message Date
HoeenHero
a8903eeec0 STABmons: Prevent infinite loop when validating moves 2020-04-24 21:08:29 -04:00
Guangcong Luo
31a81a91a2 Fix @type in .ts files
Some JSDoc type assertions failed to get converted during various .ts
refactors. This commit takes care of them.
2020-04-24 14:19:08 -07:00
The Immortal
28ed1f1185 Update format threads 2020-04-25 00:53:20 +04:00
Kris Johnson
1cbaeef826
PU: Ban Silvally-Flying, Drought, and Heat Rock (#6606)
* PU: Ban Silvally-Flying, Drought, and Heat Rock

* Update formats.js

https://www.smogon.com/forums/threads/pu-general-rules-tiering-and-announcements-thread.3660650/#post-8440324
2020-04-24 13:52:21 -07:00
Marty-D
abe7b58419
Fix Steel Beam description
Nice catch @scheibo!
2020-04-24 15:51:02 -04:00
The Immortal
3b6403b9b2 Shared Power: Update banlist 2020-04-24 23:34:23 +04:00
Marty-D
e03d6e9020
Gen III: Remove obsolete code 2020-04-24 15:03:04 -04:00
The Immortal
f77432d7fc Random Battle: Improve Raichu-Alola 2020-04-24 21:58:03 +04:00
Literally who
4ea14070b9
Gen 8 Random Doubles Update (#6596) 2020-04-24 21:45:59 +04:00
The Immortal
3925dc304d Increase Punk Rock's rating 2020-04-24 20:58:12 +04:00
The Immortal
a59bf5e270 Random Battle: Fix Noctowl 2020-04-24 20:07:05 +04:00
The Immortal
e5aec85899 Update random-teams codeowner 2020-04-24 02:14:32 +04:00
The Immortal
f7e1a1d253 Hackmons Cup: Fix G-Max moves being rolled 2020-04-24 01:57:53 +04:00
The Immortal
171233b6de Random Battle: Reject Steadfast 2020-04-24 01:29:44 +04:00
Guangcong Luo
f6f4467265 Turn on prefer-const for .js files
Not having prefer-const on the JS side makes JS -> TS refactors really
unreadable. This commit just auto-fixes it so we're using
`prefer-const` everywhere.
2020-04-23 11:37:47 -07:00
Guangcong Luo
5d63b16d4d Fix botched merge in data/.ts refactor
The data/.ts refactor left a few .js files in, which weren't deleted
between 13 and 3 days ago:

c85f5bccb0

Because of this, the corresponding `.ts` files were considered new,
rather than renamed, and changes to the `.js` files got deleted rather
than merged.

Fortunately, this only affected `moves.js`, which has now been manually
re-merged with the changes.
2020-04-23 11:22:21 -07:00
Guangcong Luo
9bb903da0d Fix TypeScript for thing-of-the-day 2020-04-23 10:30:22 -07:00
Mia
1a62036aaf
Typescript Thing of the Day (#6603) 2020-04-23 10:12:56 -07:00
Christopher Monsanto
802a480af5 Make build relative to __dirname 2020-04-23 12:56:25 -04:00
Kris Johnson
28bf388b98
Typescript data (#6553) 2020-04-23 09:16:09 -07:00
AnnikaCodes
2c08cde63a
Add G-Max Move to /details results (#6599) 2020-04-22 01:38:37 -07:00
Kris Johnson
c62ad945fa
National Dex: Ban Blastoise (#6600)
https://www.smogon.com/forums/threads/national-dex-mega-blastoise-suspect-voting.3662763/page-3#post-8437163
2020-04-22 01:37:35 -07:00
AnnikaCodes
4a13afab51
Datasearch: don't broadcast errors (#6601) 2020-04-22 01:25:10 -07:00
Guangcong Luo
611b186265 Fix port config not being passed to child process
Fixes #6597
2020-04-21 07:26:29 -07:00
The Immortal
b7745f5427 Shared Power: Ban Guts & Flare Boost 2020-04-21 00:32:16 +04:00
Guangcong Luo
ebbcbf06a8 Fix Gen 2 gender ratio calculation
(Apparently it was based on older incorrect gender ratio information
from Bulbapedia.)

New version confirmed by Marty.
2020-04-20 12:51:44 -07:00
The Immortal
77c94113bd Remove OU suspect test 2020-04-20 21:43:09 +04:00
The Immortal
46b4ad4768 Move Rufflet to LC Uber 2020-04-20 21:41:12 +04:00
Luc Moussiegt
be4ff58260
Fix Sky Drop Wonder Guard interaction (#6593) 2020-04-20 12:14:37 -04:00
Marty-D
4997963c8b Gen I & Stadium: Fix accuracy calculations 2020-04-19 15:02:04 -04:00
penpexgit
5e13bc2432
Improve FORMES.md (#6590) 2020-04-19 10:48:17 -07:00
Nol
a3b8db05f7
SSB: Update several ranks (#6556) 2020-04-18 22:03:42 -07:00
Kris Johnson
471f4a2341
1v1: Add suspect notice (#6591)
https://www.smogon.com/forums/threads/1v1-suspect-2-mimikyu.3662782/
2020-04-18 19:03:53 -07:00
Leonard Craft III
c376c1f80d
Fix Max Move base move source from leaking (#6592) 2020-04-18 19:00:08 -07:00
Marty-D
d9d345d8df Correct power modifier priorities
Thanks @dawoblefet!
2020-04-18 20:33:13 -04:00
Luc Moussiegt
4a749aff3e
Fix Technician interaction with Battery/Auras/PowerSpot (#6587) 2020-04-18 12:46:19 -04:00
Guangcong Luo
8498842697 Make custom room ranks always override
Custom room rank symbols will now override all other ranks in the
userlist.

Their permissions now also fall back to global permissions.

(Also fix an obscure crash with custom rank symbols.)
2020-04-18 07:22:29 -07:00
The Immortal
8fce5ef798 Parental Bond doesn't affect Max moves 2020-04-18 17:22:48 +04:00
Guangcong Luo
a049d85a98 Fix build errors from TypeScript update
I'm not entirely sure why these two errors are cropping up now, but
they are.

The "thenable" one seems to be a bug, but in what?
2020-04-17 23:00:28 -07:00
Guangcong Luo
776ccf9796
Refactor Sockets to ProcessManager+TypeScript (#6584) 2020-04-17 04:05:45 -07:00
Guangcong Luo
c49343b7e2 Setting a room rank can no longer demote globals
Previously, if you gave e.g. roomvoice to a global moderator, that
would demote their room rank to voice. Now, they will remain a
moderator, with "voice" only appearing in `/roomauth` and `/auth`.

(Includes a refactor of Config.groups)
2020-04-17 03:32:11 -07:00
Guangcong Luo
286246da82 Push Dynamax ending to as late as possible 2020-04-17 00:31:59 -07:00
The Immortal
b32a829e24 Remove Random Battle suspect notice 2020-04-16 18:22:25 +04:00
scoopapa
c32997cb51
Roulettemons: Update movepools (#6551) 2020-04-16 04:36:40 -07:00
Guangcong Luo
80634c6918 Fix Dazzling
I don't like using Bulbapedia as a source, but our researchers are all
asleep and TI said this was high-priority.
2020-04-16 03:12:40 -07:00
Guangcong Luo
6884c7ee81 Remove unnecessarily quoted keys in data/
(By pulling this out from the rest of the TypeScript refactor, this
should make the diffs for the TypeScript refactor more readable.)
2020-04-16 01:32:18 -07:00
Kris Johnson
712b7e0e8e
Add "seejong" as an alias for Sealeo (#6585)
The entire Pokemon Games room refers to Sealeo as Seejong and it has significant meme value. Additionally, Seejong is Sealeo's German name.
2020-04-16 00:20:07 -07:00
Peach
2828427946
Mafia: Misc updates (#6583)
* Attribute non-host mod commands

* Fix crash in queue

* Add command for listing all data entries

* Update permissions in help box

credits to @Claire238
2020-04-15 22:40:43 -07:00
Leonard Craft III
6792b82a21
Add Teatime tests (#6582) 2020-04-15 21:27:45 -07:00
Leonard Craft III
2a07102281
Add G-Max move validator illegality test (#6580) 2020-04-15 21:27:16 -07:00