Commit Graph

9229 Commits

Author SHA1 Message Date
Kevin Lau
c2feca8abf Fix Seasonals bug with choice locked items 2015-08-01 13:04:32 -07:00
Kevin Lau
576ef69c05 Fix Seasonals crash with Golden Mushrooms 2015-08-01 12:20:10 -07:00
The Immortal
71558b0bc2 Add Doubles OU suspect test
And fixed the appearance of Doubles UU/NU.
2015-08-01 22:55:19 +04:00
The Immortal
a6effadab4 Add Pikachu Cup 2015-08-01 20:53:46 +04:00
Guangcong Luo
9ce77515d8 Merge pull request #2091 from kotarou3/repl
Fix race condition while deleting old repl sockets
2015-08-01 06:55:19 +00:00
Guangcong Luo
3825e2e310 Fix Endless Battle Clause 2015-08-01 02:56:08 -04:00
Guangcong Luo
59e574634b Support an eval message in socket processes
This is intended to be used as a last resort for if a socket process
needs to be hotpatched, and kota's REPL code is too unstable to be
used.

Usage: manually `socket.send('$code')`
2015-08-01 02:56:08 -04:00
Guangcong Luo
64e30aa6e2 Pass userType to loginfilter 2015-08-01 02:56:08 -04:00
Guangcong Luo
20c1f4c6cb Show permalock in /whois 2015-08-01 02:56:08 -04:00
Guangcong Luo
b0365745c0 Redesign /whois
The information is now sent all at once in a replybox, and broken up
into separate public and private sections.

It also reports information on a semilock feature, which will be
committed separately sometime later.

The name in the replybox is clickable, and there are some other
subtler changes to make it look nicer.
2015-08-01 02:55:57 -04:00
Guangcong Luo
84897f7142 Disable REPL by default
The REPL feature has been responsible for tons of crashes, so I'm
disabling it until these crashes can be fixed.

I'm also disabling it until it actually gets documented in
`logs/repl/README.md`, because what's there right now is not
enough documentation to actually figure out how to use it.
2015-08-01 02:55:05 -04:00
Kevin Lau
0c0107f189 Fix behavior with /analysis Meowstic
/analysis Meowstic and /analysis Meowstic-M now link correctly.
2015-08-01 02:55:05 -04:00
小太
3c19900f7b Fix race condition while deleting old repl sockets 2015-07-31 21:23:04 +10:00
Ivo Julca
0a1cf02b9d Prevent login server requests in tests 2015-07-30 09:20:47 -05:00
Guangcong Luo
08463c42a5 Merge pull request #2040 from ascriptmaster/seasonal
Implement August/September Seasonal, Rainbow Road
2015-07-30 03:49:41 +00:00
Ivo Julca
2670d4d2ce Fix stray spacing style issues
These were not caught by the CI until the cache was deleted.
2015-07-29 15:34:42 -05:00
Ivo Julca
47263c8749 Fix players of rated battles getting out of sync on rename
- This removes one of the reasons of `sendFor` calls' sometimes failing.
- This also fixes battle logs so that they register the proper end type (forfeit).
2015-07-29 15:18:17 -05:00
The Immortal
d3675aba29 Merge pull request #2088 from ascriptmaster/randoms
Random Doubles: Tweak Helping Hand, Heal Pulse, Trick Room distributions
2015-07-29 22:27:41 +04:00
Kevin Lau
9ab24bd684 Random Doubles: Tweak Helping Hand, Heal Pulse, Trick Room distributions
Removed Helping Hand and Heal Pulse from Pokemon with very low usage stats
for those moves.

