Commit Graph

3273 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
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
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
Kevin Lau
17a3129286 Update messages for Anticipation and Forewarn
Anticipation now activates as an -ability tag.

Forewarn now uses an [of] tag to indicate the given Pokemon, and fixed
Gen 4 Forewarn to not broadcast the Pokemon.
2015-08-03 10:53:21 -07:00
The Immortal
bf1e72f0ff List Clefairy as PU
Usage stats make it PU.
2015-08-03 19:12:43 +04:00
The Immortal
d60593b2ad Move Venomoth and Smeargle out of BL 2015-08-03 09:31:54 +04:00
The Immortal
3aeaa1877d Update tiers for August shift 2015-08-02 22:58:22 +04:00
The Immortal
0220bb3699 Update Seasonal entry in /formatshelp and /om
Added a description and alias for the Seasonal so this is no longer
needed. This also makes `/om seasonal` no longer display “No
description found for this Singles OM of the Month format.”
2015-08-02 04:04:12 +04:00
Kevin Lau
0c0107f189 Fix behavior with /analysis Meowstic
/analysis Meowstic and /analysis Meowstic-M now link correctly.
2015-08-01 02:55:05 -04:00
Guangcong Luo
08463c42a5 Merge pull request #2040 from ascriptmaster/seasonal
Implement August/September Seasonal, Rainbow Road
2015-07-30 03:49:41 +00:00
Kevin Lau
9ab24bd684 Random Doubles: Tweak Helping Hand, Heal Pulse, Trick Room distributions
Removed Helping Hand and Heal Pulse from Pokemon with very low usage stats
for those moves.

Reject Trick Room with Icy Wind.
2015-07-29 11:10:22 -07:00
Marty-D
5cb2cf0311 Merge pull request #2074 from ascriptmaster/move-fixes-3
Ice Ball and Rollout do not double BP when hitting multiple times/turn
2015-07-27 16:19:31 -04:00
Rhythms
8183ffe09e Fix Defeatist's interaction with HP
@Marty: please stop believing websites that aren't this one or UPC :/
The description for Defeatist is literally "While this Pokemon has 1/2
or less of its maximum HP, its Attack and Special Attack are halved."
I even looked in-game and it said it was half of lower, and even sites
we shouldn't trush say it's 1/2 or less of max HP.
2015-07-26 21:55:16 -06:00
Kevin Lau
7513362001 Parental Bond does not affect Ice Ball or Rollout
Also, if Ice Ball or Rollout are somehow made to hit more than 5 times
without resetting, subsequent hits should be 30 BP.
2015-07-26 19:58:40 -07:00
Marty-D
a12200fed7 Fix Attract removal timing 2015-07-26 17:08:07 -04:00
The Immortal
f29e35ea9d Move Pidgeot to PU
And it’s custom Random Battle level isn’t needed anymore because it’s
unlikely (Mega) Pidgeot will go to OU.
2015-07-26 15:59:29 +04:00
Guangcong Luo
8fd4ea2bae Fix locked move and PP tracking interaction 2015-07-26 04:18:31 -04:00
Ivo Julca
4061ca4d5c Battle Factory: update sets
This adds the remaining Arceus formes,bringing the Ubers tier in line with
http://www.smogon.com/forums/threads/representation-of-unviable-ubers-in-battle-factory.3544108

Some UU and NU sets are hereby updated as well.
2015-07-26 00:34:25 -05:00
Marty-D
192ad88ef9 Fix remaining boost orders
- Magnetic Flux, Shift Gear, Weak Armor
2015-07-25 11:40:36 -04:00
Pikachuun
cf295251a1 Fix Flower Gift 2015-07-24 20:03:25 -04:00
Guangcong Luo
fbac721b07 Merge pull request #2079 from ascriptmaster/move-fixes-2
Normalize ModifySpe calculations with the other Modify-Stat events
2015-07-24 22:41:48 +00:00
The Immortal
e8e97ab789 Prevent shiny Hoopa 2015-07-25 02:20:22 +04:00
Kevin Lau
0bbd3650b7 Normalize ModifySpe calculations with the other Modify-Stat events
The current implementation of ModifyAtk, ModifyDef, etc. is to pass the
actual stat into the event, have event handlers run battle.chainModify(),
ModifySpe passes in a modifier variable, calls battle.chain(), and then
ends with battle.modify() using the modifier variable. The way chainModify
is implemented within the event system also means that it chains together
modifiers in the same manner and finishes with battle.modify(), meaning
that there is no need for ModifySpe to use battle.chain() and
battle.modify() manually.

This also fixes the effect of BattlePokemon#getStat on stats other than
speed.
2015-07-24 12:19:42 -07:00
Marty-D
974ecec510 Fix Curse and V-create boost order 2015-07-24 12:54:28 -04:00
Marty-D
112aa72378 Fix Parental Bond with spread moves having only one target 2015-07-24 12:37:53 -04:00
The Immortal
aee36ef6c0 Fix Shell Smash boost order 2015-07-24 19:53:23 +04:00
Kevin Lau
bbec40bff4 Fix Secret Power's short description 2015-07-24 05:22:29 -07:00
The Immortal
ea546bf8e4 Change Sturdy to use -ability
Relevant:
https://github.com/Zarel/Pokemon-Showdown-Client/commit/a2e9ed70bfa78c26
bfef41d871116455519af04c
2015-07-24 14:23:38 +04:00