Commit Graph

3234 Commits

Author SHA1 Message Date
Marty-D
0581a47431 Fix rampage-ending confusion message 2015-05-21 14:54:37 -04:00
Guangcong Luo
1824125753 Merge pull request #1887 from SolarisFox/patch-5
Style fix: indexOf() comparisons
2015-05-20 18:59:18 +00:00
Marty-D
0e2606b9b9 Fix failure message showing for self effects 2015-05-20 10:45:17 -04:00
Kevin Lau
276f5ff475 Random Doubles Battle: Item Distribution Update
- Removed Trick/Gyro Ball checks as no Pokemon uses that combination.

- Reject Life Orb on Pokemon with 55 or less base Speed.

- Add a check for slow and strong Regenerator Pokemon to receive Assault
  Vest, at slightly higher priority than Sitrus Berry.
2015-05-19 16:02:47 -07:00
Marty-D
c1a1ce85df Fix failure message showing for secondary effects 2015-05-19 15:49:45 -04:00
Kevin Lau
12be51b262 Battle refactor: New functions ignoringItem() and ignoringAbility()
BattlePokemon#ignoringItem and BattlePokemon#ignoringAbility are
hardcodedto return true for any situation where pokemon.ignore['Item']
or pokemon.ignore['Ability'] respectively would have been true.
2015-05-18 19:17:41 -07:00
SolarisFox
29b961ff69 Style fix: indexOf() comparisons 2015-05-18 15:55:57 -07:00
Marty-D
5d0beee8ac Fix partial trapping end messages 2015-05-18 15:08:52 -04:00
The Immortal
7ab3d2d1fe Update Pokemon in PU 2015-05-18 19:11:16 +04:00
Ivo Julca
bcb3278737 Battle Factory: sync sets 2015-05-17 23:59:41 -05:00
Marty-D
724ae5e0ea Add Endure activation message 2015-05-17 12:58:23 -04:00
Marty-D
420e3458e7 Fix Aromatherapy's interaction with Sap Sipper 2015-05-16 19:47:37 -04:00
The Immortal
fca467c76d Random Battle: Give Aegislash a better item
No more Assault Vest Aegislash!
2015-05-16 23:06:49 +04:00
Marty-D
27db03ebef Battle Factory: Fix Thick Fat resistances 2015-05-15 21:52:07 -04:00
Kevin Lau
b4ccff60dd Fix npm build errors 2015-05-15 01:08:25 -07:00
Marty-D
09c5278d4e Merge pull request #1882 from ascriptmaster/move-fixes-2
Fix Imprison bugs
2015-05-14 17:23:00 -04:00
Kevin Lau
54f9383a2c Fix Imprison bugs
Imprison was not blocking moves the turn it was used.
2015-05-14 14:18:41 -07:00
Ivo Julca
49b2898e28 Battle Factory improvements
- Reject teams significatively weak to a single attack type.
- Improve rejection of multiple megas.
- Reject weather-based abilities without their associated weather.
2015-05-14 16:10:51 -05:00
The Immortal
f7167c9393 Add new format: Battle Cup 1v1
In place of Challenge Cup 1v1. Challenge Cup 1v1 under the new Challenge
Cup rules (f73ea6a0ea) isn't a good
format. It's supposed to have some competitive element in that you can
make predictions on what an opponent might have to beat your "best"
choice and as a result you can counter-pick. But with the new Challenge
Cup, that goes out the window.

