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
Guangcong Luo
614023ef32
Cancel U-turn/etc on faint
2012-02-29 21:53:22 -05:00
Guangcong Luo
12e6df3fed
Improve getUser
...
- /ban, /mute, etc are no longer foiled by name changes
- The entire user list can be accessed from anywhere in PS as Users.users
2012-02-28 09:01:58 -05:00
Guangcong Luo
1adf4c0e94
Wonder Guard now prevents non-SE Scrappy damage
...
(I'm going to believe verbatim when he says that's correct)
2012-02-28 09:00:18 -05:00
Guangcong Luo
289206dc12
Really REALLY fix Struggle recoil and Magic Guard this time
2012-02-27 19:38:56 -05:00
Guangcong Luo
14409f999b
Display username in 'user not found' messages
2012-02-27 15:15:31 -05:00
Guangcong Luo
45976dcf47
Require Multitype for Arceus formes
...
(Also make sure Cherrim and Castform formes start at normal.)
2012-02-27 15:11:27 -05:00
Guangcong Luo
ee6844e22a
CAP Necturna Playtest is now over
2012-02-27 15:09:07 -05:00
Guangcong Luo
3b5a0546ef
Fix Magic Bounce
...
- More than one move can be bounced per turn now (each move is still bounced a maximum of once)
- Introduces a new function: Tools.getMoveCopy, which replaces the previous system of cloning the move object. It still clones the move object, just more abstractedly.
2012-02-27 13:51:55 -05:00
Guangcong Luo
1a3c04d53c
Add !stats as an alias for !data
2012-02-27 13:38:27 -05:00
Guangcong Luo
010c1da33e
Add /fr as an alias for /forcerename
2012-02-27 13:38:04 -05:00
Guangcong Luo
0d7673c018
Make sure users respect the mutedIps table
2012-02-27 13:37:16 -05:00
Guangcong Luo
3cb0003a2b
Make sure all self-target moves have perfect accuracy
2012-02-27 13:36:36 -05:00