Reject Trick Room with Icy Wind.
2015-07-29 11:10:22 -07:00
Guangcong Luo
ef2a497c9f Merge pull request #2087 from Slayer95/meta
Update dependencies and JSCS rules
2015-07-29 07:52:04 +00:00
Ivo Julca
cd36fbfde2 Gulpfile: add more JSCS rules
- Disallow spaces between function names and round brackets.
- Disallow spaces inside array/object literal brackets.
- Disallow spaces before semicolons.
- Disallow yoda conditions for equality.
2015-07-28 19:38:53 -05:00
Ivo Julca
4d4903d3a7 Update dependency versions and types
- All dependencies are optional except for `sockjs` and `sugar`.
- Fixes global variable leaks in `cloud-env` and `node-static`.
- JSCS: remove (disabled) no longer existent rule: validateJSDoc.
- JSCS: remove `esnext` rule: ES6 is current.
2015-07-28 19:33:38 -05:00
The Immortal
8bcafdcea7 OU Theorymon: Add new winners 2015-07-28 19:33:24 +04:00
The Immortal
77d2cec157 STABmons: Fix 079e167 2015-07-28 16:34:31 +04:00
Ivo Julca
079e167fd8 STABmons: allow Hoopa to inherit from Hoopa-U 2015-07-27 21:52:46 -05:00
Kevin Lau
0dc1579a02 Update documentation of -ability message protocol 2015-07-27 15:16:52 -07:00
Marty-D
5cb2cf0311 Merge pull request #2074 from ascriptmaster/move-fixes-3
Ice Ball and Rollout do not double BP when hitting multiple times/turn
2015-07-27 16:19:31 -04:00
DanUgore
b06f676f41 Merge pull request #2082 from Rhythms88/master
Fix Defeatist's interaction with HP
2015-07-27 00:41:51 -04:00
Rhythms
8183ffe09e Fix Defeatist's interaction with HP
@Marty: please stop believing websites that aren't this one or UPC :/
The description for Defeatist is literally "While this Pokemon has 1/2
or less of its maximum HP, its Attack and Special Attack are halved."
I even looked in-game and it said it was half of lower, and even sites
we shouldn't trush say it's 1/2 or less of max HP.
2015-07-26 21:55:16 -06:00
Kevin Lau
7513362001 Parental Bond does not affect Ice Ball or Rollout
Also, if Ice Ball or Rollout are somehow made to hit more than 5 times
without resetting, subsequent hits should be 30 BP.
2015-07-26 19:58:40 -07:00
Kevin Lau
9a7585c58e Add tests for Ice Ball/Rollout 2015-07-26 19:58:38 -07:00
Guangcong Luo
7720fd58d2 Show /dt info for exactly one result in /ds, /randpoke 2015-07-26 21:35:23 -04:00
Guangcong Luo
f8ad3d950b Support >= and > in dexsearch
This refactors dexsearch to be a bit nicer, in addition to now
recognizing the difference between >= and > and < and <=.
2015-07-26 21:35:23 -04:00
Marty-D
a12200fed7 Fix Attract removal timing 2015-07-26 17:08:07 -04:00
The Immortal
f29e35ea9d Move Pidgeot to PU
And it’s custom Random Battle level isn’t needed anymore because it’s
unlikely (Mega) Pidgeot will go to OU.
2015-07-26 15:59:29 +04:00
Guangcong Luo
800983f8f7 Fix this.inputUsername with no comma
This fixes the this.inputUsername API for .splitTarget for commands.
Mainly relevant to using /lock and /ban on a user who's renamed
themself.
2015-07-26 04:51:51 -04:00
Guangcong Luo
8fd4ea2bae Fix locked move and PP tracking interaction 2015-07-26 04:18:31 -04:00
Guangcong Luo
eb55cf35d4 Merge pull request #2080 from SolarisFox/patch-1
/dexsearch: exclude bide as a priority move
2015-07-26 07:51:53 +00:00
Ivo Julca
ed0f8ed614 Fix mutation of Shaymin typing in STABmons set validation 2015-07-26 01:32:37 -05:00
SolarisFox
58ee2c6c2d /dexsearch: exclude bide as a priority move 2015-07-25 23:20:13 -07:00
Ivo Julca
4061ca4d5c Battle Factory: update sets
This adds the remaining Arceus formes,bringing the Ubers tier in line with
http://www.smogon.com/forums/threads/representation-of-unviable-ubers-in-battle-factory.3544108

Some UU and NU sets are hereby updated as well.
2015-07-26 00:34:25 -05:00
Guangcong Luo
d21ac1b768 Workaround for unavailable IPs
Some servers don't support getting IPs from sockets, for some reason.
In these servers, locking/banning one user no longer locks everyone.
2015-07-25 19:29:55 -04:00
Marty-D
192ad88ef9 Fix remaining boost orders
- Magnetic Flux, Shift Gear, Weak Armor
2015-07-25 11:40:36 -04:00
Ivo Julca
fc3adb13aa Make /formatshelp less spammy 2015-07-25 09:55:58 -05:00
Marty-D
d00ed0c5c5 Fix trailing whitespace from cf295251a1 2015-07-24 21:26:28 -04:00
Marty-D
aadef53c75 Gen IV: Fix Leaf Guard 2015-07-24 21:23:12 -04:00
Marty-D
94e4027505 Gen IV: Fix Flower Gift 2015-07-24 21:21:51 -04:00
Marty-D
2903c96974 Merge pull request #2075 from Pikachuun/master
Fix Flower Gift
2015-07-24 20:52:41 -04:00
Pikachuun
cf295251a1 Fix Flower Gift 2015-07-24 20:03:25 -04:00
Guangcong Luo
fbac721b07 Merge pull request #2079 from ascriptmaster/move-fixes-2
Normalize ModifySpe calculations with the other Modify-Stat events
2015-07-24 22:41:48 +00:00