This adds a slightly updated version of the old CC generator.
2015-05-14 23:08:38 +04:00
Marty-D
e9057cff4d Fix Perish Song tagging Soundproof Pokemon 2015-05-13 09:40:30 -04:00
Pikachuun
4788f7e707 Add new Alias for Primal Groudon 2015-05-12 13:24:05 -04:00
Marty-D
022dc59767 Remove Attract tag when unneeded 2015-05-12 11:05:20 -04:00
The Immortal
f73ea6a0ea Update Challenge Cup
- CC now follows Hackmons mechanics to differentiate it from Random
further (in other words, CC is now Hackmons CC)
- Took this opportunity to finally rename CC 1v1
- Commented out Gen 1 CC
2015-05-12 13:48:14 +04:00
Jay
a245d19b97 Add new aliases 2015-05-12 02:27:32 -04:00
Guangcong Luo
8b7963e996 Merge pull request #1874 from ascriptmaster/tests
Upgrade tests
2015-05-12 06:25:38 +00:00
Rhythms
8ec0b193a4 Battle Factory: EV Fix
not really necessary, but "more proper"
2015-05-11 19:10:33 -06:00
Marty-D
a570a29eac Fix Foresight and Miracle Eye interaction 2015-05-11 11:41:52 -04:00
Ivo Julca
9978eac254 Battle Factory: update for recent tier shifts 2015-05-11 05:09:46 -05:00
Juanma Serrano
f9375a77a6 Merge pull request #1870 from Slayer95/battle-factory
Implement Battle Factory
2015-05-11 09:54:34 +02:00
Ivo Julca
3817311d9c Implement Battle Factory 2015-05-11 01:03:25 -05:00
Kevin Lau
93d5efef43 Status moves return -immune if the target is immune to the status move 2015-05-10 21:00:23 -07:00
Marty-D
f9bc7594ce Gen II: Stalling moves fail behind a substitute 2015-05-09 12:30:55 -04:00
The Immortal
a18c581176 Ban Kingdra from RU 2015-05-09 01:27:48 +04:00
Kevin Lau
c9c54ada16 Random Battle: Reject Toxic Spikes where Spikes is rejected
Prevents things like Shell Smash + Toxic Spikes.
2015-05-08 00:34:58 -07:00
Marty-D
af280660bb Gen II: Fix Dig and Fly
- Fissure can hit Dig and Whirlwind can hit Fly
- Use BasePower instead of ModifyDamage for doubled power moves
- Also correct current-gen Fly to modify damage instead of base power
2015-05-07 11:09:35 -04:00
Guangcong Luo
383af9eea1 Merge pull request #1858 from ascriptmaster/move-fixes-2
Fix Rage Powder's interaction with Safety Goggles
2015-05-05 05:39:29 +00:00
Guangcong Luo
4f708b1240 Merge pull request #1849 from ascriptmaster/move-fixes
Refactor disabling moves, other miscellaneous bug fixes
2015-05-05 05:36:06 +00:00
Kevin Lau
d287e86b46 Do not consume healing berry if healing is blocked
Fixes behavior between healing berries and Berry Juice with Heal Block.
2015-05-04 21:17:08 -07:00
Kevin Lau
0ec4ff912a Battle Engine Refactor: Add a DisableMove event
The intention for this event is to remove the move disabling code away
from ModifyPokemon and to an event that can be run a fewer number of
times. Since the disabledMoves index is used to gray-out moves that cannot
be used, and not for any other purpose, there is no need for the related
code to be run at the ModifyPokemon timing, instead working better as a
once per turn event.
2015-05-04 21:17:00 -07:00
Kevin Lau
8f33492d8b Fix Gravity's interaction with Fly and Bounce
Without removing the 'twoturnmove' volatile, it was forcing Pokemon to
re-select Fly if Gravity was used while the Pokemon was in midair.
2015-05-04 21:16:56 -07:00
The Immortal
6ab9c05837 Move Gallade to RU 2015-05-05 05:28:18 +04:00
Juanma Serrano
1a2882eb09 Remove March-April Seasonal, Super Staff Bros. 2015-05-04 17:35:21 +02:00
Marty-D
1209954765 Fix Sheer Force properly 2015-05-04 10:45:44 -04:00
Juanma Serrano
299213040d Fix Sheer Force
This adds the intended fix of bdd99e84d3 and fixes the problem that made all Sheer Force mons to ignore the AfterMoveSecondary event.
2015-05-04 12:15:09 +02:00
Kevin Lau
23a8ebd8eb Fix Rage Powder's interaction with Safety Goggles
Safety Goggles was causing Rage Powder to fail.
2015-05-04 00:22:01 -07:00
Guangcong Luo
2d3bfb1af7 Merge pull request #1855 from Rhythms88/air-lock-cloud-nine-fix
Fix Air Lock and Cloud Nine
2015-05-04 02:58:59 +00:00
Rhythms
a7b846f6e0 Fix Air Lock and Cloud Nine
Moved them from AnyModifyPokemon to AnySwitchIn based on information in
the <a href="https://github.com/Zarel/Pokemon-Showdown/issues/1789">Air
Lock and Cloud Nine Difficulties issue</a> from @gamut-was-taken
2015-05-03 17:03:31 -06:00
Marty-D
6356f1ab33 Fix Rock Head against substitutes 2015-05-03 13:26:20 -04:00
Marty-D
bdd99e84d3 Fix Sheer Force
- Sheer Force may not be user's Ability by the time `AfterMoveSecondary`
effects are checked
- Sheer Force boosted moves called by other moves now ignore
`AfterMoveSecondary` effects properly
2015-05-03 11:40:39 -04:00
The Immortal
bea648d979 Add tier changes 2015-05-03 09:35:05 +04:00
Marty-D
a92e38547f Fix Rock Head
- Since Mummy exists, it is entirely possible not to have Rock Head by
the time recoil happens
2015-05-02 15:05:42 -04:00
The Immortal
0000f4dfab Random Battle: Prevent Choice with Speed Boost
Fixes #1848
2015-05-02 13:35:51 +04:00
Marty-D
d80f788f97 Fix Must recharge tag appearing when unneeded 2015-05-01 16:49:33 -04:00
Guangcong Luo
73f1a71044 Merge pull request #1845 from xfix/remove-learnsets-g6
Remove learnsets-g6.js
2015-05-01 17:09:55 +00:00
Konrad Borowski
90a84f558c Remove learnsets-g6.js
This file is not needed in the server repository, and is automatically
generated in client repository by githooks/update script.
2015-05-01 11:16:06 +02:00
Konrad Borowski
686c5a2f04 Remove Endure Move Tutor from Gen6
Fixes #1840.
2015-05-01 11:10:07 +02:00
Joimer
5c9b7ed707 Remove unused team makers 2015-05-01 05:08:33 +02:00
Marty-D
c51bb399fe Fix Sturdy's OHKO immunity 2015-04-30 14:29:58 -04:00
Marty-D
c53d022e4b Fix OHKO moves
- Fix Gen 1/Stadium's accuracy and immunity order
- Fix OHKO moves ignoring Phantom Force
- Add OHKO messages
2015-04-30 13:06:45 -04:00
Guangcong Luo
f8032a9a19 Merge pull request #1830 from ascriptmaster/move-fixes
Standard Weather always fails to activate when Primal Weather is active
2015-04-30 07:10:09 +00:00
Marty-D
d2a66b597f Fix Shaymin Sky reversion on freeze
freezing a Shaymin-S transformed into something else -> no change; no
change when it comes back in frozen
freezing a Shaymin-S transformed into Shaymin-S -> reverts to Shaymin
freezing a Shaymin transformed into Shaymin-S -> reverts to Shaymin
freezing a Ditto transformed into Shaymin-S -> no change
freezing a Shaymin-S holding Aspear or Lum -> reverts to Shaymin, then
defrosts
2015-04-29 23:31:20 -04:00
Slayer95
5788bf82b7 Merge pull request #1839 from Rhythms88/seasonal
Super Staff Bros.: Change Astyanax into Asty
2015-04-29 17:14:38 -05:00
Marty-D
1974360fa8 Fix Feint properly
- Multiple protection effects could be active for the same target
2015-04-29 18:13:09 -04:00
Rhythms
fb9cc056b2 Super Staff Bros.: Change Astyanax into Asty 2015-04-29 16:12:56 -06:00
Marty-D
9d0f83ba76 Fix Feint
- All forms of protection can be broken by allies in Gen 6
2015-04-29 17:28:46 -04:00
The Immortal
b270788e0d Merge pull request #1837 from SolarisFox/patch-4
add weakcoasta to randbats
2015-04-29 16:08:54 +08:00
SolarisFox
5f95a7cc3b add weakcoasta to randbats 2015-04-29 00:43:32 -07:00
The Immortal
8e6d7fd4c9 Merge pull request #1838 from Rhythms88/seasonal
Super Staff Bros.: Remove @Goddess Briyella.
2015-04-29 15:38:15 +08:00
Rhythms
0a57a27595 Super Staff Bros.: Remove @Goddess Briyella 2015-04-29 00:28:23 -06:00
Marty-D
de5faddf3f Add Sticky Hold message 2015-04-28 20:47:50 -04:00
Marty-D
4570f3b6df Add Lock-On/Mind Reader message 2015-04-28 19:56:55 -04:00
Juanma Serrano
d44bfb3e92 Merge pull request #1823 from Rhythms88/master
Seasonal: Rank Changes
2015-04-27 08:45:03 +02:00
Kevin Lau
a99b5d5c51 Standard Weather always fails to activate when Primal Weather is active
Old implementation allowed Pokemon to use a standard weather move like
Rain Dance successfully against a primal weather like Harsh Sun if a
Pokemon with Cloud Nine or Air Lock was active.
2015-04-26 18:19:06 -07:00
Ivo Julca
54c8c8a0ad Hackmons: fix decisions being overriden when Struggle is in the first slot 2015-04-26 17:36:36 -05:00
Ivo Julca
00f6c0faf7 Style fixes 2015-04-26 00:26:13 -05:00
Guangcong Luo
e71a287775 Properly show message when status is blocked by Sub 2015-04-25 22:05:42 -05:00
Guangcong Luo
4db053befe Revert "Show fail message when status is blocked by Sub"
This was implemented exactly the wrong way and showed fail messages
in a lot of situations they shouldn't show up, such as when
Close Combat's Def/SpD drops didn't happen.

