TheImmortal
1e14d8df07
Free Jaboca Berry
2013-01-17 18:44:20 +04:00
Guangcong Luo
9fd80b6050
We are now officially MIT Licensed
2013-01-17 05:00:28 -08:00
Guangcong Luo
c6fb38f05d
Increase inactive timer's default limits
2013-01-17 05:00:28 -08:00
Guangcong Luo
c74e1c8364
Update the default permissions for some new commands
2013-01-17 05:00:28 -08:00
Guangcong Luo
ee3551c510
Merge pull request #137 from Joimer/patch-1
...
Added /blockchallenges and /allowchallenges so users can block challenges
2013-01-17 04:51:19 -08:00
Joim
35ed63650c
Added blockchallenges and allowchallenges
...
Added commands /blockchallenges or /bc and /allowchallenges or /ac to let the user choose whether to accept challenges from other users or not.
2013-01-17 13:35:54 +01:00
Joim
4cab09132e
Added property allowChallenges to User
...
Added property allowChallenges to User to block / allow challenges. Property is set true or false with chat commands.
2013-01-17 13:28:14 +01:00
Cathy J. Fitzpatrick
facd6b0d36
Set Protect counterMax for Gen 3.
2013-01-16 03:49:39 -07:00
Cathy Fitzpatrick
03d9da0d5b
Use this.effect for constant effect property.
2013-01-15 22:56:45 -07:00
Cathy Fitzpatrick
8f6313a705
This commit makes several changes to Protect and related moves in both
...
Gen 4 and Gen 5:
1) In Gen 4, the chance of protecting succeeding does not fall below
1/8, which has now been corrected in this commit. Previously, the
chance of success in Gen 4 was allowed to drop all the way to
1/(2**32) as in Gen 5.
Please see upokecenter for the correct mechanics:
http://upokecenter.dreamhosters.com/dex/?lang=en&move=182
For Protect and friends, Smogon currently says that the chance of
success does not fall below 50%, which is inconsistent both with the
current Pokemon Showdown! behaviour and with upokecenter. It is
pretty much certain that upokecenter is accurate here, since it is
based directly on the in-game data. This commit implements the
upokecenter mechanics.
2) This commit also consolidates some duplicate code with Protect and
friends by moving the miss chance logic to an event of the 'stall'
volatile called onStallMove. This allows me to remove some duplicate
code from moves.js.
3) Currently, some but not all of Protect and friends have a flag
called stallingMove set to true. This flag does not appear to be used
for anything. However, for consistency, I have set it to true for all
the "stall moves", as opposed to just a subset of them.
2013-01-15 22:33:54 -07:00
Guangcong Luo
d7b28b40ad
Fix sometimes incorrect Leech Seed message in doubles
2013-01-14 21:58:10 -08:00
Guangcong Luo
e7f07a53bb
New function getExact (refactor ladder stuff)
2013-01-14 21:00:39 -08:00
Guangcong Luo
52e6d6d4a8
Disallow avoiding losses by switching to an alt
2013-01-14 20:16:51 -08:00
Guangcong Luo
b2ace51c59
Make sure Mold Breaker nullifies Snow Cloak and Sand Veil
2013-01-14 19:23:15 -08:00
Guangcong Luo
fb4f4e5f9d
Slow Start goes away when the ability changes
2013-01-14 19:18:59 -08:00
Guangcong Luo
7bfae196eb
Fix crash in obscure situations with 1 pokemon
...
(It would previously crash if you used U-turn in doubles with a starting
team of 1 pokemon)
2013-01-14 19:18:59 -08:00
Guangcong Luo
3b69429f3f
Fix crash with Beat Up
...
(it would crash if, in doubles, a Pokemon in slot 2 that was statused
used Beat Up)
2013-01-14 19:18:59 -08:00
TheImmortal
0e25b08412
Randbats: Prevent Shed Skin + Chesto with Rest
2013-01-15 02:08:54 +04:00
TheImmortal
134910140b
Viable moves changes
2013-01-15 02:03:33 +04:00
TheImmortal
f70ce8b12c
Fix LC bug with DW moves
...
- No LC Pokemon can legally use its moves that are exclusively obtained from the Dream World
In other words, the Pokemon has to be above level 10 with it's DW ability + DW exclusive move
2013-01-15 01:51:34 +04:00
Guangcong Luo
485446a964
Chansey's been quickbanned in UU
2013-01-13 08:08:02 -08:00
TheImmortal
0e971bd3a8
Add Smogon Doubles and VGC 2013 to !om
2013-01-13 18:40:52 +04:00
Guangcong Luo
4811087267
Screens are less effective in doubles
2013-01-12 15:22:01 -08:00
Guangcong Luo
acbeada910
Fix Magic Guard
2013-01-11 22:51:22 -08:00
Guangcong Luo
e37792dcf8
Fix bug in spread hit damage calculation
2013-01-11 17:13:00 -08:00
Guangcong Luo
f6f2d0febc
Properly fix spread hits and damage reduction
2013-01-11 16:03:51 -08:00
Guangcong Luo
4827a10931
Spread hits only get damage reduction if they spread
2013-01-11 15:57:39 -08:00
TheImmortal
65e0cebf6f
Set level before set is validated- maxLevel for LC
2013-01-11 14:03:52 +04:00
Guangcong Luo
39c33e409c
Fix the learnset checker to handle chainbreeding better
...
Specifically, Spikes + Sleep Powder Roserade is no longer legal
Also add more comments to checkLearnset
2013-01-11 01:42:47 -08:00
Guangcong Luo
51c8bae7d6
More lenient inactivity timer
2013-01-10 20:32:17 -08:00
Guangcong Luo
dd60182a2e
Evasion Moves Clause - fix spelling
2013-01-10 20:31:58 -08:00
Guangcong Luo
ff432c40f9
Smogon Doubles doesn't have Moody Clause
2013-01-10 20:31:39 -08:00
Guangcong Luo
3f6e8fa249
When restarting the server, all battles become timed
2013-01-10 20:31:12 -08:00
TheImmortal
793da30280
Merge pull request #132 from bechm001/patch-11
...
Added Evasion abilities clause to OU current
2013-01-10 07:21:10 -08:00
MJB
6a0df24a40
Added Evasion abilities clause to OU current
...
This seemed to be omitted for some reason, fairly sure it should be in effect
2013-01-10 15:09:12 +00:00
Guangcong Luo
14f8460755
Don't do redundant checks for fainted pokemon switching
2013-01-10 02:14:15 -08:00
Guangcong Luo
1b0f2760b2
Smogon doubles should be a rated format
2013-01-10 02:13:41 -08:00
Guangcong Luo
42abd07ef0
Fix where the timer messages appear
...
(timer messages should be much less confusing now)
2013-01-10 02:02:02 -08:00
Guangcong Luo
d4ab09b9f7
Fix some bugs with the reset timer
2013-01-10 00:50:20 -08:00
Guangcong Luo
3598cc277d
Implement Smogon Doubles
2013-01-10 00:50:20 -08:00
Guangcong Luo
15fe32fa5c
Fix battle timer on/off detection
2013-01-10 00:50:20 -08:00
TheImmortal
3b647dbdfd
Update learnset checker
2013-01-10 11:36:00 +04:00
TheImmortal
c4e8fb9632
Fix Little Cup illegalities with DW abilities
2013-01-09 19:48:45 +04:00
Guangcong Luo
13aafe2909
New battle timer
2013-01-09 00:31:07 -08:00
Marty-D
ddbd2d37c4
Fix multi-hit moves.
2013-01-08 20:23:21 -05:00
TheImmortal
31d0afce58
Viable moves updates
2013-01-09 01:21:00 +04:00
Marty-D
42ef0bb533
Fix Wide Guard.
2013-01-08 15:56:56 -05:00
TheImmortal
e8e8acbc26
Randbats: Set Snover to level 95
2013-01-08 23:43:04 +04:00
TheImmortal
b52cb1e272
Randbats: Prevent Choice Band + Rapid Spin
2013-01-08 21:05:57 +04:00
Marty-D
01906be31e
Fix Normal Gem + Explosion, Red Card / Eject Button for real.
2013-01-08 12:01:00 -05:00