Commit Graph

28534 Commits

Author SHA1 Message Date
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
Guangcong Luo
d021d3eaf0 Fix typo that made the /ban command fail. 2011-12-31 03:19:52 -05:00
Guangcong Luo
a20116c93d Fix Acrobatics doubling power on any gem. 2011-12-24 00:47:55 -05:00
Guangcong Luo
65ebd83edb Implement Power Trick. 2011-12-24 00:46:57 -05:00
Guangcong Luo
48cbdde096 Slightly improve the documentation 2011-12-23 21:09:34 -05:00
Guangcong Luo
46809b812f Add some basic documentation 2011-12-23 21:08:08 -05:00
Guangcong Luo
b9699e9347 Change the Hit event of moves targeting foeSide or allySide to actually target the side instead of the pokemon. Fixes the bug where hazards fail when the foe's pokemon is fainted. 2011-12-23 19:20:49 -05:00
Guangcong Luo
3bbd5bd2b9 Update socket.io to 0.8.7 2011-12-23 14:26:20 -05:00
Guangcong Luo
8a76fb4099 Fix a few bugs in the team validator 2011-12-23 02:21:13 -05:00
Guangcong Luo
45abd0bbc1 Add '-' before each reason for rejecting a team - should make it more readable. 2011-12-23 02:20:34 -05:00
Guangcong Luo
b122be8df6 Fix Electric Gem description: boosts Electric moves, not Dragon moves 2011-12-23 02:19:38 -05:00
Guangcong Luo
d4d10c1a70 Ban Snow Warning in UU, not the move Hail 2011-12-23 02:18:47 -05:00
Guangcong Luo
3657ecdbb3 Fix spelling of Sand-Attack in a Gliscor random battle set 2011-12-23 02:18:13 -05:00
Guangcong Luo
1d9501f9c4 Add bans for SmashPass in RU, Hail/Drought in UU. 2011-12-23 00:10:45 -05:00
Guangcong Luo
4ce2d95037 Everything I did before moving to Git 2011-12-22 23:53:05 -05:00