This reverts commit 1edc40f936.
2015-04-25 21:58:09 -05:00
Rhythms
9b4c9617bb Seasonal: Rank Changes
- Promoted Acedia and Audiosurfer.
- Fixed one of Diatom's ranks.
- Moved shaymin's and MattL's moves to the correct areas, as well as
Acedia's and Audiosurfer's.
2015-04-25 13:15:40 -06:00
Juanma Serrano
9ace640bcc Merge pull request #1808 from RhythmsAreFromVibrations/seasonal
Super Staff Bros.: Add %Kayo
2015-04-25 14:57:08 +02:00
DanUgore
6023cbd9ca Correct e04901adb3 2015-04-25 03:51:30 -04:00
DanUgore
e04901adb3 Update Protect Mechanics
Counter maxes out at 3^6.
2015-04-25 03:28:35 -04:00
Kevin Lau
b55951d5db Random Battle: Slightly tweak Hidden Power rejection check
STAB Hidden Power without the Pokemon's other STAB can be bad. Since
there's no real way to check if the Pokemon has the other STAB with the
current system, it's better to remove that check.
2015-04-24 18:23:31 -07:00
The Immortal
3d2aee35ed Merge pull request #1810 from ascriptmaster/randoms
Random Battle: Improve Hidden Power rejection check
2015-04-25 06:44:15 +08:00
Kevin Lau
25d50dc2b1 Random Battle: Improve Hidden Power rejection checks
Reject Hidden Power with Special setup and 2 Special moves if:
- It is not STAB
- It is not part of a Ghost/Fighting combination
- It is not part of an Electric/Ice combination
- It is not being used by Lilligant, which needs it for coverage
2015-04-24 15:09:41 -07:00
Kevin Lau
04052d6449 Random Battle: Tweak Shedinja's EVs
HP/Def/SpD EVs are completely useless on Shedinja.
2015-04-23 19:45:47 -07:00
Guangcong Luo
27f3ae2372 Merge pull request #1805 from ascriptmaster/move-fixes-2
Fix Flower Gift to properly use formeChange
2015-04-23 16:42:00 +00:00
Kevin Lau
0644ce40aa Fix Flower Gift to properly use formeChange 2015-04-22 15:59:25 -07:00
Guangcong Luo
dc9ba97551 Merge pull request #1790 from ascriptmaster/move-fixes
Have Burn calculate directly in getDamage
2015-04-21 19:30:42 +00:00
Joimer
4938087d53 Super Staff Bros.: Demote Vacate
He quit :(
2015-04-21 19:46:23 +02:00
Kevin Lau
43171a8613 Random Battle: Improve Trick Room rejection
Pokemon with Trick Room should be ready to attack once it's up, and don't
really have time to set up, so it's rejected with setup.
2015-04-21 01:30:42 -07:00
Rhythms
8c6edb7038 Super Staff Bros.: Add %Kayo
I also moved %Hugendugen's entry quote because it wasn't in the right
place and I changed the double quotes to single quotes.
2015-04-20 22:22:28 -06:00
Guangcong Luo
80102c29e4 Merge pull request #1798 from ascriptmaster/randoms
Random Battle Refactor: Move Tracking split off as seperate function
2015-04-21 04:21:43 +00:00
The Immortal
955f1e9441 Add new NU bans 2015-04-21 01:00:47 +04:00
Kevin Lau
85ce000a41 Have Burn halve physical damage directly in Battle#getDamage 2015-04-20 12:55:27 -07:00
Kevin Lau
e1d7393620 Random Battle Refactor: Move Tracking split off as separate function
This will help reduce repetition, and also will allow for the move
tracking to easily update after the final moveset modification
(for example, allowing Choice Band/Scarf Mega Rayquaza if its last
Status move was overwritten by Dragon Ascent).
2015-04-20 12:20:23 -07:00
Juanma Serrano
90f9593d71 Merge pull request #1797 from RhythmsAreFromVibrations/master
Super Staff Bros.: Add %Bumbadadabum
2015-04-20 17:17:52 +02:00
The Immortal
fb8c970540 Fix Sap Sipper bug
This fixes it activating on the user's Aromatherapy.
2015-04-19 14:56:43 +04:00
Kris Johnson
e5d4e02c5a Super Staff Bros.: Fix single quotes 2015-04-18 15:39:34 -06:00
Kris Johnson
857d3c8f23 Super Staff Bros.: Add %Bumbadadabum 2015-04-18 11:09:09 -06:00
Juanma Serrano
bd5d724d0e Super Staff Bros.: Remove imanalt
People who are demoted from rulebreaking are not entitled to a voice character.
Exceptions are made only for meme former staff.
2015-04-17 12:22:53 +02:00
Kris Johnson
7d81d7623a Super Staff Bros.: Remove a move from %QuoteCS
Removed Dragon Ascent so QuoteCS's signature move could allow him to
keep the SpD boost.
2015-04-17 03:15:21 -06:00
The Immortal
1edc40f936 Show fail message when status is blocked by Sub 2015-04-17 03:31:30 +04:00
The Immortal
339233c3b0 Fix Me First and Mirror Move against Substitute
Also changed `target` to `pokemon` for Nature Power because it makes
more sense as it targets `self`.
2015-04-17 02:31:15 +04:00
The Immortal
9af2a3df12 Fix Nature Power against Substitute 2015-04-16 22:36:12 +04:00
Konrad Borowski
027b45e75f Super Staff Bros.: Promote @xfix 2015-04-16 15:10:47 +02:00
Konrad Borowski
0f93a57e8b Super Staff Bros.: Promote @trinitrotoluene. 2015-04-15 18:35:26 +02:00
Konrad Borowski
5d990198e9 Super Staff Bros.: Fix name of %Crestfall's signature 2015-04-14 22:18:00 +02:00
Guangcong Luo
54947b665f Merge pull request #1728 from ascriptmaster/move-fixes
Move refactor: moves/items that ignore immunity/effectiveness
2015-04-14 17:05:22 +00:00
Konrad Borowski
9172e7a3a5 Super Staff Bros.: Add %galbia. 2015-04-14 12:57:58 +02:00
sirDonovan
541c427784 Update Monotype Bans
http://www.smogon.com/forums/threads/monotype-xy-read-post-393-for-tiering-updates.3493087/page-70#post-6162829
2015-04-13 09:28:13 -05:00
Guangcong Luo
1e620bdb65 Merge pull request #1761 from ascriptmaster/move-fixes-2
Fix interaction between Curse and Protean
2015-04-12 21:36:33 +00:00
Kevin Lau
6e2458bc4e Fix interaction between Curse and Protean
The relation is hard-coded because no other move changes based on the
user's type the way Curse does, and the alternative would require
refactoring some things with the event ordering.
2015-04-12 13:55:05 -07:00
Konrad Borowski
ca7f91d1d3 Super Staff Bros.: Demote imanalt. 2015-04-12 18:19:20 +02:00
Ivo Julca
e6332ff424 Properly do b0e7711 2015-04-11 20:19:52 -05:00
Kevin Lau
81be17cd3c Fix Wonder Guard's interaction with Iron Ball/Thousand Arrows 2015-04-11 00:43:56 -07:00
Kevin Lau
8245e1d3b9 Random Monotype: Treat Castform-Sunny and Castform-Rainy as Normal-type 2015-04-10 15:25:31 -07:00
Juanma Serrano
8d149dea2e Monotype RandBats: Make Meloetta-P get into Normal or Psychic teams 2015-04-10 14:31:24 +02:00
Kevin Lau
628b870b2f Move Refactor: Moves track the type effectiveness of the move
Set up moves to track the type effectiveness of the move for purposes of
'Hit' and 'ModifyDamage' events. This fixes various glitches resulting
from Pokemon with the 'IgnoreEffectiveness' flag set for some types, and
also is a slight optimization because it removes the need to run the
'Effectiveness' event one more time to check effectiveness in the moves.
2015-04-09 01:46:22 -07:00
Juanma Serrano
d72b72f91d Rename Smogon Doubles to Doubles OU
It has been decided for Doubles to keep the tiering nomenclature.
Sorry, ladderers.
2015-04-09 09:31:10 +02:00
Marty-D
c3fcc834b8 Fix Struggle
- No longer leaks information that the opponent has no moves left
whether or not they actually attack with Struggle
- Now shows the correct recoil message
- Gen 3 and earlier now have the correct accuracy
2015-04-08 23:43:39 -04:00
Kevin Lau
936f95d64d Random Double Battle: Update move rejection for -ate Pokemon
Remove hardcoded checks that give -ate Pokemon Normal moves, instead using
the Random Single Battle's code.
2015-04-08 14:24:28 -07:00
The Immortal
f1e669e24a Update Random Battle script
Removed the hardcoded moveset modifications for Pokemon with -ate
abilities.
2015-04-08 20:52:24 +04:00
The Immortal
70c3dbe046 Random Battle: Modify custom levels
Ninetales and Politoed are kept because weather is banned in UU (and
below) so they are PU as a result. However, weather is in Random Battle
so they are lowered to RU level. The same applies to Wobbuffet and
Shadow Tag.
2015-04-08 15:29:22 +04:00
Kevin Lau
2e56120ad9 Move refactor: affectedByImmunities -> ignoreImmunity
While move.affectedByImmunities was always a Boolean value to denote if
the move was affected by immunities, move.ignoreImmunity can be a Boolean
value if it ignores or is affected by all type immunities, but also can
act as an object such that !!move.ignoreImmunity[type] means it ignores
immunities of that type.
2015-04-08 00:17:12 -07:00
Kevin Lau
6014e7806f Random Double Battle: Update Cobalioin, Virizion
Random Doubles doesn't support mixed sets as well as Random Singles, so
this constrains both sets to Physical-only.
2015-04-07 17:23:53 -07:00
Kevin Lau
51690081dd Random Battle: Reject Leaf Blade with Giga Drain and no Setup
Affects Mega Sceptile.
2015-04-07 16:59:10 -07:00
The Immortal
a33aecbe83 Random Battle: Make sure Mega Glalie has a Normal move 2015-04-08 02:45:47 +04:00
Kris Johnson
05c3f0397e Seasonal: Update %QuoteCS's EVs 2015-04-07 16:33:09 -06:00
Konrad Borowski
7b071f45a3 Super Staff Bros.: Implement Charles Carmichael 2015-04-07 18:17:14 +02:00
Juanma Serrano
8bedc8aa6d Merge pull request #1740 from RhythmsAreFromVibrations/master
Seasonal: Adjust a lot more
2015-04-07 17:57:39 +02:00
Konrad Borowski
8830318a66 Remove complex ban for Kyurem-White in Monotype
Kyurem-White is now completely banned from Monotype. This removes
unused code from Same Type Clause.
2015-04-07 13:12:46 +02:00
Kevin Lau
6b2234a4dd Random Battle: Update Porygon2, improve Water redundancy checks
Reject Hydro Pump with Waterfall (affects Samurott and Kingdra).

Reduce the number of moves available to Porygon2 so it has a higher chance
of getting Recover.
2015-04-07 02:54:23 -07:00
Kris Johnson
83ef4c5792 Seasonal: Adjust a lot more
Added `%QuoteCS`'s Pok&eacute;mon, move, and entering/dying phrases (I
talked with him on PS! for info on what he wanted).
Fixed casing on `%Birkal`, `%DTC`, and `%raseri`.
Moved `@rekeri`'s and `@Timbuktu`'s moves to the correct places.
2015-04-06 20:45:52 -06:00
Kevin Lau
bc273b0773 Random Double Battle: Update Huntail, Remove Icy Wind/HP-Ice check
The Doubles EV generator means it's more beneficial to give Huntail all
Physical moves (252 Atk Ice Fang outdamages 0 SpA Ice Beam, for example)

