Commit Graph

289 Commits

Author SHA1 Message Date
Guangcong Luo
53cb0b985a Encourage users to register if they win a ladder match 2012-03-08 16:03:42 -05:00
Guangcong Luo
576bbd9b54 Inactive users tick down their timers properly now 2012-03-08 16:02:20 -05:00
Guangcong Luo
0eeebfaf76 Make sure Skill Bash boosts the Defense of a pokemon 2012-03-08 11:08:29 -05:00
Guangcong Luo
c31efb14a8 Fix crash with no banlist 2012-03-08 11:08:01 -05:00
Guangcong Luo
921f4ca99b New legality checker:
- banlists are now rules instead of bans, which simplifies formats immensely
- CAP moves are now banned from Balanced Hackmons
- Arceus forme force-changes are clearer
- overall, legality checking should be more consistent
2012-03-07 22:02:50 -05:00
Guangcong Luo
4ab86a4143 Make the user menu display IP to moderators 2012-03-07 21:58:59 -05:00
Guangcong Luo
271b00e533 Some tiering updates (Donphan, Umbreon, etc) 2012-03-07 19:12:39 -05:00
Guangcong Luo
ee96f4292a Make Species Clause work correctly 2012-03-07 18:53:41 -05:00
Guangcong Luo
661a7f6dee Allow random teams outside of random battle if the format allows. 2012-03-07 14:11:02 -05:00
Guangcong Luo
fed3d98ac3 Implement Species Clause 2012-03-07 14:09:02 -05:00
Guangcong Luo
775e431a5d Fix Solar Power damage -> maxhp/8 2012-03-07 13:52:28 -05:00
Guangcong Luo
24d5fe1276 Halve burn damage with Heatproof 2012-03-07 13:50:12 -05:00
Guangcong Luo
f9deac88be More effective ban code - previous method accidentally relied on cookies. 2012-03-07 13:18:04 -05:00
Guangcong Luo
83667f96af New command: /loadbanlist - loads config/ipbans.txt
(Useful for blocking large swaths of IPs, like Tor exit nodes)
- Supports /8 and /16 blocks, too: use rows like 192.168.*
2012-03-07 13:16:07 -05:00
Guangcong Luo
6e51152279 Changed how formats are specified 2012-03-06 23:14:07 -05:00
Guangcong Luo
7667b74cf1 Update the list of moves bounceable by Magic Coat/Bounce 2012-03-06 16:38:09 -05:00
Guangcong Luo
27cfaa7b58 Don't apply immunities for secondary/self-hits of moves 2012-03-06 16:15:21 -05:00
Guangcong Luo
acf656568c /hotpatch works for things besides chat now 2012-03-06 16:14:58 -05:00
Guangcong Luo
9e72e2fc25 Torment fixed - actually works now 2012-03-06 16:14:38 -05:00
Guangcong Luo
72f18cea2a Check immunities during moveHit, not before
- Moves bounced by Magic Bounce still check immunities
- Moves called by Metronome, Assist, etc, too
2012-03-06 12:28:00 -05:00
Guangcong Luo
693fcf2f98 Fix infinite loop when checking IP ranges 2012-03-06 12:26:53 -05:00
Guangcong Luo
5364e31810 Fix Pressure to only activate on moves targeting the pokemon with Pressure. 2012-03-06 12:26:35 -05:00
Guangcong Luo
be20d66197 Implement Infiltrator 2012-03-06 11:12:13 -05:00
Guangcong Luo
26978b1f9d Natural immunities take precedence over artificial immunities 2012-03-06 11:04:48 -05:00
Guangcong Luo
732acac6a1 Soak is affected by Storm Drain / Water Absorb. 2012-03-06 11:03:01 -05:00
Guangcong Luo
8b882a3d7a Healing should fail if target is at full health. 2012-03-06 11:02:16 -05:00
Guangcong Luo
68690101b1 Rough Skin, Iron Barbs, and Rocky Helmet:
- are no longer negated by Sheer Force
- now happen once for each hit of a multi-hit move
2012-03-06 09:52:56 -05:00
Guangcong Luo
87df1ef081 Soak is now bounced by Magic Coat/Bounce 2012-03-06 09:51:07 -05:00
Guangcong Luo
6d20f8062c Cotton Spore, Worry Seed, and GrassWhistle are now absorbed by Sap Sipper 2012-03-06 09:49:52 -05:00
Guangcong Luo
9dce16626f Make sure Shell Bell heals the correct amount 2012-03-06 09:48:03 -05:00
Guangcong Luo
5307eef076 Add support for banning/muting IP ranges 2012-03-06 09:47:45 -05:00
Guangcong Luo
a1a1943201 Don't print debug messages for ModifyPokemon and ModifyStats - these run too often 2012-03-06 09:47:28 -05:00
Guangcong Luo
62fd4297a2 Support for listing all battles being played 2012-03-06 09:46:56 -05:00
Bill Meltsner
1e0ca21273 Remove lots of "x% boost" debug messages from items, for better choice-feigning. 2012-03-05 14:31:14 -05:00
Guangcong Luo
117a99164a Merge branch 'master' of github.com:Zarel/Pokemon-Showdown 2012-03-05 08:37:50 -05:00
Guangcong Luo
8b7e9ff367 Allow muted users to use 'kick inactive', etc
(Moved a lot of battle-room commands to chat-commands.js)
2012-03-04 11:42:48 -05:00
Guangcong Luo
32b0130260 Fix Gyro Ball's debug message - should have no effect on its actual effect 2012-03-04 11:41:46 -05:00
Guangcong Luo
2ed88eb21f Server support for clicking on a user to get their avatar/rooms 2012-03-04 09:38:53 -05:00
Bill Meltsner
ad3ee45806 Fix a typo that was crashing things rather unpleasantly. 2012-03-03 23:59:44 -05:00
Bill Meltsner
28d94ad162 Make self-thawing a move property, instead of being defined by the Freeze status. 2012-03-03 22:26:36 -05:00
Guangcong Luo
971cfa89ef Fix crash in getRoomList 2012-03-03 13:43:18 -05:00
Guangcong Luo
a788e2eaeb Make sure names can't start with '%' 2012-03-03 13:42:19 -05:00
Guangcong Luo
a939155adc Make Teeter Dance target all
(so that it doesn't get bounced by Magic Coat/Bounce)
2012-03-03 13:42:02 -05:00
Guangcong Luo
b0bb7597e8 getRoomList updated:
- now shows most recent 8 battles, not 6
- inactive rooms are now skipped correctly
- new syntax: getRoomList(true) to get all battles, not just most recent 8
2012-03-02 11:56:13 -05:00
Guangcong Luo
5cec184cae Report joins/leaves as deltas only:
- The entire user-list can now be shown, lag-less, no matter how many users are online
- config.lagmode is no longer needed
2012-03-02 08:14:51 -05:00
Guangcong Luo
30cbb1dd92 Report the 6 newest battles, not the 24 oldest 2012-03-02 08:12:13 -05:00
Guangcong Luo
76463ca398 Make sure forceRename still keeps track of renames 2012-03-02 08:10:55 -05:00
Guangcong Luo
1e24f24a3c /forcerename automatically fails if the user's already changed their name 2012-03-01 12:36:51 -05:00
Guangcong Luo
5fa1e58a16 Add verbatim's avatar to the avatars list 2012-02-29 23:57:09 -05:00
Guangcong Luo
7b72612e4a Implement /ipmute 2012-02-29 23:56:32 -05:00