Commit Graph

3324 Commits

Author SHA1 Message Date
The Immortal
25491fdcdf Add new OMs of the Month 2015-10-01 22:21:03 +04:00
The Immortal
849a48de9d Random Battle updates
- Add Protect and Sleep Talk to Registeel
- Allow Shadow Sneak as the only STAB on mono-Ghosts
- Prevent Night Shade/Seismic Toss with STAB
- Reject Thunder Wave with Toxic instead of the reverse
2015-10-01 00:33:01 +04:00
Kevin Lau
6e486f9411 Random Battle: Update Cinccino
- Remove Wake Up Slap because it's no longer Technician boosted.
- Change Technician to reject if a Pokemon has Skill Link and all their
Technician-boosted moves are Skill Link moves.
- Added Aqua Tail.

Miscellaneous changes:

- Placed Sheer Force within the counterAbilities section.
- Sorted the coutnerAbilities in the Random Doubles Battle code.
2015-09-29 15:07:15 -07:00
The Immortal
4a8a776b83 Merge pull request #2174 from ascriptmaster/randoms
Random Battle: Ability and Move Updates
2015-09-28 21:41:13 +04:00
Kevin Lau
1a528be0c3 Random Battle: Ability and Move Updates
Reject Solar Power if there are no Special moves (affects Charizard).

If Rampardos does not have Head Smash, make sure it gets Sheer Force.

Don't set the setup type to Physical if there are no Physical moves and at
least two Special moves (or vice versa for Special setup)
2015-09-28 10:30:33 -07:00
Marty-D
cd36cdd287 Make Natural Gift fail while items are disabled 2015-09-27 16:38:21 -04:00
Marty-D
c86660ec4b Fix Punishment's base power 2015-09-27 15:30:02 -04:00
Marty-D
d6fb61c4c6 Correct Grass/Water Pledge descriptions 2015-09-25 23:08:43 -04:00
The Immortal
486d7991e0 Random Battle: Do not count Shadow Sneak as STAB 2015-09-24 19:30:24 +04:00
Kevin Lau
cf4113c43a Improve Hyperspace Fury shortdesc and add a hint when it fails 2015-09-23 15:07:34 -07:00
Guangcong Luo
afaa6d225a Fix Gen 2 Belly Drum display
We now use a -hint to convey that a +2 boost still happens in Gen 2
when Belly Drum fails.

Also, a bug in which 'x2 Atk' didn't appear was fixed.
2015-09-22 23:56:14 -05:00
Slayer95
710fa6af53 Merge pull request #2172 from sobolews/magnitude
Display value of magnitude after move is used
2015-09-22 23:21:10 -05:00
Carl Sobolewski
02c473e8f3 Display value of magnitude after move is used 2015-09-22 21:51:12 -06:00
The Immortal
3e88eeb8dc Random Doubles: Remove Trick on Mega Latios 2015-09-22 21:53:24 +04:00
The Immortal
05f408df1b Ban Venomoth from RU 2015-09-22 17:47:47 +04:00
Ivo Julca
666711e079 Hackmons: Imprison cannot prevent foes from normally using Struggle 2015-09-21 20:56:36 -05:00
The Immortal
e0d48328ac Random Battle: Improve Eruption/Water Spout sets
- Do not count Eruption and Water Spout as STAB so Pokemon get an
additional STAB move with them
- Remove Water Spout from Octillery as it’s too slow to make use of it,
and add Scald + Gunk Shot
2015-09-21 23:41:19 +04:00
The Immortal
74cb4b9b61 Random Battle: Improve sets with Trick 2015-09-19 05:10:48 +04:00
The Immortal
6b2a0c029f Update Battle Spot formats 2015-09-15 20:21:59 +04:00
Kevin Lau
002ea198f7 Add a source parameter to BattlePokemon#transformInto
This allows it to send a proper [from] tag to the client.
2015-09-14 17:08:27 -07:00
Kevin Lau
489fe131ce Add -ability tag to Imposter activation 2015-09-14 13:25:27 -07:00
The Immortal
88f356da80 Random Battle: Prevent Dazzling Gleam with Play Rough 2015-09-14 22:19:23 +04:00
Carl Sobolewski
f1146dcac6 Weather modifies baseDamage instead of basePower
http://git.io/vZKFp
2015-09-13 02:43:39 -06:00
Marty-D
51fb5c8745 Fix Enigma Berry 2015-09-12 21:15:22 -04:00
Ivo Julca
407be53178 Add a noSketch flag to unsketchable moves across gens 2015-09-09 22:32:49 -05:00
The Immortal
933cfca654 Random Battle: Item updates
- Prevent Life Orb with 2 attacks + Rapid Spin
- Add Sharp Beak Talonflame
2015-09-10 01:02:17 +04:00
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