Remove Icy Wind/HP-Ice redundancy check because Keldeo no longer has
Hidden Power Ice on its random battle sets.
2015-04-06 12:40:59 -07:00
The Immortal
a9d905df09 Update Servine's tier
It is now PU by usage stats.
2015-04-06 21:25:40 +04:00
Kris Johnson
9dc504a737 Seasonal: Adjust a lot
fixed casing on astara, bean, barton, and haunter
fixed `@Timbuktu`'s rank and added custom messages
added MattL and shaymin to voices since they 'retired/resigned'
2015-04-05 22:25:49 -06:00
The Immortal
fcc619e7ca Merge pull request #1730 from ascriptmaster/randoms
Random Battle: Update Tauros
2015-04-06 05:12:25 +04:00
Kevin Lau
7a97f790a4 Random Battle: Update Tauros
Single Battle: Replace Rock Climb with Return if Tauros does not have
Sheer Force (1/3 chance of getting Intimidate)

Double Battle: Remove Rock Climb for Return and add Stone Edge, since
Tauros always has Intimidate in Random Double Battles
2015-04-05 18:03:28 -07:00
The Immortal
4949d4a476 Random Battle: Reject Rock Climb with Double-Edge 2015-04-06 04:56:47 +04:00
Marty-D
1a6e62ef7b Fix Pickpocket 2015-04-05 10:55:02 -04:00
Marty-D
dfbf0daf27 Use gravity flag for Gravity
Pending a ModifyPokemon refactor, the disabling part can keep its list.
2015-04-04 20:28:25 -04:00
The Immortal
1c9fb89988 Remove isTwoTurnMove property and use charge flag 2015-04-05 03:27:32 +04:00
Guangcong Luo
77b232ec25 Fix Substitute blocking foeSide moves
TryPrimaryHit, originally created for Substitute, is currently
being used for Substitute, gems, and auras. Neither of these
should affect all, foeSide, and allySide moves, so the event no
longer fires in these cases.

