Guangcong Luo
37e19022c0
Add 'Browser support' section to documentation.
2012-01-31 16:43:18 -05:00
Guangcong Luo
10e7f6b198
Update documentation for new Showdown URL scheme.
2012-01-31 16:11:24 -05:00
Guangcong Luo
07eddfc09f
Allow specifying port via command-line.
2012-01-31 15:41:23 -05:00
Guangcong Luo
027f5a61aa
Slightly better error messages when PMing fails
2012-01-30 00:33:05 -05:00
Guangcong Luo
8e88b268b7
Fix a crash on deallocation: Don't try to deallocate things that don't exist
2012-01-30 00:30:43 -05:00
Guangcong Luo
ae49eb9219
Make sure empty rooms don't ever have more than one destroy timer.
2012-01-28 18:33:20 -05:00
Guangcong Luo
9fff1a3e43
Update tiers:
...
- Porygon-Z and Cresselia are now BL2
- Necturna has been added to CAP
2012-01-27 23:16:12 -05:00
Guangcong Luo
c645cc3fef
Pre-emptively add 'BL3' to the NU banlist.
...
(Gorebyss is being suspect voted)
2012-01-27 23:15:43 -05:00
Guangcong Luo
899cac42e0
Make rooms time out and deallocate after being empty for an hour
...
Should theoretically greatly increase the amount of time before PS runs out of memory
2012-01-27 19:19:33 -05:00
Guangcong Luo
6a4a0cf88a
Don't allow Multitype or Illusion to be copied, ever.
2012-01-25 20:58:43 -05:00
Bill Meltsner
0484284367
Should hopefully fix Iron Barbs, and some other ability/item effects, triggering through Protect.
2012-01-25 20:56:49 -05:00
Guangcong Luo
9fed807e5e
Implement Power Swap and Guard Swap
2012-01-21 17:36:20 -05:00
Guangcong Luo
b339c7453f
Make sure PP can't go negative.
2012-01-21 17:36:17 -05:00
Guangcong Luo
279bc76db1
Improve PS's implementation of priority
...
Priority and SubPriority are implemented properly - SubPriority is lower priority than Speed. Also introduces Order and SubOrder, which are shorthand notation for negative priority, generally useful for situations in which you want to order events from lowest to highest.
2012-01-11 13:08:10 -05:00
Guangcong Luo
689f207eb3
Merge branch 'master' of github.com:Zarel/Pokemon-Showdown
2012-01-11 11:33:08 -05:00
Guangcong Luo
d0f746ffe9
Make Encore to store the Encored move
...
Should fix several Encore bugs, e.g. Encore no longer ends when it forces Struggle
2012-01-11 11:30:43 -05:00
Guangcong Luo
385922f6d2
Clear a user's people array when destroying it.
...
Should make bans more reliable. I think.
2012-01-11 11:29:43 -05:00
Bill Meltsner
60c18f595f
Implement Red Card and Eject Button.
2012-01-11 00:39:12 -06:00
Guangcong Luo
df56a7a238
FINALLY fix Endure.
...
Turns out, its onDamage event handler function definition omitted the `source` argument.
2012-01-10 19:21:08 -05:00
Bill Meltsner
d312c6d87d
Focus Sash/Band and Sturdy should only withstand hits if they come from moves, not from other forms of damage.
2012-01-10 16:51:37 -06:00
Guangcong Luo
9f36afad45
Merge branch 'master' of github.com:Zarel/Pokemon-Showdown
2012-01-10 17:24:04 -05:00
Guangcong Luo
8e3972256c
Merge pull request #1 from lamperi/master
...
Fixed a Focus Sash bug.
2012-01-10 14:21:10 -08:00
Toni Fadjukoff
84c3329060
Fixed a Focus Sash bug.
...
- If the attack did exactly the HP amount of damage,
holder of sash would still get KO'd.
- Also applies Sturdy and Focus Band.
2012-01-10 23:43:01 +02:00
Guangcong Luo
5fe8c3ebba
Implement Pressure.
2012-01-10 14:15:05 -05:00
Guangcong Luo
cabd69eab7
Refactor: rename getRelevantStatuses() to getRelevantEffects
...
"Status" used to be the old word for "effect".
2012-01-10 14:05:06 -05:00
Guangcong Luo
2c087334ff
Make Battle.singleEvent support shorthand notation.
...
Allows `onImmunity: false` instead of `onImmunity: function() { return false; }`
2012-01-10 14:00:22 -05:00
Guangcong Luo
ebcb9c7f0f
Merge branch 'master' of github.com:Zarel/Pokemon-Showdown
2012-01-10 03:32:10 -05:00
Guangcong Luo
281edbe02b
Fix bug in bmelts's Razor Claw implementation
2012-01-10 03:05:10 -05:00
Bill Meltsner
8dd5ba61a8
I'm dumb and forgot a comma
2012-01-09 20:16:23 -06:00
Guangcong Luo
c87c724ae5
Re-implement Focus Energy a little better.
2012-01-09 16:21:01 -05:00
Guangcong Luo
fd998d4c39
Fix the interaction of Outrage and Protect.
...
Now it ends with confusion on the last turn of Outrage, and ends without confusion on any other turn. There's still a lot of disagreement on what exactly is supposed to happen, but I'm 90% sure this is right.
2012-01-08 21:42:58 -05:00
Guangcong Luo
f3c48d0bd9
Revert the Payback "fix" and make it not double on a switch
...
Turns out doubling on the switch no longer happens in gen 5.
2012-01-08 21:38:55 -05:00
Bill Meltsner
b4168d6ba9
Implement Focus Energy and Razor Claw. Lansat Berry works now, too.
2012-01-08 18:05:49 -06:00
Bill Meltsner
a479cf87ea
That's the last time I assume I know what "this" will refer to in JavaScript.
2012-01-07 15:55:42 -06:00
Bill Meltsner
9fe5cc2e3a
Poison Tail has an increased crit ratio.
2012-01-04 21:48:06 -06:00
Bill Meltsner
bf813fd643
Implement Entrainment and Role Play.
2012-01-04 21:40:58 -06:00
Bill Meltsner
6a1993d71a
Fix Sleep Talk not working when used by a Transformed Pokémon.
2012-01-04 20:23:55 -06:00
Bill Meltsner
f2166fed0a
Make Synchronoise cleaner.
2012-01-04 18:10:05 -06:00
Bill Meltsner
27effef5c3
Accept array arguments to hasType.
...
hasType will return true if the Pokémon has at least one of the types in the array.
2012-01-04 18:06:50 -06:00
Bill Meltsner
9ca7ba2c32
Implement Genesect's Drives.
2012-01-04 04:37:03 -06:00
Bill Meltsner
6e713d05f0
Implement a few trivial unimplemented/not fully implemented moves.
...
Chatter, Freeze Shock, Judgment, Secret Sword, Sketch, Skull Bash, and Synchronoise should all work properly now.
2012-01-04 04:32:06 -06:00
Bill Meltsner
1056df57a7
Check if hasType is being called with an undefined argument.
...
Previously, it would return true if the Pokémon only had one type.
2012-01-04 04:07:51 -06:00
Guangcong Luo
49b484e8a4
Ensure that moves always do at least 1 damage when they should
2012-01-02 20:13:29 -05:00
Guangcong Luo
d16db005be
Fix Payback to double power on a switch
2012-01-02 18:58:10 -05:00
Guangcong Luo
682917d4ae
Give Delibird Bestow as well as Present, and make it always have Leftovers. _Really_ early preparation for Delibird PotD next Christmas. :P
2012-01-02 02:25:03 -05:00
Guangcong Luo
84e6791dfc
Update /ranking: added win/loss statistics, and updated rating stats to new ladder format (replace default Glicko2 rating with ACRE, and rename 'percentile' to 'GXE')
2012-01-02 02:22:59 -05:00
Guangcong Luo
4fa4c3c2e1
Correct Acid Spray: lowers SpD by 2, not 1
2012-01-02 02:13:45 -05:00
Guangcong Luo
70028629e0
Implement Suction Cups
2012-01-02 02:12:19 -05:00
Guangcong Luo
fe0369763a
Implement Delibird, and make the default Delibird have only Present
2011-12-31 19:40:08 -05:00
Guangcong Luo
312a2bfe6e
Update tiers
2011-12-31 19:03:23 -05:00