Commit Graph

23714 Commits

Author SHA1 Message Date
Kirk Scheibelhut
9f5a727ad1 Pull Field out of Battle (#5333) 2019-03-23 02:52:12 +09:00
urkerab
e2beda76a8 Don't show failure when Stockpile ends after no boost (#5324) 2019-03-23 00:11:41 +09:00
Kirk Scheibelhut
22b07d4ae6 Improve autochoose comment per @Slayer95 2019-03-22 02:42:05 -05:00
Kirk Scheibelhut
e61965eaf5 Pull out RandomPlayerAI from example and enhance 2019-03-22 02:42:05 -05:00
Kirk Scheibelhut
c911ee6fa6 Move sim/battle-stream-example.ts to sim/examples subdir 2019-03-22 02:42:05 -05:00
Ivo Julca
3cbe38130c Test: Fix usage of assert.throws() 2019-03-22 02:26:14 -05:00
Ivo Julca
dd2759c1c3 Test: Fix testing of choice internals 2019-03-22 02:21:22 -05:00
Ivo Julca
7736cbf21d Test: Remove usage of deprecated Battle#join() API 2019-03-22 01:48:34 -05:00
The Immortal
1cade1340a Random Battle improvements 2019-03-22 03:02:41 +04:00
Guangcong Luo
8e7ba4d436
Fix line length for 0-EV check 2019-03-22 02:37:30 +09:00
Kirk Scheibelhut
2b1c278c42 Fix 'floating' promises and enable lint errors going forward (#5297) 2019-03-22 02:21:17 +09:00
Kirk Scheibelhut
03b2c92cb1 Make isNonstandard specify reason for non-standardness (#5330) 2019-03-22 01:49:22 +09:00
Kirk Scheibelhut
4be90a0a28 Cleanup sim/battle.ts (#5325) 2019-03-22 01:25:12 +09:00
Marty-D
4854febb2e Gen I: Fix Leech Seed recovery 2019-03-21 09:26:24 -04:00
Kirk Scheibelhut
564dae455d Make Battle throw on choice errors in tests (#5286) 2019-03-21 13:14:38 +09:00
Slayer95
0861c02479
Validator: Don't reject 0 EVs in debug mode 2019-03-20 15:27:51 -05: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
Marty-D
b94b5038b5 Rulesets: Make Little Cup work for any gen 2019-03-20 08:25:57 -04:00
Marty-D
05bb30ac82 Formats: Fix LC suspect thread link 2019-03-20 08:24:51 -04:00
whales
5cbee5d996 Prevent getting info of the global room (#5328) 2019-03-20 17:43:16 +09:00
Kris Johnson
b74a2d19d4 Prevent Landorus-Therian from holding Mega Stones in M&M (#5327)
https://www.smogon.com/forums/threads/usum-m-m-landorus-therian-suspect-voting.3648321/page-2#post-8072356
2019-03-20 12:13:51 +09:00
MacChaeger
a44f16c6e3 Fix pivot moves vs. Substitute (#5314) 2019-03-19 11:50:27 +09:00
Kris Johnson
ebf4ec7387 Add LC Suspect notice (#5319)
https://www.smogon.com/forums/threads/lc-suspect-gold-digger.3648309/
2019-03-19 11:49:38 +09:00
MacChaeger
d8514b47cc Refactor findEventHandlers to work with 4 players (#5313) 2019-03-19 11:49:18 +09: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
MacChaeger
47aadf9cc8 Fix spread modifier for gen 4 FFA battles (#5321) 2019-03-19 10:46:18 +09:00
Kirk Scheibelhut
cab87325e9 Push 'update' to p3 & p4 in BattleStream (#5317) 2019-03-19 09:40:31 +09:00
Kris Johnson
f4300a8692 Add "(PU)" support for Gen 6 (#5316) 2019-03-18 22:50:48 +04:00
The Immortal
b0f9a9f493 Random Battle updates 2019-03-18 22:49:14 +04:00
The Immortal
e4b976cf47
Remove PU and MnM suspect notices 2019-03-18 19:56:46 +04:00
Guangcong Luo
2153f768e1
Fix createBattle logic 2019-03-18 19:49:16 +09:00
Ivo Julca
d1242593f3 Sockets: Refactor event handlers
Define them early for better performance
2019-03-18 00:53:09 -05:00
MacChaeger
6ac8266696 Support 4 player battles (#5266) 2019-03-18 13:37:27 +09:00
MacChaeger
6c486409f4 Fix spread move effect order (#5216) 2019-03-17 23:30:08 +09:00
Marty-D
2d08a1ec61
Gen II: Improve boostBy 2019-03-17 10:03:01 -04:00
Kevin Lau
7ec830c790 Random Doubles Updates (#5311) 2019-03-17 16:20:24 +04:00
Snaquaza
00fab15ca4 Mafia: Add Themes (#5305) 2019-03-17 06:54:29 -04:00
Guangcong Luo
efa0af0ef1 Propagate errors through streams 2019-03-17 07:48:02 +09:00
Marty-D
9315b8d4d8 Gen II: Cap stat boosting properly 2019-03-16 17:49:25 -04:00
Marty-D
39a8b4270e Fix Stealth Rock effectiveness during Delta Stream 2019-03-16 14:38:03 -04:00
Ben Davies
3204b721b4 Fix bug in /cmd roominfo
It was checking whether or not a user was capable of viewing a private
room's info based off the room it was sent in, not the target room.
2019-03-16 08:48:49 -03:00
Guangcong Luo
9073a5a8bf Improve Streams typing
When I originally wrote the Streams library, TypeScript-in-JS didn't
support generics. But now the library can have significantly nicer
typing, and so it now does.
2019-03-16 17:12:21 +09:00
Marty-D
2a9442eb50
Doubles OU: Add Marshadow suspect notice 2019-03-15 19:42:15 -04:00
Kirk Scheibelhut
0e1708bf9f Enable prefer-const and max 120 character lines for .ts files (#5292) 2019-03-16 07:14:04 +09:00
force
b6a28d693d SSB: Bug Fixes & Update Names/Ranks (#5295) 2019-03-15 08:54:58 -04:00
Guangcong Luo
84eebaad16
Fix sanity check in validTargetLoc 2019-03-15 10:26:54 +09:00
The Immortal
7eaddde0d2
ORAS 1v1: Fix banlist 2019-03-14 18:52:46 +04:00
urkerab
2ea89698b0 Run effectiveness events even for string type (#5310) 2019-03-14 20:03:14 +09:00
Slayer95
f7982c390c
Remove |seed| messages
Redundant with randbats' public inputLog
2019-03-13 19:48:15 -05:00