Included: Bonus: unit test for Substitute not blocking Stealth Rock
2015-04-03 22:48:24 -04:00
Rhythms
f05af24486 Seasonal: Capitalize Bean 2015-04-03 19:13:31 -06:00
Kevin Lau
8b72057c18 Random Double Battle: Remove Blizzard from Articuno 2015-04-03 16:13:23 -07:00
The Immortal
7e9c1030ec Remove notSubBlocked move property
Use the authentic flag instead. Also combined the Infiltrator properties
into one.
2015-04-04 01:22:21 +04:00
Marty-D
815f9d8689 Remove thawsUser move property 2015-04-03 15:39:46 -04:00
The Immortal
70c780f96a Remove isNotProtectable move property
Use flags instead.
2015-04-03 22:07:50 +04:00
The Immortal
ea888ae7d5 Fix Mist
Infiltrator does not bypass Mist on the same side in Doubles. Fixed the
message showing multiple times.
2015-04-03 21:11:58 +04:00
Marty-D
a698ed2315 Ensure Toxic Spikes does not activate Synchronize 2015-04-03 12:19:11 -04:00
The Immortal
633bd55d4b Fix Safeguard in Doubles
Infiltrator does not bypass Safeguard on the same side. Removed
hardcoded Toxic Spikes as well.
2015-04-03 19:54:07 +04:00
Antar1011
a7ea2b485e Quick Rises for April
http://www.smogon.com/forums/threads/smogon-usage-based-tier-update-february-2015-see-post-151-for-march-quick-rises-drops.3528836/page-9#post-6143504
2015-04-03 10:29:50 -04:00
Marty-D
8c3765fb3e Merge pull request #1712 from Marty-D/master
Fix thaw mechanics in all gens
2015-04-03 09:47:27 -04:00
Marty-D
3742d84f34 Fix thaw mechanics in all gens
- Gen 5-6: Thaw check is skipped when using a self-thaw move
- Gen 3-4: Thaw check happens before a move is used
- Gen 2: Self-thawing does not happen if the move misses
2015-04-03 09:42:08 -04:00
The Immortal
a706b5601c Update Random Battle level scale 2015-04-03 17:14:22 +04:00
The Immortal
d4a22bb1e6 Remove isContact property from moves
Use flags instead.
2015-04-03 16:59:53 +04:00
Cranham
64939bf3ad Random battles: Reject ice beam & freeze dry together
Seems a bit redundant to have both together. affects articuno and lapras
2015-04-03 02:11:56 +01:00
The Immortal
844bad67cd Merge pull request #1709 from ascriptmaster/protocol
Fix Leppa Berry protocol message
2015-04-02 23:47:58 +04:00
The Immortal
e56eea5d15 Forgot to remove the clause 2015-04-02 16:10:24 +04:00
The Immortal
08f108aefd Random Battle: Merge Rain Dance and Sunny Day checks 2015-04-02 15:24:48 +04:00
Kevin Lau
b0e7711685 Fix Leppa Berry protocol message
Apparently the move data that stores PP doesn't have a "name" property.
2015-04-01 23:09:02 -07:00
Kevin Lau
703399bc8b Random Battle: Split Castform into Sunny and Rainy Formes
Also implement fix for Meloetta starting out in Pirouette Forme in Random
Doubles Battles.
2015-04-01 17:42:47 -07:00
Juanma Serrano
c1210f33ff Implement OMotD contender, Mr Bones Wild Ride 2015-04-01 17:16:50 +02:00
Juanma Serrano
cf1785cb83 Update Final Destination
Proper wording for clause.
Critical hits are removed, they are uncompetitive.
2015-04-01 10:23:26 +02:00
Juanma Serrano
29b13451b6 Implement OM of the Decade
Disregard puny OM of the Month thing. That's for losers anyway.
From now on, the strongest and best OM is going to be added as the OM of the Decaed.
It will only be changed when a strongest OM appears and beats it off.
Right now, with no contender really, that OM is Final Destination. Any other OMs just pale in comparison.
2015-04-01 10:00:11 +02:00
Quinton Lee
5180adac40 Fix error from a0fb03cc91 2015-03-31 22:04:38 -05:00
Ivo Julca
a0fb03cc91 Make randomMonotypeTeam deterministic 2015-03-31 21:01:18 -05:00
Marty-D
659aae282e Merge pull request #1705 from ascriptmaster/move-fixes
Send -end message when Flash Fire volatile disappears
2015-03-31 19:54:04 -04:00
Kevin Lau
4ca5d7a676 Send -end message when Flash Fire volatile disappears
Relevant for when the Pokemon with an active Flash Fire boost has its
ability changed or suppressed.
2015-03-31 16:18:07 -07:00
Marty-D
2382aece33 Merge pull request #1695 from ascriptmaster/move-fixes
Change Slow Start to listen to End events
2015-03-31 15:05:27 -04:00
Kevin Lau
ca2aade9ec Change Slow Start to listen to End events 2015-03-31 11:51:25 -07:00
The Immortal
42d7af1489 Update format aliases 2015-03-31 19:27:34 +04:00
The Immortal
20b1b00f4c Random Battle: Reject Flame Charge without enough attacking moves
This fixes #1704 to give Ho-Oh, and other Pokemon with Flame Charge,
better sets.
2015-03-31 19:16:20 +04:00
Juanma Serrano
17be3943c8 Implement Monotype Random Battle challenge option
The long awaited Random Battle format of one of the most acclaimed OM is finally here.
2015-03-31 15:55:49 +02:00
The Immortal
c7aa6d108f Add event Amaura 2015-03-31 16:39:21 +04:00
Kevin Lau
a3294ebe59 Add new aliases for Heracross and Mega Heracross
Hera = Heracross, Mega Hera and Mega Cross = Mega Heracross
2015-03-31 00:57:51 -07:00
Konrad Borowski
a9c2ed2262 Reject Fire Blast with Fire Punch
There is no reason for Flygon to run both, and having two fire moves 
restricts Flygon a bit.
2015-03-30 17:09:17 +02:00
The Immortal
e63a5016cb Fix Spiky-eared Pichu being legal 2015-03-30 16:35:12 +04:00
Juanma Serrano
059d99838a Super Staff Bros.: Buff Beowulf slightly
Fix typo on EVs and give back 10% flinch chance as well as some BP
2015-03-30 11:25:07 +02:00
Juanma Serrano
1b679d63aa Super Staff. Bros: Implement Articuno 2015-03-30 11:11:12 +02:00
Juanma Serrano
3a8f98b3ca Super Staff. Bros: Buff Lyto
Too weak on the current meta, removed debuffs and made it Modest.
2015-03-30 11:01:39 +02:00
Juanma Serrano
7d4b4208fb Super Staff. Bros: Implement Crestfall 2015-03-30 11:00:27 +02:00
The Immortal
61eb39a5a1 Merge pull request #1690 from ascriptmaster/randoms
Random Battle: Update Cradily, Cacturne
2015-03-30 01:14:54 +04:00
Kevin Lau
a5bb313a74 Random Battle: Update Cradily, Cacturne
Reject Seed Bomb with Giga Drain.

