Commit Graph

3250 Commits

Author SHA1 Message Date
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
Guangcong Luo
5d3cd8263c More updates to Endless Battle Clause
- Gen 1 PP overflow makes a Pokemon stale
- Staleness warnings now specify the staleness source
- Half-staleness also warns, if another pokemon is already stale

Warning on half-staleness helps remind people who seem to think
they've beaten Endless Battle Clause after 5-ish turns, when it
takes 10-20 turns for some staleness verdics, especially if
there's a lot of switching going on.
2015-07-24 03:33:28 -04:00
The Immortal
2e6ffd3d4c Ban Pidgeotite from UU 2015-07-23 22:47:22 +04:00
Marty-D
21a7fcc8bc Fix Parental Bond interaction with two-turn moves 2015-07-22 22:04:06 -04:00
Guangcong Luo
ddb8b7f7a3 Minor Endless Battle Clause update 2015-07-22 04:22:32 -04:00
Guangcong Luo
c8c03ad92d Update Endless Battle Clause
The full description is in the comments of the Endless Battle
Clause entry in rulesets.js.

This update fixes a lot of the issues with yesterday's version.

Also included: A minor refactor of deductPP, which did not need
a success variable.
2015-07-22 03:41:43 -04:00
Guangcong Luo
1199108fc0 Fix Spite message 2015-07-22 03:38:49 -04:00
Guangcong Luo
9bf3517f2e Implement New Endless Battle Clause
The new Endless Battle Clause attempts to ban endless battles by
detecting situations in which a battle could become endless.

This approach bans endless battles without banning Leppacycling.

The exact formulation is:

A Pokémon is considered cornered if:

- it has no available moves other than Struggle
- OR a stale Pokémon used Assist Whirlwind on it
- OR it has been hit by a Struggle from a stale Pokémon on the turn
  it switched in

(at the beginning of a turn, if you have available moves other than
Struggle, you are no longer cornered)

A Pokémon is considered stale if:

- it has gained a Leppa berry through any means besides starting
  with one (including but not limited to Harvest, Recycle, Pickup,
  Symbiosis, Bestow, Thief, Switcheroo, and Magician)
- OR it has been targeted with Fling Leppa Berry
- OR it is cornered and begins a turn with more HP than it the last
  turn it began
- OR it is cornered and begins a turn with as much HP as the last
  turn it began, and was not fully paralyzed, loafing around from
  Truant, or immobilized from Attract
- OR it uses Transform/Imposter against a stale Pokémon

(a Pokémon that becomes stale stays stale for the rest of the match)

If all active Pokémon are stale, the player whose team originally
started with a Leppa Berry loses. If both or neither team started
with a Leppa Berry, the team that had the first stale Pokémon wins.
2015-07-21 06:38:22 -04:00
The Immortal
e92714a2ed Random Battle: Prevent Outrage with Draco Meteor
if they are the Pokemon’s only two damaging moves.
2015-07-21 02:16:53 +04:00
Kevin Lau
411d741b08 Implement August/September Seasonal, Rainbow Road
Rainbow Road is a Mario Kart and color themed seasonal.

Every few turns, a player can get an item that changes the course of the
battle, such as a Mushroom to increase speed.

Pokemon also get color moves that are super-effective on certain other
colors.
2015-07-20 14:38:14 -07:00
The Immortal
aa0525f724 Fix Intimidate activation message 2015-07-21 00:06:08 +04:00
Ivo Julca
40c4c91af6 Fix future move gem boost message 2015-07-19 12:21:14 -05:00
Guangcong Luo
0bc8f9c50f Merge pull request #2059 from Slayer95/formatshelp
Finish implementation of /formatshelp
2015-07-18 13:16:32 -05:00
The Immortal
8fb1ffc716 Release Hyperspace moves 2015-07-18 14:28:01 +04:00
The Immortal
4b1f7a42f0 Add new event Pokemon
And free Hoopa!
2015-07-18 14:15:25 +04:00
Marty-D
d7ead997a5 Fix Ditto Transformed into Ditto gaining Metal/Quick Powder boosts 2015-07-17 21:57:09 -04:00
Marty-D
f1ae041707 Fix Endeavor showing two failure messages 2015-07-17 21:31:28 -04:00
The Immortal
8c94abf8d8 Merge pull request #2064 from Rhythms88/master
Add an alias for Doubles OU
2015-07-18 03:23:33 +04:00
The Immortal
ba5cb5d932 Merge pull request #2063 from SolarisFox/patch-2
Randoms: Enable Lilligant to get Own Tempo
2015-07-18 03:12:50 +04:00
Rhythms
099540c48d Add an alias for Doubles OU 2015-07-17 17:07:22 -06:00
The Immortal
5ed4a13610 Random Battle: Improve Pyroar and Rapidash
- Reject Sunny Day if the Pokemon lacks an ability that benefits, and
lacks SolarBeam
- Add Dark Pulse to Pyroar to fix the issue raised in #2063
- Reordered the Status cases to weather/status/recovery/other instead
of just alphabetical
2015-07-18 03:05:01 +04:00
SolarisFox
7eb1a284d9 Randoms: Enable Lilligant to get Own Tempo 2015-07-17 16:04:19 -07:00
Ivo Julca
4986032b75 Add aliases for various OMs 2015-07-17 17:23:21 -05:00
Marty-D
fc1268da2e Fix Telepathy's interaction with Bide 2015-07-17 15:52:19 -04:00