Commit Graph

9312 Commits

Author SHA1 Message Date
Kevin Lau
d0e18e3e15 Random Battle: Update Slurpuff
Give it Dazzling Gleam as an attack option, and reject Unburden on it if
it doesn't have setup moves.
2015-08-19 12:41:35 -07:00
Guangcong Luo
3c8bf6700a Refactor ladder code
Ladder code is now its own file, ladders-remote.js, in preparation
for a separate file ladders.js to be used for local ladder
support.
2015-08-17 20:24:37 -05:00
The Immortal
e36cdb04b8 OU Theorymon: Release Thousand Arrows 2015-08-18 00:00:19 +04:00
Marty-D
6b0f323f69 Challenge Cup: Reduce chances of getting a forme-changing item
- Forme changes requiring an item were being generated too frequently
2015-08-17 14:59:13 -04:00
Slayer95
d996a6427b Merge pull request #2117 from ascriptmaster/seasonal
Seasonal: Fix Color Move effectiveness interaction with Protean
2015-08-17 02:38:16 -05:00
Ivo Julca
b54780080f Build: work around regression in comma spacing checks introduced by JSCS@2.0 2015-08-17 02:30:47 -05:00
Ivo Julca
232d930f09 Build: remove redundant spacing rules 2015-08-17 02:30:46 -05:00
Kevin Lau
a8ba012e1e Seasonal: Fix Color Move effectiveness interaction with Protean 2015-08-17 00:09:45 -07:00
The Immortal
21b995813c Monotype: Ban Altarianite 2015-08-17 03:34:05 +04:00
The Immortal
8f142384d3 No Status: Unban Blaziken 2015-08-16 13:13:33 +04:00
The Immortal
c1301f39c0 Merge pull request #2115 from ascriptmaster/randoms
Random Doubles Battle: Synchronize Ability selection with Singles
2015-08-15 18:48:03 +04:00
Marty-D
cf77e666fa Fix race conditions with added flinch effects
- Sheer Force removes secondary effects before King's Rock/Razor Fang
adds the flinch effect to moves, which Serene Grace can then double
2015-08-15 00:09:41 -04:00
Kevin Lau
5790cf20fe Random Doubles Battle: Synchronize Ability selection with Singles
Many of the rules used in Random Singles Battles also apply to Doubles, so
many of them are transferred over to the Doubles set generation code.
2015-08-14 18:16:16 -07:00
The Immortal
46586337e6 Merge pull request #2110 from ascriptmaster/randoms
Random Battle: Add extra scenario for Choice Scarf distribution
2015-08-14 21:10:13 +04:00
Marty-D
afa03ac2a9 Improve Challenge Cup's forme selection 2015-08-14 11:39:41 -04:00
The Immortal
3706606d18 Update 2v2 Doubles link 2015-08-14 18:58:21 +04:00
Marty-D
3d51664f30 Fix Shifting interaction with turns spent active
Essentially, the Shift command doesn't count as an action for the turn,
so Fake Out and Mat Block can be used on the second turn if Shift was
used immediately before. (This is relevant to Triple Battles only.)
2015-08-12 22:19:26 -04:00
The Immortal
91e9744ed7 Random Battle: Improve Basculin, Wobbuffet, and sets
Mold Breaker is rated high but Basculin always prefer Adaptability. Add
Safeguard as an alternative to Destiny Bond for Wobbuffet (but prevent
both on the same set), and Sitrus Berry as an alternative to Leftovers.

