Commit Graph

3298 Commits

Author SHA1 Message Date
Ivo Julca
bb523dcd97 Battle Factory: remove BL Pidgeot-Mega from UU 2015-09-08 20:18:02 -05:00
The Immortal
21c0ef3d7e Add September tier shifts 2015-09-06 00:53:59 +04:00
Konrad Borowski
70665f6f5f Baton Pass Clause now supports Pokemon without a nickname
This fixes problems with showing Pokemon name as "undefined" when
Pokemon lacks a nickname
2015-09-05 10:37:20 +02:00
The Immortal
c9864f8e6d Random Battle: Prevent Aqua Jet as only STAB 2015-09-05 04:35:03 +04:00
Marty-D
ecda0f293d Correct Natural Gift base powers 2015-09-03 13:12:29 -04:00
Marty-D
a16fdff02f Merge pull request #2137 from ascriptmaster/move-fixes-2
Shield Dust does not block self-boosting secondaries
2015-09-03 08:47:59 -04:00
Kevin Lau
79732b414e Shield Dust does not block self-boosting secondaries
Refactor TrySecondaryHit to become ModifySecondaries instead to allow for
proper behavior.
2015-09-03 03:10:16 -07:00
Kevin Lau
761a18e459 Random Battle: Don't randomly choose setupType in case of a tie
If both Physical and Special setup moves are present, and there are an
equal number of Physical and Special moves, choose setup based on the
first setup move in the moveset instead of randomizing it.
2015-09-02 16:00:49 -07:00
The Immortal
3530e95a96 Random Battle: Fix Pokemon with both Physical and Special setup
such as Lucario. Instead of always setting `setupType` to `Special` for
those cases, it now sets it to the one with the most attacks (or random
if it’s equal).

Also, added another check to fix the issue of too many Dark type
attacks on a Pokemon.
2015-09-02 17:10:43 +04:00
The Immortal
7155b106b4 Ban Carracosta and Barbaracle from PU 2015-09-02 16:43:35 +04:00
The Immortal
3121f65a2b Add new Pokemon events 2015-09-01 22:44:09 +04:00
The Immortal
fb55d5a032 Random Battle updates
- Fixed Stealth Rock (and Defog/Spin, which isn’t as big of a problem)
being on multiple Pokemon
- Reject Snow Cloak without Snow Warning on the team
- Reject Swift Swim without Drizzle/Rain Dance on the team
- Give Mega Venuasaur Chlorophyll as a starting ability (because
Overgrow is useless)
- Give RestTalk Pokemon Leftovers (so they don’t get Focus Sash if they
are the lead)
2015-08-28 16:46:32 +04:00
The Immortal
6fc79a1e39 Random Battle updates
- Give Regigigas Knock Off instead of Earthquake
- Reject Hidden Power with RestTalk
- Reject Toxic with Flame Charge
2015-08-27 21:26:18 +04:00
Guangcong Luo
c98e7fd477 Merge pull request #2093 from ascriptmaster/move-fixes-2
Fix Snatch and Imprison's interaction with Pressure
2015-08-24 17:00:43 -04:00
Kevin Lau
e6f60a5061 Sky Drop deactivates Follow Me effects on the first turn 2015-08-24 00:08:47 -07:00
Kevin Lau
1c70494e2b Fix Snatch and Imprison's interaction with Pressure
They target the user, but for the purposes of Pressure are treated as if
they target the opposing side.
2015-08-21 18:50:21 -07:00
Ivo Julca
863f7d2071 Battle Factory: update sets 2015-08-21 10:42:47 -05:00
Ivo Julca
85d92a58f4 Rename validateSet|Team and changeSet: prefix with "on" 2015-08-20 17:24:26 -05:00
Marty-D
1b2e3d415a Fix Zen Mode removal upon fainting 2015-08-20 16:09:16 -04:00
The Immortal
4c5bbdc40c Random Battle: Fix Sleep Talk without Rest 2015-08-20 21:59:58 +04: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
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
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
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
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
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
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
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
7384755fb4 Add new event Pokemon 2015-08-11 19:20:50 +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
Marty-D
02c7323fb8 Refactor breaking protection
- And fix Mat Block
2015-08-08 14:38:51 -04:00
The Immortal
ae6fc17ac3 Random Battle: Prevent Air Balloon with RestTalk 2015-08-08 04:50:51 +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
89a8acae34 Small update to Endless Battle Clause 2015-08-07 09:05:49 -04:00
Marty-D
50acd016a2 Fix breaking protection
This is mostly a band-aid.
TODO: Refactor breaking protection out of the protection moves
2015-08-05 23:22:51 -04:00
Guangcong Luo
4069a9823f Merge pull request #2086 from ascriptmaster/move-fixes
Replace -activate tags on Anticipate/Forewarn with -ability
2015-08-03 22:55:13 +00:00