Switch Cacturne's Doubles set to fully Physical.
2015-03-29 14:13:13 -07:00
The Immortal
571c7653a4 Improve ability ratings 2015-03-29 16:01:00 +04:00
Kevin Lau
9f25d18169 Fix ModifyBoost crashes
ModifyBoost events called for accuracy and evasion were sending the wrong
object as the relay variable.
2015-03-28 17:37:20 -07:00
The Immortal
5949294b78 Use hasItem in Arena Trap 2015-03-29 04:00:51 +04:00
Guangcong Luo
94cff26636 Merge pull request #1687 from ascriptmaster/modifypokemon
Arena Trap Typo Fix
2015-03-28 18:54:18 -05:00
Guangcong Luo
603f9b8141 Merge pull request #1685 from ascriptmaster/move-fixes
Make sure the flags object always exists in moveData
2015-03-28 18:47:26 -05:00
Audiosurfer
3d57a07da5 Fixed Avalugg's Random Doubles Moveset
It was just the singles one with Protect added so it had some really bad moves that I removed.
2015-03-28 17:35:31 -05:00
The Immortal
f05143c00f Random Battle: Improve Aurorus 2015-03-28 16:41:08 +04:00
The Immortal
a916a80a63 Update viable Hidden Powers
Almost everything learns Hidden Power. Fire and Ice are the most common types used competitively so choose to show them only in the Teambuilder as "usable".
2015-03-28 16:39:48 +04:00
Kevin Lau
18b3a99423 Arena Trap Typo Fix 2015-03-28 03:02:02 -07:00
Kevin Lau
a92cc2b8e0 Make sure the flags object always exists in moveData 2015-03-27 18:43:36 -07:00
Kevin Lau
609286728d Random Battle: Update Ambipom
If Ambipom doesn't have any Technician moves, give it Pickup instead of
Skill Link because Skill Link is useless on it and it might as well have
a slight chance of recovering an item if its item is Knocked Off.
2015-03-27 17:36:35 -07:00
Guangcong Luo
c331f2d440 Merge pull request #1678 from ascriptmaster/move-fixes
Refactor Unaware to use ModifyBoost
2015-03-27 13:16:55 -05:00
Ivo Julca
df427ad7b1 Fix indentation of a comment in statuses.js 2015-03-27 01:33:02 -05:00
Kevin Lau
ab80397192 Refactor Unaware to use ModifyBoost
Cleans up the code quite a bit because it no longer needs the hardcoding
option that it was having.
2015-03-26 20:06:47 -07:00
Guangcong Luo
67c8df4da0 Merge pull request #1665 from ascriptmaster/move-fixes
Fix Foresight and Miracle Eye to use ModifyBoost
2015-03-26 16:08:20 -05:00
Kevin Lau
c5bc1a60d1 Fix Foresight and Miracle Eye to use ModifyBoost
Also deprecates move.ignorePositiveEvasion
2015-03-26 13:00:51 -07:00