Commit Graph

11205 Commits

Author SHA1 Message Date
The Immortal
62c8d78b8e Random Battle updates
Closes #2603
2016-07-13 00:53:27 +04:00
The Immortal
f57509ed68 Remove PU and LC suspect tests 2016-07-12 17:27:25 +04:00
Bryan AA
5e73377c15 Use errorReply instead of sendReply in necessary cases (#2620) 2016-07-11 22:47:49 -04:00
Marty-D
db9f18dced Add new events 2016-07-11 20:43:20 -04:00
asgdf
92dd3cb57d Replace confusing variable name (#2619)
A variable named "pokemonLeft" should probably not be increasing. Since
it's effectively referring to the current size of the team, might as well
use Array.length.
2016-07-11 18:29:50 -05:00
The Immortal
83deebdcd0 Move Machoke to BL4 2016-07-11 23:39:29 +04:00
The Immortal
ad5667258a AAA Ubers: Ban Simple 2016-07-11 04:27:26 +04:00
Spandan7
e7fdfd2341 Update Enchanted Items (#2618)
* Enchanted Items: Ban Manaphy

Banaphy

* Update Enchanted Items
2016-07-10 13:23:46 +04:00
Guangcong Luo
cc942d440b Show help when using /modjoin with no target
PS no longer automatically turns on modjoin when using /modjoin with
no target.
2016-07-09 20:55:57 -05:00
The Immortal
3f08d17b46 Add NU suspect test 2016-07-10 05:33:47 +04:00
The Immortal
58a5600a7c NU: Ban speed passing 2016-07-09 21:04:58 +04:00
asgdf
c695a33a97 Make 5 mon monotype randbats teams way less likely (#2611)
Due to the "each type combination only once" restriction, Normal-type
teams had a ~0.1% chance of having only 5 members, as most of its type
combinations are only used by a single mon which could easily be skipped
due to tier restrictions or bad luck.
The types were also not sorted before filtering, so it was entirely
possible to have Fighting/Psychic and Psychic/Fighting on the same team.
So, this sorts before filtering, but raises the limit to 2 of each
combination per team, which hasn't yielded any 5 mon teams across 10000
generated teams.
2016-07-09 20:38:20 +04:00
Marty-D
86417a7df9 Fix Ability boosting when maxed out 2016-07-09 12:17:38 -04:00
The Immortal
e17527180e Random Battle: Prevent Draco Meteor with Outrage 2016-07-08 22:12:58 +04:00
Marty-D
73a74f85ad Add Burmy aliases 2016-07-08 10:01:29 -04:00
Konrad Borowski
85ac3d2541 Fix behaviour of modchat with tour room auth 2016-07-07 21:56:47 +02:00
Konrad Borowski
e6e0938bc2 Make /tour settype put an information into modlog
This prevents room staff from setting tournament type as
roundrobin at last moment without anything being logged.
2016-07-07 12:23:59 +02:00
Marty-D
eb5eb2d234 Gen III: Berry Juice is unobtainable 2016-07-06 20:36:54 -04:00
Juanma Serrano
b2f53f97ab Add UU suspect test
UU is suspecting Salamence
2016-07-06 17:36:53 +02:00
Marty-D
a99bd01cf3 Refactor boosting
- Boosts now show the correct boosting message (i.e. using Swords Dance
at +5 Attack will show the +1 message instead of +2).
- Boosts now show the appropriate maxed out message when a stat cannot
be raised/lowered further, instead of simply failing or failing
silently, unless the boost is an additional effect.
2016-07-06 11:28:06 -04:00
Guangcong Luo
fc9ef55564 Fix CommandContext constructor 2016-07-06 09:21:11 -05:00
Guangcong Luo
c1d8f185b4 Slightly refactor pruneInactive
Mostly inconsequential, but this new code better reflects the code
style I'd like to have in PS.
2016-07-06 09:21:11 -05:00
Guangcong Luo
5354e18629 Refactor chatQueue to use roomid
The chatQueue previously put a reference to the room directly in the
chatQueue array. This refactors it to use a room ID.

This mostly doesn't matter much, but it's nice not to have references
to rooms outside of the room, and makes for slightly cleaner code by
not needing the weird workaround to see if the room has expired.
2016-07-06 09:21:11 -05:00
Spandan7
6b644aa86a Update Baton Pass Clause for Enchanted Items (#2610)
Thanks @urkerab for pointing out
Copied from http://www.smogon.com/forums/threads/general-thread-for-om-code.3517025/page-3#post-6877561
2016-07-06 16:31:51 +04:00
UserLeafy
7a9fe61a1c Add Ampharos and gyarados alias (#2609)
* Add Ampharos and gyarados alias
2016-07-06 16:29:25 +04:00
Konrad Borowski
bb3acda351 Copy auth from tournament room to tournament battle (#2608)
This allows room staff to perform moderation in tournament battles.
2016-07-06 07:28:47 -05:00
Guangcong Luo
f72742d1a5 Improve PROTOCOL: Fix team preview 2016-07-05 22:19:12 -05:00
Guangcong Luo
7fd9d07e1b Improve PROTOCOL.md
The previous descriptions of `|switch|` and `|-detailschange|` were wrong .

I also added some examples for `|-sidestart|` and `|-fieldstart|`.
2016-07-05 22:10:11 -05:00
Marty-D
ed2793b4da Fix build error 2016-07-05 19:17:22 -04:00
Spandan7
3340ed34a7 Fix Baton Pass Clause for Enchanted Items (#2606) 2016-07-06 01:33:47 +04:00
The Immortal
68bc01335c Random Doubles: Remove Rock Polish from Landorus 2016-07-05 00:35:51 +04:00
Kevin Lau
485fe73dea Random Battle: Add Rock Slide to Landorus-I (#2604)
With balanced EVs, Landorus can still use its Physical movepool for
coverage thanks to its respectable base Attack, and Rock Slide is a
Rock-type move boosted by Sheer Force.
2016-07-05 00:34:25 +04:00
The Immortal
5a1f891991 Enchanted Items: Ban Togekiss 2016-07-04 04:37:20 +04:00
The Immortal
0d2d8e71cf Remove NU suspect test 2016-07-03 21:07:55 +04:00
Juanma Serrano
e1d8459dc4 Seasonal: Fix typos 2016-07-03 12:34:09 +02:00
Juanma Serrano
b647742cdf Seasonal: Use learnset if no random moves set found 2016-07-03 11:00:22 +02:00
Kevin Lau
2df9f27b9f Implement July Seasonal: Fireworks Frenzy (#2602)
Sky Battle with Fire-type "hail" in the form of fireworks sparks.
2016-07-03 01:44:49 -07:00
Guangcong Luo
9d60bf7a3f Credits: V4 is now retired 2016-07-02 16:45:56 -07:00
The Immortal
b54a1ac916 Update Enchanted Items 2016-07-03 02:22:15 +04:00
Marty-D
fc0b2f6d14 Prepare for Terrain-starting Abilities 2016-07-02 14:41:09 -04:00
The Immortal
782ff35a47 AAA Ubers: Ban Imposter 2016-07-02 21:54:19 +04:00
Marty-D
420a3cf2a0 Add new events 2016-07-02 09:33:53 -04:00
Spandan7
6fd9850a63 Add Analytic as a held ability to Enchanted Items (#2601) 2016-07-02 16:15:52 +04:00
Marty-D
af7ffabecd Add Damp message 2016-07-01 22:38:20 -04:00
The Immortal
d24aca9570 Update 1v1 desc 2016-07-02 04:48:15 +04:00
The Immortal
7f54876c32 AAA Ubers: Ban Parental Bond 2016-07-02 04:35:09 +04:00
The Immortal
9e0faf99e0 Fix build error 2016-07-02 04:34:49 +04:00
The Immortal
eb9192ba3e Add new OMs of the Month 2016-07-01 23:47:38 +04:00
Ivo Julca
976610df75 Forfeit games on inactive user pruning
Fixes #1826
2016-07-01 10:22:31 -05:00
Ivo Julca
9d5e0e78a7 Resolve tournament matches on battle room expiry 2016-07-01 10:07:03 -05:00