Commit Graph

23714 Commits

Author SHA1 Message Date
Slayer95
694cd47e7b Fix target resolution (#5363) 2019-03-30 22:34:44 +08:00
Slayer95
628f32e8fb Stricter type definitions for dex data (#5375)
BattleStatuses switched to PureEffectData
2019-03-30 22:31:04 +08:00
Kirk Scheibelhut
b7d9d6c611 Handle targetting adjacentFoe and adjacentAllyOrSelf in RandomPlayerAI (#5381) 2019-03-30 14:00:25 +08:00
Kirk Scheibelhut
a0cde60d17 Turn on more tslint checks (#5379) 2019-03-30 11:55:18 +08:00
Kirk Scheibelhut
081ce82d15 Revert "Sockets: Refactor event handlers" instead of sockjs. (#5378)
* Revert "Sockets: Refactor event handlers"

This reverts commit d1242593f3.

* Revert "Switch back to sockjs 0.3.18 (#5376)"

This reverts commit 880ded4ed8.
2019-03-30 00:52:02 +08:00
Kirk Scheibelhut
c075cad379 Turn on no-for-in-array in tslint config (#5377) 2019-03-30 00:31:08 +08:00
Konrad Borowski
347e8a5181 Replace for-in pokemon.moveSlots iteration with for-of 2019-03-29 17:08:23 +01:00
Kirk Scheibelhut
880ded4ed8 Switch back to sockjs 0.3.18 (#5376) 2019-03-29 23:27:41 +08:00
MacChaeger
a729cb577f Fix duration of slot conditions (#5372) 2019-03-29 23:03:10 +08:00
MacChaeger
2edd8a354f Fix Leech Seed vs. Magic Guard (#5374) 2019-03-29 23:01:50 +08:00
MacChaeger
5a4578420b Fix attacks failing if only their effect fails (#5373) 2019-03-29 22:48:15 +08:00
The Immortal
f786b14b4c Random Battle: Adjust Floette rate 2019-03-29 12:04:24 +04:00
Marty-D
1f8eeae108 Revert "Battle#residualEvent: Check fainted status earlier"
This reverts commit d499a019f0.
2019-03-28 14:55:13 -04:00
Konrad Borowski
d71a5c90a4 Temporarily mark flatMap as non-enumerable
This should deal with the issues with code using for-in
for arrays. This is a hack and should be removed.
2019-03-28 19:43:07 +01:00
MacChaeger
9472019e03 Fix Gear Up and Magnetic Flux (#5368) 2019-03-28 14:19:47 -04:00
Marty-D
40c2210bf0 Gen 4 OU: Ban Sand Veil
https://www.smogon.com/forums/threads/dpp-sand-veil.3648687/
2019-03-28 13:13:26 -04:00
The Immortal
8d56dad32b Random Battle updates 2019-03-28 21:06:55 +04:00
Alexander B
57701a5f04 Refactor OMs to use "m" property of Pokemon (#4957) 2019-03-28 22:28:35 +08:00
Kevin Lau
9c226c5556 Reject Magnet Pull on non-Earth Power Probopass (#5354) 2019-03-28 17:20:21 +04:00
Lucas-Meijer
c8fe3374e9 Mafia: Shorten Idea Timer and Correct IDEA Rolelists (#5357) 2019-03-28 08:54:09 -04:00
Marty-D
95fcc86028 Add new event Pokemon
and release Oranguru and Passimian's Hidden Abilities
2019-03-28 08:32:45 -04:00
MacChaeger
905ed1e95c Fix multihit moves continuing after a KO (#5360) 2019-03-28 19:02:37 +08:00
Slayer95
c18f244071
Test: Prevent before hook from timing out
It times out often in certain environments.
2019-03-28 00:06:45 -05:00
HoeenHero
d40c4f9db7 Update language support for /analysis 2019-03-27 13:15:28 -04:00
HoeenHero
8d9af2bb83 Battlesearch: Fix date sorting 2019-03-27 13:15:24 -04:00
JetOU
3b59a1fffa Fix LICENSE.md (#5366)
Commit 4a67a1f38a, didn't seem to fix it, I tested this on my fork and it seemed to work.
2019-03-28 00:38:22 +08:00
JetOU
b396ce9edb Allow multi-line htmlbox (#5334) 2019-03-27 22:06:51 +08:00
Kris Johnson
894a118ede Remove 1v1 suspect notice
https://www.smogon.com/forums/threads/usum-1v1-jirachi-retest-voting.3648617/#post-8079383
2019-03-27 01:08:38 -05:00
Ivo Julca
ac4b94876b Sim: Refactor to use Battle#getAllPokemon() and Battle#getAllActive() 2019-03-26 23:18:19 -05:00
Ivo Julca
0ae0405f46 Sim: Implement Battle#getAllPokemon() and Battle#getAllActive() 2019-03-26 23:18:19 -05:00
Ivo Julca
2747ce61fb Sim: Split Pokemon#nearby(Allies|Foes) feature out of Pokemon#(allies|foes) 2019-03-26 23:18:19 -05:00
MacChaeger
6adc779a19 Fix doubled recoil (#5358) 2019-03-27 11:15:57 +08:00
MacChaeger
9a7ce3dedf Put side conditions on p1 and p2 in multi battles (#5341) 2019-03-27 11:00:36 +08:00
Slayer95
d499a019f0
Battle#residualEvent: Check fainted status earlier 2019-03-26 18:15:18 -05:00
Kirk Scheibelhut
d01b1599fc Update dependencies (#5352) 2019-03-27 01:59:30 +09:00
Marty-D
6d3b467dcf
Add Battle Spot Special 15 2019-03-26 10:11:37 -04:00
Kevin Lau
3790c2496a Random Battle: Fix odds of various forme differences (#5355)
Castform is moved to 1/3 odds because normal Castform isn't rolled.
2019-03-26 15:45:36 +04:00
MacChaeger
860900ac57 Fix AfterDamage event running on secondary effects (#5350) 2019-03-26 15:29:46 +09:00
Konrad Borowski
073a68bb3b Always mention subroom status in /roomauth (#5349)
In particular this allows displaying this information when room has no
roomauth.
2019-03-25 21:32:28 +01:00
Kirk Scheibelhut
134fb8b852 Return from nextTurn if Endless Battle Clause is activated (#5347) 2019-03-26 03:07:09 +09:00
Guangcong Luo
c25b152e51 Fix onCreateBattleRoom
(And some other issues introduced by 4p refactor.)
2019-03-26 00:47:48 +09:00
Marty-D
a66a6f5ecb
Doubles OU: Remove suspect notice 2019-03-25 08:40:33 -04:00
MacChaeger
6760be4264 Restore Cancel Button (#5345) 2019-03-25 14:17:30 +09:00
MacChaeger
233ffd2cba Nerf Pikachu in randdubs (#5343) 2019-03-25 05:50:35 +04:00
Ivo Julca
d4b9b98678 TCG: Refactor net functions
- Fix error handling
- Use async-await
2019-03-24 02:24:30 -05:00
Guangcong Luo
6d563f555a Fix stream ending 2019-03-24 02:31:39 +09:00
Guangcong Luo
78c0433436 Fix ./pokemon-showdown simulate-battle
Fixes #5338
2019-03-23 17:39:11 +09:00
whales
b7eca3794d Send roomid in /cmd roominfo response (#5339) 2019-03-23 16:08:43 +09:00
JetOU
50222edbdb Fix LGTM alert
`Operands hasMove['hypnosis'] and hasMove['hypnosis'] are identical.`
2019-03-22 23:24:58 -05:00
Kris Johnson
ab8124b2bd Remove Species Clause from Gen 6 1v1 (#5336)
it shouldnt be in it <https://www.smogon.com/forums/threads/1v1-old-gens.3646875/#post-8031456>
2019-03-23 03:14:34 +04:00