Prevent Counter, Metal Burst and Mirror Coat from being rejected. They
only apply to Bastiodon, Chansey and Wobbuffet, who don’t care about
STAB.
2015-08-13 05:11:56 +04:00
Kevin Lau
e846fbb129 Fix Battle Armor and Shell Armor tests to no longer use the battle log
Instead, they can use Battle#on to check for the move dealing a critical
hit within the ModifyDamage event instead.
2015-08-12 16:02:12 -07:00
Marty-D
934f9a4b4d Fix Air Balloon's interaction with confusion damage 2015-08-12 16:04:15 -04:00
The Immortal
f8f51ad4fc Random Battle: Improve Life Orb selection with Speed Boost
Life Orb is selected unless the Speed Boost user has Substitute (in
which case Leftovers is selected later on). Also moved the Speed Boost
check above the Choice checks so that they don’t have to check for
Speed Boost.
2015-08-12 21:27:25 +04:00
The Immortal
58263891a4 Move -crit message
Purely aesthetic change but the critical message shows after the
effectiveness message in-game.
2015-08-12 21:14:20 +04:00
Kevin Lau
e09857fe9f Random Battle: Add extra scenario for Choice Scarf distribution
It is given to Pokemon within a certain speed tier with 3 Special attacks
and also U-Turn.
2015-08-12 00:54:55 -07:00
Marty-D
4743527d93 Fix Forewarn messages 2015-08-11 20:48:43 -04:00
Slayer95
8f063af263 Merge pull request #2109 from Zipzapadam/patch-4
Fix Burnt Berry and Ice Berry
2015-08-11 17:05:14 -05:00
Zipzapadam
fb7181948d Fix Burnt Berry and Ice Berry
Previously Burnt Berry was an alias for Rawst Berry, even thought it should've been for Aspear and vice versa.
2015-08-11 17:59:49 -04:00
The Immortal
b44cc82fcb Ban Perish Song from 1v1 2015-08-11 19:50:35 +04:00
The Immortal
7384755fb4 Add new event Pokemon 2015-08-11 19:20:50 +04:00
The Immortal
7ebc995e9b Give Staff roomauth access to the room 2015-08-11 17:16:44 +04:00
Marty-D
d7d9c7c067 Gen III: Fix Weather Ball damage categories 2015-08-10 21:10:22 -04:00
Marty-D
af1ff4a609 Gen I: Fix application of burn and paralysis stat drops
They were applying five times every time the statused Pokemon switched
in.
2015-08-10 15:24:32 -04:00
Marty-D
b2303f2893 Gen V, VI: Update before a switch out
Fixes a bug where using Pursuit on a switching Pokemon would not
activate its Berry (if appropriate), among other things.
2015-08-10 14:29:06 -04:00
The Immortal
c2903eae0c Random Battle updates
- Add Foul Play to Mandibuzz
- Prevent more than one Stealth Rock setter per team
- Prevent more than one hazard remover per team
2015-08-10 22:28:06 +04:00
Marty-D
c25557e680 Add a few forme aliases 2015-08-10 14:08:58 -04:00
The Immortal
7cd225b266 Update Mummy to use -activate 2015-08-10 06:38:02 +04:00
The Immortal
02945dd017 Merge pull request #2107 from ascriptmaster/randoms
Random Battle: Slightly tweak Hoopa, fix chance of Hoopa forme appearing
2015-08-10 03:18:37 +04:00
Kevin Lau
faea82765b Random Battle: Slightly tweak Hoopa, fix chance of Hoopa forme appearing
Reject Psychic with Hyperspace Hole in Doubles, and give Hoopa Trick Room.

Give Hoopa-Unbound Gunk Shot, Psychic, and Substitute.
2015-08-09 15:26:03 -07:00
The Immortal
8127243dd4 No Status: Unban Giratina 2015-08-10 01:11:31 +04:00
Ivo Julca
d40cceed60 Fix /unbanall
Lift punishments by userid or ranges as well.
2015-08-09 07:51:43 -05:00
Ivo Julca
14af193c91 Fix Pokémon data corruption in old gens
Ensure that mods are loaded before any `Tools.getTemplate` call.
2015-08-09 07:17:41 -05:00
Guangcong Luo
d287a4150d Load chat-plugins/info.js first so it can be shadowed 2015-08-09 04:20:29 -04:00
Marty-D
02c7323fb8 Refactor breaking protection
- And fix Mat Block
2015-08-08 14:38:51 -04:00
Ivo Julca
38deed90a8 Fix section of LC 2015-08-08 12:18:44 -05:00
The Immortal
010273b85d No Status: Re-ban Mawilite 2015-08-08 19:19:17 +04:00
The Immortal
ae6fc17ac3 Random Battle: Prevent Air Balloon with RestTalk 2015-08-08 04:50:51 +04:00
The Immortal
3556ecd952 Merge pull request #2106 from ascriptmaster/randoms
Random Battle: Replace HP-Rock with Ancient Power on Lunatone
2015-08-08 02:28:59 +04:00
Kevin Lau
5bae0c67fc Random Battle: Replace HP-Rock with Ancient Power on Lunatone
They have the same BP in Gen 6, so Ancient Power is the better STAB.
2015-08-07 15:23:31 -07:00
Guangcong Luo
589dd513ca DNSBL now semilocks instead of locking 2015-08-07 09:05:49 -04:00
Guangcong Luo
89a8acae34 Small update to Endless Battle Clause 2015-08-07 09:05:49 -04:00
Guangcong Luo
fca06bd11e Support private.js chat plugin
By default, we now support a private.js chat plugin which will be
automatically gitignored, useful for local chat commands.
2015-08-07 09:05:49 -04:00