Commit Graph

9324 Commits

Author SHA1 Message Date
The Immortal
4c5bbdc40c Random Battle: Fix Sleep Talk without Rest 2015-08-20 21:59:58 +04:00
Guangcong Luo
8a7f73b6c5 Merge pull request #2122 from xfix/randbats-mega-levels
Add support to randbats for mega stone banning
2015-08-20 09:37:30 +00:00
Konrad Borowski
f8266fc0b1 Add support to randbats for mega stone banning
This fixes a problem introduced by 77b6b666 causing certain Pokemon
with mega stones (and base forme of Audino) to have level 90 in
randbats.

This commit intentionally doesn't introduce any new levels for mons who
have their tier in parenthesis. Looking over the list of mons who don't
have hardcoded levels, most of them are barely improvement over their
base forme, which is the issue in a standard tiers with its limit of
one mega. However, because teams don't have to use a mega in randbats
(because of how its generator works), getting just a slightly version
of a Pokemon is not a big deal as it's still an improvement, even if
minor.
2015-08-20 10:36:59 +02:00
Guangcong Luo
77b6b66639 Refactor mega stone banning
The mega forme can now be banned/tiered separately. The old-style mega
stone bans are still supported, but megas can now also be tiered,
even below their base forme.
2015-08-20 02:59:15 -04:00
The Immortal
7800643e55 Update Monotype bans 2015-08-20 00:57:32 +04:00
Marty-D
1962a39f33 Merge pull request #2113 from ascriptmaster/move-fixes
Fix Zen Mode interaction with Skill Swap
2015-08-19 16:12:49 -04:00
The Immortal
26df334047 Merge pull request #2119 from ascriptmaster/randoms
Random Battle: Update Slurpuff
2015-08-19 23:46:39 +04:00
The Immortal
2f9b1599c7 Merge pull request #2121 from sparktrain/patch-7
Add links / description for CAP
2015-08-19 23:45:41 +04:00
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
sparktrain
c31a5bbb83 Add links / description for CAP 2015-08-19 15:40:03 -04:00
The Immortal
c80f7b4aa1 Remove Doubles suspect test 2015-08-19 15:16:58 +04:00
The Immortal
56e7692ec3 Update STABmons link 2015-08-19 02:07:47 +04: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
Kevin Lau
d629cf2da3 Fix Zen Mode interaction with Skill Swap
If two Zen Mode Pokemon Skill Swap each other, Zen Mode will end.
2015-08-14 18:02:36 -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