Commit Graph

6020 Commits

Author SHA1 Message Date
Guangcong Luo
d3b00a3a2b Fix tournaments permissions
Previously, ROs/leaders couldn't enable/start tournaments
2014-08-11 18:11:56 -04:00
Guangcong Luo
4590deff58 Log ac accounts of locked/banned users 2014-08-11 18:11:56 -04:00
Guangcong Luo
71d24fbcd7 Fix Trace
The previous implementation of Trace is difficult to understand
and has a lot of weird bugs. I'm mostly sure this is what it
was intended to do.
2014-08-11 15:05:20 -04:00
Guangcong Luo
065e293c29 Gen 3: Traced Abilities don't run Start events
Specifically, things like Intimidate don't happen when Traced.
2014-08-11 05:48:45 -04:00
Guangcong Luo
b0a85dd33b Remove a stray debug line 2014-08-11 05:40:30 -04:00
Guangcong Luo
85994c45d8 Fix faint-switch mechanics for gens 1-3
The model is now:
- Gen 1: fainting ends the turn
- Gen 2-3: fainted mon is immediately switched, and the turn continues
- Gen 4-6: fainted mon is switched at the end of the turn
2014-08-11 05:38:46 -04:00
Guangcong Luo
075baf89b5 Add gulp-replace to devDependencies 2014-08-11 05:38:46 -04:00
Guangcong Luo
7a5ec03fd7 Merge pull request #1129 from kotarou3/tournaments
Fix some style errors
2014-08-11 04:37:43 -05:00
小太
bbdc9503d4 Fix some style errors 2014-08-11 17:14:19 +10:00
Guangcong Luo
536c6d0d3f Support npm test
Also made linting synchronous, which makes Gulp's output look
slightly nicer (and time it, which is cool).
2014-08-10 21:16:14 -04:00
Guangcong Luo
af2026436a More style fixes and Gulpfile updates
JSHint is now a fair bit stricter, and is now correctly checking
files in `mods/`.

The code has been fixed to match the new stricter standards.

JSHint has now caught its second actual bug: Gen 5 Pinap Berry
was Ice instead of Grass.
2014-08-10 20:43:53 -04:00
Guangcong Luo
12b673bb49 Fix style errors; update gulpfile
I used a hack to make the multiple declaration errors go away,
so all that remained in jsHint were actual errors, which I've
now mostly fixed.

All this linting ended up uncovering one actual bug: Uproar's
message not showing. It's a very minor bug in a move no one uses,
so I'm going to fold it into this commit.
2014-08-10 18:06:44 -04:00
Ivo Julca
1b783b7111 Effect Spore checks for Powder immunity 2014-08-10 16:56:28 -05:00
Ivo Julca
79d2ede676 Update Heal Block to XY
It now disables damaging moves with draining capabilities.
2014-08-10 16:50:05 -05:00
Guangcong Luo
da9b2a8e2c Merge pull request #1128 from kotarou3/banword
Remove obselete /banword commands
2014-08-10 14:44:32 -05:00
V4Victini
0ccd5a5722 Try to activate Trace on every active foe. 2014-08-10 10:41:30 -04:00
小太
d296551067 Remove obselete /banword commands 2014-08-11 00:41:14 +10:00
Guangcong Luo
da77ece52a Merge pull request #1126 from macrarazy/patch-18
Have error messages for scavenger commands.
2014-08-10 04:41:47 -05:00
Guangcong Luo
90a90d8b7c Merge pull request #1124 from Morfent/chatplugins
Only merge files ending in .js from ./chat-plugins/
2014-08-10 04:41:00 -05:00
Guangcong Luo
be08a9e9f4 Merge pull request #1127 from kotarou3/tournaments
Fix bug in elimination tournaments
2014-08-10 04:37:54 -05:00
小太
aea9944c39 Fix bug in elimination tournaments 2014-08-10 19:31:51 +10:00
macrarazy
e2caf6d57b Have error messages for scavenger commands. 2014-08-10 11:55:57 +05:00
Guangcong Luo
f031f6943c Better error messages for event moves 2014-08-09 23:56:05 -04:00
Guangcong Luo
bcf8739709 Combusken is now BL3
https://www.smogon.com/forums/threads/xy-nu-tiering-info.3509431/#post-5652853
2014-08-09 02:28:35 -04:00
Guangcong Luo
16e24b462e Improve wording for abuse list message 2014-08-09 02:26:06 -04:00
Guangcong Luo
78f8857318 Admins can bypass modjoin 2014-08-09 02:26:06 -04:00
V4Victini
31ffff139d Add /pstats as /data alias
For well-deserved immortality
2014-08-08 22:29:07 -04:00
TalkTakesTime
f20a4cef09 Misdreavus is banned
https://www.smogon.com/forums/threads/misdreavus-dead-fletchling-alive.3513438/page-14#post-5650561
2014-08-09 12:19:53 +12:00
V4Victini
bfff4156d4 Merge pull request #1125 from panpawn/patch-22
Correct typo
2014-08-08 18:20:15 -04:00
panpawn
c2ddbd9672 Correct typo 2014-08-08 00:58:38 -04:00
V4Victini
f740da52bb End of LC Suspect Test
Misdreavus Banned
2014-08-07 23:12:18 -04:00
V4Victini
3e3505e673 Add fail message for forceSwitch moves.
If the opponent cannot be switched due to having no more available pokemon, the move should fail.
2014-08-07 18:41:26 -04:00
Morfent
57482eb7f9 Only merge .js files from ./chat-plugins/ 2014-08-07 07:19:26 -03:00
The Immortal
e38200f8ae OU is having a suspect test 2014-08-06 22:32:36 +04:00
The Immortal
50c7373338 Fix Recycle showing the item id 2014-08-05 16:53:28 +04:00
Guangcong Luo
11747f1992 Display hostname in /whois 2014-08-05 04:38:48 -04:00
V4Victini
78383ae2e9 Mold Breaker ignores ability redirection 2014-08-05 00:20:28 -04:00
Guangcong Luo
925fecdb7a Detect hostname of users 2014-08-05 00:15:00 -04:00
Ivo Julca
b85ace8d7e Fix passing ending turns prematurely 2014-08-04 13:28:09 -05:00
Guangcong Luo
480f16cbb8 Users with same IP can't meet on ladder 2014-08-04 14:22:38 -04:00
Guangcong Luo
67a3776d86 Fix crash when Pursuiting fainted ally 2014-08-04 13:47:11 -04:00
Guangcong Luo
ae1091c776 Merge pull request #1121 from kotarou3/chat-plugins
Move chat plugins to their own directory
2014-08-04 12:19:11 -05:00
小太
a2bfb57bfe Move chat plugins to their own directory 2014-08-04 18:33:52 +10:00
Ivo Julca
c2082b6b87 Fix Protean activating on Struggle 2014-08-04 02:05:27 -05:00
Guangcong Luo
15fce3bce2 Ladder IP logging 2014-08-03 21:40:08 -04:00
Guangcong Luo
d569bfd8c5 Tournaments: Allow mods to start tournaments if enabled 2014-08-03 21:21:39 -04:00
The Immortal
e6ae62f6e4 Fix mega evolution mechanics
In Hackmons, Mega Charizard Y can mega evolve into Mega Charizard X, for example
2014-08-03 23:35:09 +04:00
The Immortal
78fb1035b1 Update Metagamiate bans 2014-08-03 22:19:33 +04:00
The Immortal
48c8ba6ede NU is out of beta 2014-08-03 12:36:20 +04:00
Antar1011
0aea1d8523 Typo fix
not sure how that happened
2014-08-02 17:35:37 -04:00