Commit Graph

23714 Commits

Author SHA1 Message Date
panpawn
f95d78c3c5 Whois: Show locked users' private rooms to staff (#3953) 2017-09-05 03:44:58 -04:00
Honko
2764077658 Gen 4 Random Battle improvements (#3948)
* Gen 4 Random Battle improvements

* Fix Explosion check; the old check always blocked it on many non-Normals.
* Allow mono-attacker sets with recovery + status heal, e.g. Refresh + Roost.
* Various other minor updates, most notably adding hazards to more movepools.

* Revert Arceus-Dragon movepool change

* Fix U-turn and simplify Arceus-Ghost movepool

* Update formats-data.js
2017-09-04 03:31:56 +04:00
MacChaeger
6c51031bf3 Randubs: Minimize unused attacking stats (#3945)
* Randubs: Minimize unused attacking stats

This is mostly for Celesteela and Guzzlord so that Beast Boost doesn't increase a useless stat.

* Fix typo

* Fix weirder typo
2017-09-03 12:42:15 +04:00
Charlie Kobayashi
6e176a5d17 UNO: fix playing 2 cards during UNO (#3949)
Add a new "uno" state (that does absolutely nothing except define what is going on), so that the previous player can't play their last card during the 750ms grace period for the player to slap the UNO button.

Credits to PS user "Java SE Runtime" for catching this
2017-09-03 09:38:36 +04:00
Kris Johnson
1a4baa5e33 Add OU suspect test (#3950) 2017-09-03 09:13:50 +04:00
CheeseMuffin
c086bb4887 Trivia: rename wl to wlink (#3943) 2017-09-02 03:52:07 -04:00
panpawn
877ecde1e8 Locked symbol: Use unicode code point (#3938)
This should use the unicode instead of the actual character itself for the same reason the player rank does - some text editors don't like unicode and will override this with an actual question mark.
2017-09-01 19:28:43 -04:00
Ben Davies
a5bc1e0045 Typescript: ladders-matchmaker.js (#3942) 2017-09-01 19:18:59 -04:00
Guangcong Luo
0b3ebfedf9 Fix crash when challenging self
Fixes #3936
2017-09-01 19:10:24 -04:00
Quinton Lee
d8317629af Sockets: fix 'already disconnected' errors (#3939)
worker.kill() already calls worker.disconnect() and socket.destroy() already calls socket.end()
2017-09-01 19:07:38 -04:00
panpawn
fb63b334b8 Trivia: Remove weeklock alias from trivia command (#3941) 2017-09-02 02:42:49 +04:00
The Immortal
2686b2da77 Update PU bans 2017-09-02 00:43:24 +04:00
The Immortal
ed773ce963 Update Tier Shift 2017-09-01 21:27:59 +04:00
Guangcong Luo
2cdbea7de5 Fix battle-disconnection detection logic 2017-09-01 06:57:57 -04:00
Guangcong Luo
05fa18e9a6 Fix reconnections 2017-09-01 06:50:52 -04:00
Guangcong Luo
5c8d5a63d8 Refactor some ladder functions to async/await 2017-09-01 06:45:13 -04:00
Guangcong Luo
e395201595 Fix style error in team-validator 2017-09-01 06:29:21 -04:00
Guangcong Luo
7a9310ac66 Fix Matchmaker hotpatching
Matchmaker is now globally accessible under Ladders, rather than
needing to be manually required.

This fixes a crash when hotpatching certain things.
2017-09-01 06:29:21 -04:00
CheeseMuffin
7ba80db59e Trivia: New game, general improvements (#3784) 2017-09-01 05:28:35 -04:00
Guangcong Luo
8786d17914 Fix Tier Shift 2017-09-01 05:08:28 -04:00
Guangcong Luo
cb459a37bc Rename matchmaker.startBattle -> Rooms.createBattle 2017-09-01 04:46:37 -04:00
The Immortal
88376e6c04 Update Tier Shift code 2017-09-01 12:03:08 +04:00
The Immortal
c5fe2ba741 Fix Tier Shift 2017-09-01 11:17:46 +04:00
The Immortal
f67701db9b Update OM aliases 2017-09-01 10:44:07 +04:00
The Immortal
399addebca Add new RoA Spotlight 2017-09-01 10:03:11 +04:00
The Immortal
204190b7ce Add new OM of the Month 2017-09-01 09:50:37 +04:00
Ben Davies
13a9b9f3a4 Typescript: fix monitor.js errors 2017-08-31 21:23:46 -03:00
urkerab
111c9ff071 Misty Terrain shouldn't -activate for secondary confusion (#3934) 2017-08-31 16:51:36 -04:00
asgdf
81a8e0672d Fix crash in /viewbanlist (#3932) 2017-08-31 06:59:41 -04:00
MacChaeger
b113cc9a57 Add command /viewbanlist (#3914)
This command is intended to be a quick-access option for checking banlists and rulesets for formats as well as descriptions of the rules that would get listed in case the user has questions.
2017-08-31 04:51:45 -04:00
Marty-D
c7335a3904 Gen I & Stadium: Fix secondary rolls 2017-08-30 09:52:32 -04:00
Marty-D
19097155d9 Gen I: Fix secondary stat drops 2017-08-30 09:50:41 -04:00
CheeseMuffin
ae894c5947 Dexsearch: Add Ubers alias (#3902) 2017-08-30 08:57:30 -04:00
Insist
aab814d3ea Stadium: Move Descriptions (#3928) 2017-08-30 08:50:04 -04:00
The Immortal
e34e9adb39 Add Mix and Mega suspect test 2017-08-30 16:11:35 +04:00
The Immortal
2ebcf1f584 Add new battle competition 2017-08-30 16:07:24 +04:00
MacChaeger
7b82cc9549 Randbats: Celesteela doesn't learn Rock Polish (#3930) 2017-08-30 15:49:49 +04:00
Guangcong Luo
523bb9f6df TypeScript: Add basic type annotation to chat.js
The file is very hard to validate, but I can add the basics for now...
2017-08-28 16:13:34 -07:00
panpawn
74ff102794 Chat: Refactor chat filter out of Config (#3868)
This allows chat-plugins to export a 'chatfilter' function to alter the chatfilter.

This keeps support for Config.chatfilter as well; it adds it to the array of Chat.filters

Note:
1. returning a string in a chatfilter will make that user's message said string
2. returning false will make a user's message not send
3. returning undefined will send a user's original message to the room
2017-08-27 23:11:07 -07:00
Ghoulean Algebra
f067ee13ee Gen II: Fix Hidden Power's power calculation (#3925)
Before : HP_Power=(5*(v+2w+4x+8y)+min(Z, 3))/2 + 31 
After: HP_Power=(5*(v+2w+4x+8y)+(Z % 4))/2 + 31 

where 
* v is 1 if SpcIV>=8; otherwise 0, 
* w is 1 if SpeIV>=8; otherwise 0, 
* x is 1 if DefIV>=8; otherwise 0, 
* y is 1 if AtkIV>=8; otherwise 0, 
* Z = SpcIV

See: 
http://tasvideos.org/forum/viewtopic.php?p=361950#361950
https://github.com/pret/pokecrystal/blob/master/battle/hidden_power.asm#L52
2017-08-27 20:22:05 -04:00
The Immortal
ef81dac6e4 Remove UU suspect testt 2017-08-28 03:16:45 +04:00
Austin Bartnicki
373675df12 Ban Xurkitree from UU (#3924)
http://www.smogon.com/forums/threads/sm-uu-stage-3-voting.3613280/page-3#post-7488377
2017-08-28 03:16:20 +04:00
Marty-D
3e6ba18cd4 Fix Disguise interaction with substitutes 2017-08-27 18:48:25 -04:00
Quinton Lee
2878230c9c Tournaments: fix display of added rules 2017-08-27 17:20:45 -05:00
asgdf
fb013ab7dc Fix message when namelocking already namelocked user (#3923) 2017-08-27 14:01:25 -07:00
Guangcong Luo
b2e989fc76 Fix npm start 2017-08-27 13:59:56 -07:00
urkerab
5ea93dc11b Fix parameters to onAnyBasePower for Dark/Fairy Aura (#3922) 2017-08-27 14:45:15 -05:00
asgdf
1ef2c6ba94 Modlog: Fix user search for usernames containing certain non-alphanum characters (#3919) 2017-08-26 12:59:16 -07:00
The Immortal
3bfb7ee5c0 AAA: Remove Swagger Clause 2017-08-26 19:32:01 +04:00
The Immortal
31054e7447 Mix and Mega: Remove Swagger Clause 2017-08-26 06:29:34 +04:00