Commit Graph

23714 Commits

Author SHA1 Message Date
The Immortal
a55483beb1 National Dex: Ban Zygarde 2020-03-19 16:38:42 +04:00
Kris Johnson
6f60cf739d
Mix and Mega: Add suspect notice (#6470)
https://www.smogon.com/forums/threads/mix-and-mega-suspect-2-gengar.3661363/
2020-03-19 16:17:35 +04:00
Christopher Monsanto
3dfa720113 Fix isNonstandard on Genesect formes 2020-03-18 22:53:42 -04:00
The Immortal
1765d9fbfa Improve bbb4da013 2020-03-19 02:06:10 +04:00
The Immortal
c09044a777 Move gen property to Pokedex 2020-03-18 23:09:45 +04:00
The Immortal
51ccfd844d Fix Arceus items in past gens 2020-03-18 22:30:55 +04:00
Astrid Halberkamp
867f8c9843
TOTD: COTD -> COTW 2020-03-18 17:41:41 +01:00
Kirk Scheibelhut
c507ba001e
Update date in LICENSE to 2020 2020-03-18 09:38:46 -07:00
The Immortal
da856e67bd Fix crowned formes learnsets 2020-03-18 15:25:03 +04:00
The Immortal
bbb4da0131 Refactor forme data 2020-03-18 15:17:55 +04:00
Kris Johnson
53299ea068
Random Battles chat plugin: Fix Let's Go support (#6468) 2020-03-18 12:47:41 +04:00
Kris Johnson
3e26318758
Refactor learnsets.js (#6466) 2020-03-18 00:59:29 -07:00
Mia
6b31c251c7
Fix links for /randbats (#6467)
currently takes you to play.pokemonshowdown.com/dex.pokemonshowdown.com, which is obviously not right.
2020-03-18 00:48:11 -07:00
The Immortal
7e802c3268 Formats: Remove BS Doubles & update aliases 2020-03-18 11:13:47 +04:00
The Immortal
90ef9c6619 Doubles: Fix Doublade's tier 2020-03-18 11:03:19 +04:00
Guangcong Luo
884e059529 Correctly crash for errors in data files
Four years ago, Slayer95 added an error for invalid data files.

c1e452ea59 (diff-498e7bc80cf67d246be8aa3f2bbbb653R88)

To bypass the try/catch, he returned the error, and then checked for
the result being `instanceof Error`.

Three years ago, I refactored `tryRequire` to `loadDataFile` and moved
the `MODULE_NOT_FOUND` check from outside the function to inside it.

2604780ec5

But I didn't notice the `return new Error` pattern, so I didn't update
that to the modern pattern, so error checking has been broken ever
since.
2020-03-17 23:21:47 -07:00
Guangcong Luo
40499b6cf6 Remove dependency of sim on Config 2020-03-17 21:06:40 -07:00
Leonard Craft III
bce32d4613
Add Mirror Armor Parting Shot test (#6452) 2020-03-17 20:38:31 -07:00
Leonard Craft III
5e320c337c
Add additional Eject Pack tests (#6453) 2020-03-17 20:38:19 -07:00
Guangcong Luo
62f432c6c3 Fix build error 2020-03-17 19:49:13 -07:00
Guangcong Luo
f2357d167b Document EventInfo.shiny
It defaults to "never shiny" rather than "sometimes shiny" as might be
intuitively obvious, so it deserves documentation about this.
2020-03-17 19:44:50 -07:00
Kirk Scheibelhut
743173be57 Export Nature to allow TSC to compile Pokemon
"TS4053: Return type of public method from exported class has or is
using name 'Nature' from external module but cannot be named."

PS misses out on these errors because its TSC is dump in checkJS
mode, but if you ever try to emit with TSC it will type check things
properly.
2020-03-17 18:56:44 -07:00
Kirk Scheibelhut
508c2ed4aa Exported constant classes can't have private modifiers 2020-03-17 18:52:45 -07:00
Kirk Scheibelhut
86d3cc1174 Fix handling of missing format/level in sets 2020-03-17 15:03:43 -07:00
The Immortal
289cf2f040 Re-add the most popular gen 7 ladders 2020-03-18 02:00:02 +04:00
HoeenHero
b74a86d83c Only prune disconnected users 2020-03-17 13:42:24 -04:00
The Immortal
922a58de89 Random Battle: Update Electivire and Celebi 2020-03-17 14:24:17 +04:00
The Immortal
ffc88e833f Random Battle: Improve error handling 2020-03-17 14:23:38 +04:00
Kris Johnson
4090d2baac
SSB: Remove Raid (#6465) 2020-03-17 12:18:50 +04:00
Kirk Scheibelhut
17501fc001
Remove restrictions on concurrent battle searches (#6462)
https://www.smogon.com/forums/threads/improve-searching-for-concurrent-ladder-battles.3660989/
2020-03-16 21:17:34 -07:00
The Immortal
f4ae5b435f Correct Forme Clause 2020-03-16 23:21:11 +04:00
The Immortal
fc04f3e25e Random Battle: Fix Solgaleo 2020-03-16 23:20:44 +04:00
Kris Johnson
83ebdb27da
Add Dex#getOutOfBattleSpecies (#6463) 2020-03-16 20:31:38 +04:00
The Immortal
2f7fd7c9cd Random Battle: Add Kyogre
Missed in the mass update of db6b9add6.
2020-03-16 20:29:14 +04:00
PartMan
456295e337
Ban Melmetal from 2v2 (#6464)
https://www.smogon.com/forums/threads/2v2-doubles.3656321/page-7#post-8392997
2020-03-16 20:23:47 +04:00
The Immortal
db6b9add6b Random Battle updates 2020-03-16 14:03:48 +04:00
Guangcong Luo
64c3d75f1c Hide deleted rooms by default in chatlog 2020-03-16 03:35:32 -04:00
Guangcong Luo
c4e91d20e2 Improve chatlog design
Big thanks to smogon/pokemon-showdown-client@a176317913 for making
this possible!
2020-03-16 03:35:32 -04:00
Guangcong Luo
b7889f048f Fix chatlog permissions
- global auth should now be able to see chat logs of rooms they can't
  moderate

- secret and personal rooms that a staff member is either currently in,
  or has auth in, will now show up in the main logs list (although
  you should just use /chatlog, it's much easier)
2020-03-16 03:21:43 -04:00
Guangcong Luo
7de51956c5 Change BasicChatRoom to Room in some types
`user.can` and `user.authAtLeast` now take `Room | BasicChatRoom`
instead of `BasicChatRoom`. It's now significantly less necessary to
cast things to `BasicChatRoom`.
2020-03-15 19:52:59 -07:00
The Immortal
18f6dbe153 Add RU Sample Teams link 2020-03-15 12:25:52 +04:00
Leonard Craft III
589e1116f2
Update Doubles Ubers (#6460) 2020-03-15 11:24:55 +04:00
LegoFigure11
6d976fcf82
Update Online Competition banlist (#6461) 2020-03-15 11:22:43 +04:00
Marty-D
96b427f647
Fix Battle Competition rules
https://www.pokemon.com/us/pokemon-news/pokemon-sword-and-pokemon-shield-extreme-speed-single-battles-online-competition/
2020-03-14 19:45:17 -04:00
The Immortal
4acc7114f1
Add Monotype suspect notice 2020-03-14 20:01:19 +04:00
The Immortal
3e85f33014
Move Gyarados & Primarina to UUBL 2020-03-14 19:48:16 +04:00
Kris Johnson
02c93f8c68
OU: Add suspect notice (#6458) 2020-03-14 11:29:05 -04:00
Lusamine
2283b28afc
Update datacenters & ip-tools (#6459) 2020-03-14 11:27:26 -04:00
LegoFigure11
1c161b6dae
Add new Online Competition (#6457)
Extreme Speed! Single Battles!!
https://www.smogon.com/forums/threads/extreme-speed-single-battles.3661123/
2020-03-14 16:37:11 +04:00
The Immortal
bdfb975041 Gen 5 Randoms: Fix Sunflora 2020-03-14 13:09:01 +04:00