Commit Graph

6032 Commits

Author SHA1 Message Date
Guangcong Luo
b1cd4e81dc New command API sendModCommand
Does the same thing as privateModCommand, but without logging it
2014-08-12 20:42:35 -04:00
Guangcong Luo
480b416d2d Nicer crash reports
`|split` is now parsed out, which should make battle logs much easier
to read.
2014-08-12 20:42:35 -04:00
Guangcong Luo
a5f06728cd Merge pull request #1133 from Audiosurfer/patch-1
added some more doubles random battle movepools
2014-08-12 19:22:58 -05:00
Audiosurfer
b15c6dbb00 added some more doubles random battle movepools 2014-08-12 09:12:06 -05:00
Guangcong Luo
d7bb7bc8f2 Merge pull request #1112 from ascriptmaster/master
Started documentation on battle messages
2014-08-12 05:20:05 -05:00
kevinhoyinlau
e41c50d834 Started documenting battle messages
Added documentation for the following battle messages: request, move,
switch, -damage/-heal, -boost/-unboost, faint, cant.

Other messages will come next, followed perhaps by how to send moves.

Also, changed most bold headers to h4 headers so that the hierarchy for
battle messages could be more obvious.
2014-08-12 00:24:31 -07:00
The Immortal
d44dac28d6 Update UU suspect 2014-08-12 08:52:16 +04:00
Guangcong Luo
2fca4d3d2a Merge pull request #1131 from Audiosurfer/patch-1
added more doubles random battles movepools
2014-08-11 23:25:54 -05:00
Audiosurfer
1f9b629180 added more doubles random battles movepools 2014-08-11 19:22:34 -05:00
Guangcong Luo
890c0b4ebd Gen 3: Fix Trace bug from 065e293c 2014-08-11 18:17:59 -04:00
Guangcong Luo
5ef8b245c3 Fix weird behavior on double-faint in early gens 2014-08-11 18:13:26 -04:00
Guangcong Luo
a4496af607 Comment gen 3 switch mechanics 2014-08-11 18:12:42 -04:00
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