Commit Graph

2979 Commits

Author SHA1 Message Date
The Immortal
1087e1d3ee Random Battle: Fix Hidden Power check 2015-02-13 03:08:18 +04:00
Kevin Lau
4884ec66ba Weather Refactor: Regular weathers don't activate w/ Primal Weather set
Moved all checks for primal weather into setWeather() instead of
hard-coding the check into every effect attempting to change the weather.

Also to prevent hardcoding, the check now runs on the event system, and
the primal weathers themselves deny regular weathers from being set.
2015-02-12 14:39:50 -08:00
The Immortal
85b0179d7b Random Battle changes
- Shadow Ball + HP Fighting is an acceptable combination with setup
- Slightly lower Regigigas' level
2015-02-13 00:06:26 +04:00
The Immortal
44478cb429 More Random Battle updates
- Fix multiple Flare Blitz cases
- Reject Substitute with Draco Meteor
2015-02-12 03:27:57 +04:00
The Immortal
496778bad5 Random Battle: Update items
- Add more cases for Leftovers
- Increase priority for Lum Berry with setup and Outrage
2015-02-12 03:10:05 +04:00
The Immortal
9447b46709 Improve Random Battle item selection
- Removed old check for "bulky" Pokemon as it would give Leftovers to
Pokemon that would prefer Life Orb or even Assault Vest. For example,
Kyurem-White and Goodra, respectively.
- If the Pokemon has three attacking moves, give Life Orb to those with
either setup or a recovery move, and give Leftovers to everything else.
2015-02-12 02:10:08 +04:00
The Immortal
4b2e43ce47 Random Battle: Reject Overheat with Lava Plume 2015-02-12 00:08:03 +04:00
The Immortal
56cf5d2257 Random Battle: Increase Altaria's level 2015-02-11 23:43:44 +04:00
The Immortal
e56dcd070c Random Battle updates
- Give Keldeo HP Flying instead of HP Ghost
- Reject Hidden Power if the Pokemon has a special setup move and only
one other special attack
- Dark/Fighting is resisted by Fairy this generation and isn't a
"perfect" combination anymore
2015-02-11 20:43:00 +04:00
The Immortal
b76005ee46 Fix Sleep Clause Mod
In doubles, if a Pokemon asleep was knocked out and in the same turn its
ally was put to sleep, it would not allow it. Can be seen here:
http://replay.pokemonshowdown.com/gen5smogondoubles-209911884 at turn
10.
2015-02-11 04:12:56 +04:00
Marty-D
e844edc278 Fix Crafty Shield
- Does not use or increment the protection counter
2015-02-10 12:06:27 -05:00
Marty-D
9614a17682 Fix Sky Drop against Flying types
- Being grounded doesn't affect anything
2015-02-10 11:53:26 -05:00
Marty-D
22505556ec Fix Powder 2015-02-10 11:41:01 -05:00
The Immortal
9624888b79 Update Random Battle levels
Added AG and removed Mega Gengar custom level.
2015-02-10 16:18:18 +04:00
The Immortal
60f384be96 Change Mega Rayquaza's tier
It shouldn't be displayed as Uber.
2015-02-10 16:11:23 +04:00
Marty-D
9067f6f4ef Random Double Battle: Too many Rock Slides 2015-02-09 21:56:21 -05:00
Kevin Lau
9921f2524b Random Doubles Battle Update
- Remove Feint from Pikachu/Raichu
- Replace Rock Blast with Rock Slide on Golem line
- Add Surf to Octillery
- Reject Strong Jaw without bite moves
- Update Iron Fist check to use the punch flag
- Give preference to Rock Slide over Head Smash
- Give preference to Discharge over Thunderbolt and Electroweb
2015-02-09 11:46:22 -08:00
The Immortal
ed3307a1af Update Random Battle
- Modify Tyrantrum's moves
- Add bite moves counter for Strong Jaw
- Use punch flag for ironfist counter
- Give preference to Stone Edge over Head Smash
2015-02-09 22:44:13 +04:00
Juanma Serrano
027357076b Merge pull request #1515 from ascriptmaster/seasonal
Seasonal: Remove Baton Pass
2015-02-09 09:17:14 +01:00
Kevin Lau
eecb0c80b2 Seasonal: Remove Baton Pass
With the way the Han Chinese side's morale system works, Baton Pass is
broken at high morale.
2015-02-08 15:59:55 -08:00
Marty-D
8980e57265 Fix Rototiller 2015-02-08 17:40:39 -05:00
Slayer95
1cbdf09b7d Merge pull request #1514 from ascriptmaster/move-fixes
Fix Anger Point's Interaction with Mold Breaker
2015-02-08 17:14:32 -05:00
The Immortal
3a8e7c2613 Random Battle: Reject Unburden for high base speed Pokemon
Specifically affects Accelgor, who should never be using Unburden.
2015-02-09 02:02:22 +04:00
The Immortal
afbb72228e Change Sticky Hold's rating
It is much more useful this generation because of Knock Off's high
usage.
2015-02-09 01:51:54 +04:00
Juanma Serrano
7990e0a5f5 Merge pull request #1512 from ascriptmaster/seasonal
Seasonal: Nerf Han Chinese Side, Flavor Changes
2015-02-08 22:44:18 +01:00
Kevin Lau
f5c12a60a1 Fix Anger Point's Interaction with Mold Breaker
Moved Anger Point's check for critical from onCritical to onAfterDamage.
This not only allows it to avoid being suppressed by Mold Breaker, it
also results in the Anger Point message being displayed in the correct
order with respect to the other messages.
2015-02-08 13:16:18 -08:00
The Immortal
608ee7af7e Fix Safety Goggles interaction with Effect Spore
This fixes the bug created in 46008ea0a6.
2015-02-09 01:08:22 +04:00
The Immortal
4cfb2894ca Random Battle: Improve Mega Altaria 2015-02-08 20:36:13 +04:00
The Immortal
ef5ad3d697 Modify Regirock's Random Battle moves 2015-02-08 18:47:35 +04:00
The Immortal
46008ea0a6 Add Safety Goggles message for powder moves 2015-02-08 16:26:05 +04:00
Kevin Lau
a1a86a4454 Seasonal: Nerf Han Chinese Side, Flavor Changes
Mechanics Changes:
- Fire Rocket does less damage, cannot crit.
- Fire Rocket is no longer a bullet move (for Chesnaught)
- Only Li Shang can Train Recruits.
- Recruits start with lowered defenses as well.
- Edit Mushu's movepool.

Flavor Changes:
- Train Recruits now uses Bulk Up's animation.
- Fire Rocket now uses Eruption's animation. Backfires cause the animation
  to strike the user instead!
- Use Searing Shot as Fire Rocket instead of Octazooka.
2015-02-08 00:54:54 -08:00
The Immortal
d64211d213 Update UU bans 2015-02-07 21:59:38 +04:00
Marty-D
9224be7b07 Fix Me First and Mirror Move's targeting
- They target the original target whenever possible, not a random
opponent
2015-02-06 22:49:48 -05:00
The Immortal
bb4579545b Random Battle updates
- Modify moves
- Make sure Mega Gardevoir has a Normal move
- Reject Thunder Wave with Gyro Ball
2015-02-06 14:37:06 +04:00
Kevin Lau
0d229a88e5 Random Battle: Diversify Xerneas' Moveset
Also added checks to accommodate for the fact that Xerneas is no longer
guaranteed to have Geomancy, and only lower its level if it has Geomancy.
2015-02-05 17:47:59 -08:00
Guangcong Luo
956566f856 Merge pull request #1502 from Joimer/UnawareFix
Fix Unaware in Doubles and refactor stat ignoring abilities
2015-02-05 11:59:21 -06:00
Juanma Serrano
64b2246260 Fix Unaware in Doubles and refactor stat ignoring abilities
Unaware currently doesn't work because the ModifyMove event is fired on the move before each target is caculated in doubles and triples.
This means that the ModifyMove event should be fired for each target and the move not modified unless it fits the attacker-target.
It's easier and less expensive to use an ability property to check on attacker/target than to fire events.
This fixes Unaware in doubles/triples.
It takes account interaction with Mold Breaker, Gastro Acid, and other ability supressers.
2015-02-05 10:38:17 +01:00
Juanma Serrano
5dda5b88e2 Merge pull request #1504 from ascriptmaster/seasonal
Seasonal: Implement February Seasonal: Han vs Hun
2015-02-05 09:17:54 +01:00
Kevin Lau
70bf8eb547 Seasonal: Implement February Seasonal: Han vs Hun
Seasonal is based on Mulan, in honor of Chinese New Year.

General Shang must defeat the Huns, but his new recruits are weak! Over
time, however, they will get stronger over time by training (just like the
movie, they train during I'll Make A Man Out Of You.) Singing will also
make them train faster.

The Han Chinese also have powerful rockets at their disposal (select
Octazooka in battle). However, the rockets sometimes backfire on new
recruits, but as they train the chance of backfire goes down.
2015-02-04 19:45:23 -08:00
The Immortal
c224668a9c Random Battle: Make sure Mega Salamence has a Normal move
Also, the moves array contains ids already.
2015-02-04 21:57:27 +04:00
The Immortal
3f3de4eafe Random Battle: Remove Freeze Dry from Delibird 2015-02-04 17:35:43 +04:00
Marty-D
fcdcf4dbf3 Add Sky Drop to moves uncallable by Assist 2015-02-03 21:40:33 -05:00
The Immortal
b3a3228f2a Random Battle: Remove Medicham's custom level 2015-02-03 23:26:29 +04:00
The Immortal
d64900795a Drop Medicham to RU 2015-02-03 23:10:10 +04:00
The Immortal
7f9cbf617d Release Custap Berry 2015-02-03 17:11:33 +04:00
The Immortal
cd061d00a6 Random Doubles: Change Empoleon's moves
Surf instead of Hydro Pump. Three Water moves are unnecessary, and Scald
burn is better than Hydro miss.
2015-02-03 15:55:43 +04:00
The Immortal
7b50508d12 Update Random Battle moves
Reverted some from 03150fd7c0 and added a
few changes.
2015-02-03 15:39:50 +04:00
The Immortal
1ff5a3e24e Ban Mega Pinsir from UU 2015-02-03 15:17:57 +04:00
Kevin Lau
60f8d8143a Seasonal: Retire Spacetime Funtimes
January is over, so the Seasonal must pass.
2015-02-03 02:59:42 -08:00
Guangcong Luo
55aad49069 Merge pull request #1500 from ascriptmaster/randoms
Random Battle: Many Moveset Changes
2015-02-03 01:03:22 -06:00
Kevin Lau
03150fd7c0 Random Battle: Many Moveset Changes
Most moveset changes were based on usage stats for the Pokemon, adding
most of the commonly-used moves and removing some un-used moves.

Ultimately, all changes were just based on holistic judgment.
2015-02-02 20:25:28 -08:00
Kevin Lau
7fb61bf240 Double Random Battle: Reject Wide Guard with Protect 2015-02-02 14:37:09 -08:00
The Immortal
e35e4e5d4f Fix Quagsire's tier 2015-02-03 00:58:57 +04:00
The Immortal
d8e4f19f7d Merge pull request #1496 from ascriptmaster/randoms
Random Battle: Reject Serene Grace on Blissey and Chansey
2015-02-02 21:36:04 +04:00
The Immortal
9a06cf8ae3 Update tiers
Updates megas based on a48fc30cd6. Also
two PU/NFE changes that only matter for the Teambuilder.
2015-02-02 21:35:10 +04:00
Kevin Lau
b5dac325a8 Random Battle: Reject Serene Grace on Blissey and Chansey 2015-02-02 09:14:27 -08:00
Antar1011
a48fc30cd6 2015-02 Tier Update
http://www.smogon.com/forums/threads/smogon-usage-based-tier-update-february-2015.3528836/
2015-02-02 11:50:34 -05:00
The Immortal
2598076849 Update RU bans 2015-02-02 17:42:16 +04:00
The Immortal
46ef95c615 Random Battle: Fix -ate ability check 2015-02-01 23:55:50 +04:00
The Immortal
cf10105824 Random Battle: Reject -ate abilities with no Normal moves 2015-02-01 22:17:47 +04:00
The Immortal
de123dceb8 Change Arena Trap rating
Lowered it from 5 to 4 but 4.5 is more representative of it and equal to
Magnet Pull's rating.
2015-02-01 22:09:32 +04:00
Guangcong Luo
cb6949d49d Merge pull request #1493 from ascriptmaster/randoms
Random Battle: Reject Aurorus Snow Warning with Hyper Voice
2015-02-01 12:07:59 -06:00
The Immortal
8bc62e0e8a Modify Nidoking's Random Battle moves 2015-02-01 17:47:54 +04:00
The Immortal
95be15b2d6 Random Battle: Fix Serene Grace being on Blissey/Chansey 2015-02-01 17:38:28 +04:00
The Immortal
7b2770bf2a Ban Medichamite from UU 2015-02-01 16:24:09 +04:00
The Immortal
1efd11466f Modify ability ratings
Old abilities were not updated in gen 6, and some of the initial ratings
for new abilities were inaccurate.
2015-02-01 15:53:33 +04:00
ascriptmaster
2219dd099b Random Battle: Reject Aurorus Snow Warning with Hyper Voice
Added a counter that tracks Normal damaging moves for purposes of -ate
Abilities, in case it becomes important later. This counter also
future-proofs Aurorus in case it receives other viable Normal attacks
later.
2015-02-01 01:32:21 -08:00
Guangcong Luo
072d37d6f7 Merge pull request #1491 from ascriptmaster/randoms
Random Battle Updates
2015-01-31 21:17:54 -06:00
Guangcong Luo
82f659aaca Merge pull request #1492 from sparktrain/patch-5
Add Plasmanta's flavor ability
2015-01-31 21:17:47 -06:00
Ivo Julca
236a62052a Grounding Thousand Arrows hit ignores effectiveness 2015-01-31 21:53:54 -05:00
sparktrain
26a2bf3754 Add Plasmanta's flavor ability
Better late than never http://www.smogon.com/forums/threads/cap-19-part-12-flavor-ability-poll-2.3521155/page-3#post-5838918
2015-01-31 21:03:18 -05:00
Kevin Lau
e77fbbb8b3 Random Battle: Update Pinsir, Hitmonchan, Hitmonlee
- Remove Return, Feint, Quick Attack from regular Pinsir.
- Remove Feint from Hitmonchan and Hitmonlee.
- Add Fire Punch to Hitmonchan.
- Replace Stone Edge with Rock Slide in Doubles
2015-01-31 16:44:49 -08:00
Kevin Lau
b2cc14f5e2 Random Battle: Reject Quick Attack with Feint 2015-01-31 14:30:23 -08:00
Guangcong Luo
43ed3cbbbf Merge pull request #1487 from Slayer95/mega-evolution
Pokémon cannot megaevolve to themselves
2015-01-30 20:44:54 -06:00
Ivo Julca
6607d1c53b Pokémon cannot megaevolve to themselves
- Rename randbats helper function `canMegaEvo` to `hasMegaEvo`.
- Move duplicate mega evolution possibility checks from `runMegaEvo` and BattlePokemon constructor to `canMegaEvo` battle script.
2015-01-30 20:54:34 -05:00
Kevin Lau
3565c5a1fa Random Double Battle: Fix Stone Edge Typo
Rock Slide was mentioned twice. The second one was meant to be Rock Blast
2015-01-30 16:56:42 -08:00
Kevin Lau
803063d496 Random Doubles Battle: Fix Stone Edge Redundancy Check
Stone Edge somehow was a case three times in the switch statement, meaning
only the first one would have been checked. This fix merges the three
checks into one.
2015-01-30 16:18:42 -08:00
Marty-D
13ab79f0f9 Fix Sucker Punch working on redirection
- Also fixes Protean interaction with certain moves that would otherwise
fail
2015-01-30 18:41:46 -05:00
Kevin Lau
c05fa0fc83 Random Battle: Update Charizard Random Battle Moves
- Regular Charizard shouldn't have Solar Beam.
- Mega Charizard X gets Rock Slide in Doubles.
- Mega Charizard Y gets Focus Blast.
2015-01-30 14:35:56 -08:00
The Immortal
d3582c1afa Modify Solrock's Random Battle moves 2015-01-30 19:44:41 +04:00
Guangcong Luo
6b0cb596b2 Merge pull request #1482 from Slayer95/cancel
Support disabling cancel and tell the client when cancelling is impossible
2015-01-29 21:59:15 -06:00
Ivo Julca
4c069668e6 Add "Cancel Mod" ruleset
- It enables the `supportCancel` battle flag.
- Add it to all formats and standard rulesets.
2015-01-29 21:53:10 -05:00
Marty-D
cb5333a025 Fix Fake Out and Sucker Punch VS protection moves 2015-01-29 21:08:30 -05:00
Guangcong Luo
6361c24d62 Merge pull request #1481 from ascriptmaster/move-fixes
Fix Leech Seed on Allies
2015-01-29 00:50:51 -06:00
ascriptmaster
6cbd8d4a51 Fix Leech Seed on Allies
When Leech Seed targets an ally in Double Battles, it should heal the
Pokemon at the ally's position, not an enemy.
2015-01-28 22:15:55 -08:00
The Immortal
38db6fd2b3 Random Battle: Reject Shadow Claw with Shadow Ball
Should have been done with 66615c5331.
This is for Aegislash.
2015-01-28 19:50:25 +04:00
The Immortal
66615c5331 Update Random Battle
- Aegislash is too slow for at level 70 for Autotomize and prefers one
of its other moves
- Prevent Iron Head with Flash Cannon
2015-01-28 14:24:50 +04:00
Juanma Serrano
c556f8badf Fix validation bug on Nickname Clause
Pokémon without nicknames would trigger an error.
This commit fixes be4e41c283
2015-01-28 11:18:04 +01:00
Ivo Julca
be4e41c283 Ban Pokémon sharing nickname under Nickname Clause
Closes #1445
2015-01-27 23:19:26 -05:00
Guangcong Luo
7a8774ae54 Merge pull request #1469 from ascriptmaster/randoms
Random Battle: Priority vs. Choice Scarf and speed boosting moves
2015-01-27 15:14:27 -06:00
Kevin Lau
caee7a0457 Random Battle: Change conditions for priority moves
If a Pokemon has a move that boosts speed (Rock Polish/Agility), reject
all modified-priority moves.

If a Pokemon has 4 Physical or 4 Special moves, reject Choice Scarf if the
Pokemon has a priority move.
2015-01-27 10:59:43 -08:00
Juanma Serrano
95bf2e6956 Update aliases for VGC and BS Dubs
Sorta necessary since last changes.
2015-01-27 12:44:37 +01:00
Kevin Lau
5dc308f801 Random Battle Moveset Additions
- Mega Steelix gets Heavy Slam instead of Gyro Ball
- Electrode gets Discharge for Doubles
- Girafarig gets Nasty Plot to replace Calm Mind
- Shiftry gets Leaf Blade to replace Seed Bomb
- Cacturne gets Spiky Shield to replace Protect in Doubles
- Castform gets Hurricane
- Buneary and Lopunny get High Jump Kick to match Mega Lopunny
- Maractus gets Spiky Shield (singles set had it but not doubles)
- Delphox line gets Dazzling Gleam. Remove Psychic from the set
- Malamar's doubles set updated for Knock Off
- Aurorus gets Hyper Voice and loses Nature Power in Doubles
- Pumpkaboo has Synthesis
- Pangoro gets Gunk Shot and Ice Punch over Poison Jab and Stone Edge
2015-01-26 14:57:21 -08:00
Marty-D
5de159bee3 Past gens: Fix recovery moves' rounding
- Prior to Gen 5, recovery moves rounded down instead of half up
- Gen 2 weather-dependent recovery moves restore all HP in sun
2015-01-24 16:40:31 -05:00
The Immortal
05f8a26130 Prevent multiple Hidden Power in Hackmons CC 2015-01-22 18:26:51 +04:00
Ridaz
12cf795d63 Some more Aliases 2015-01-21 21:09:25 +00:00
The Immortal
0416cd8e7b Update aliases 2015-01-21 17:08:28 +04:00
The Immortal
94a56552d8 Update randomCCTeam 2015-01-21 17:05:14 +04:00
Guangcong Luo
df610a75d0 Merge pull request #1455 from ascriptmaster/alias
Add some new aliases
2015-01-20 20:52:00 -06:00
Marty-D
245af9721e Fix Mental Herb
- Cures Heal Block in Gen 5 and 6
2015-01-20 20:20:04 -05:00
Kevin Lau
ba2e1d94c5 Add some new aliases
- Rand Dubs = Random Double Battles
- MegaGross = Mega Metagross
- MegaSaur = Mega Venusaur
2015-01-20 17:06:24 -08:00
The Immortal
d038f1f7c4 Update Hackmons Challenge Cup 2015-01-20 23:38:13 +04:00
The Immortal
1fcde879d3 Add Hackmons Challenge Cup 2015-01-20 22:45:54 +04:00
ascriptmaster
c3e71b4779 Random Battle: Update Doublade and Porygon2's Doubles Movesets 2015-01-19 22:05:57 -08:00
The Immortal
dfb16963a5 Random Battle: Prevent some status moves with Rest + Sleep Talk 2015-01-20 02:42:46 +04:00
The Immortal
b97aeb1063 Roselia is PU by usage 2015-01-20 01:37:00 +04:00
The Immortal
062c6d73f2 Correct Musharna's tier
Moved to NU in 76d958e608 but it isn't NU
by usage.
2015-01-20 01:34:26 +04:00
The Immortal
8604b1999e Move Serperior to BL3
Banned from NU.
2015-01-20 00:45:45 +04:00
The Immortal
5c8ae438c2 Update UU bans 2015-01-19 20:04:56 +04:00
The Immortal
0ff49ac131 Add new event Pokemon 2015-01-19 17:11:39 +04:00
The Immortal
3b4d7c5f78 Modify Lumineon's Random Battle moves 2015-01-19 16:46:49 +04:00
The Immortal
c1b0b09d05 Random Battle: Reject Mach Punch with Focus Punch
Breloom is the only Pokemon that gets both and will get the better
ability with only one of them. Basically, no more Poison Heal Mach Punch
and no more Technician Focus Punch.
2015-01-19 16:34:36 +04:00
The Immortal
4ebfb2704b Modify Aromatisse's Random Battle moves 2015-01-19 16:04:55 +04:00
The Immortal
93e5a516a4 Random Battle: Allow Life Orb on non-setup
Four attacks + Leftovers is bad.
2015-01-19 15:49:43 +04:00
The Immortal
7033c0a83a Random Battle updates
- Eternal Flower Floette prefers Choice Scarf/Specs sets
- Lower the rate of Unreleased Pokemon to 20%
2015-01-19 15:02:40 +04:00
Guangcong Luo
155488f4c9 Merge pull request #1448 from ascriptmaster/randoms
Add Eternal Floette Random Battle Movesets and Aliases
2015-01-18 23:05:39 -06:00
ascriptmaster
b3f9efed5d Split the Randoms check for Sheer Force and Serene Grace
- Serene Grace is automatically rejected for Chansey and Blissey, who
  prefer Natural Cure.
- Serene Grace works best with secondaries that have a high chance of
  activating, so a seperate counter is used to check those specifically.
- Sheer Force doesn't need a secondaries chance check; both branches of
  the check would have allowed Sheer Force to be used.
2015-01-18 18:56:31 -08:00
ascriptmaster
196aef2b28 Add Eternal Floette Random Battle Movesets and Aliases
Mostly just for Seasonals purposes, really.

Made "Eternal Floette" and "Floette-Eternal" aliases for
Floette-Eternal-Flower, which is a mouthful.
2015-01-18 18:55:24 -08:00
ascriptmaster
08fdf3de80 Random Battle Item Changes
- Dedenne gets Petaya Berry, since it always has Cheek Pouch
- Dusclops no longer gets Eviolite, because it's covered elsewhere in code
2015-01-18 01:01:22 -08:00
The Immortal
0d7f119000 Random Battle updates
- Add Eviolite for NFEs
- Removed old and mostly unused custom levels
- Updated some Pokemon levels
- Removed all NFE Pokemon from Random Battle except for Chansey,
Doublade, Pikachu, Porygon2,  and Scyther
2015-01-18 03:32:12 +04:00
The Immortal
259d5635b5 Floette-Eternal-Flower is in the Undiscovered egg group 2015-01-18 01:06:29 +04:00
The Immortal
4ab6d2a86b Merge pull request #1441 from ascriptmaster/randoms
Change items involved when a Pokemon has Acrobatics or Unburden
2015-01-17 14:00:55 +04:00
Kevin Lau
1b27f8e99d Change items involved when a Pokemon has Acrobatics or Unburden
- Acrobatics Pokemon have Flying Gem.
- Hawlucha no longer has Sky Attack in its random battle movepool, so we
  remove references to that in the code.
- Double Random Battles only check for Fake Out on Unburden Pokemon (and
  formerly Sky Attack on Hawlucha, which is removed, so there is no need
  to cycle through all of their moves.
2015-01-17 01:44:58 -08:00
Guangcong Luo
57cca259f2 Merge pull request #1437 from ascriptmaster/move-fixes
Fix Ability Activation Order for type changes
2015-01-16 18:41:21 -08:00
Marty-D
47bf8dc2dc Update Minimize-countering moves 2015-01-16 21:06:37 -05:00
ascriptmaster
5f65d41475 Fix Ability Activation Order for type changes
Fixed ability interactions with Hidden Power, Judgment, and other moves
that change their types.

-ate Abilities don't trigger with Natural Gift.

Normalize > move's type change > -ate Ability > Ion Deluge/Electrify

For Gen 4, the order is: move's type change > Normalize
2015-01-16 14:45:51 -08:00
The Immortal
47566aead4 Fix errors in learnsets 2015-01-17 02:04:28 +04:00
The Immortal
d86b550414 Update Hoopa's learnset with Unbound forme moves 2015-01-17 02:01:34 +04:00
The Immortal
e00ad7bdc2 Combine Shaymin and Shaymin-Sky learnsets
They are freely switchable formes, just like Deoxys.
2015-01-17 01:54:22 +04:00
The Immortal
0856529341 Correct recently added event Pokemon
These events are not male only.
2015-01-16 18:28:52 +04:00
Juanma Serrano
63fc45305e Fix typo 2015-01-16 12:09:59 +01:00
Marty-D
efa28607b8 Fix Fur Coat
Thought this was fixed a long time ago:

2014-01-12
15:16:23: <Marty> V4, if Fur Coat halves Psyshock damage, it must be
Huge Power for Defense, yes?
15:17:13: <V4> Ya
15:17:32: <Marty> cool

2014-01-19
17:31:20: <CDXCIV> Marty did you ever try that thing with Fur Coat?
17:32:24: <Marty> the Psyshock thing? yeah I tried it before asking you
17:32:46: <Marty> it's double Defense

For shame, V4 :(
2015-01-15 18:58:17 -05:00
The Immortal
01d3c1b763 Add Emboar and Samurott events 2015-01-15 15:23:41 +04:00
Juanma Serrano
d9c367ff65 Fix more Travis Build Errors
Add a spaces after tests.
2015-01-15 09:31:36 +01:00
Kevin Lau
1f79ab5047 Tweak Double Random Battle Movesets
Uses the approved changes in #1413:

- Remove Grassy Terrain from Serperior
- Give Dragon Pulse to Serperior
- Give Flash Cannon to Aegislash
2015-01-14 16:06:29 -08:00
The Immortal
01fcd28963 Add Hammer Arm to Metagross' Random Doubles moves
Fixes #1415
2015-01-15 02:24:48 +04:00
The Immortal
aa260c5f2d Update Random Battle moves 2015-01-15 02:22:33 +04:00
The Immortal
4ce0b4f3a4 Random Battle: Reduce the rate of Cosplay Pikachu 2015-01-14 23:56:42 +04:00
The Immortal
19569a3b73 Modify Random Battle moves for Cosplay Pikachus 2015-01-14 22:40:24 +04:00
Kevin Lau
2a7ae1790e Tweak Double Random Battles to include the same things as Random Battle
- Allow tiered NFE Pokemon
- Gourgeist formes have equal chance
- Pikachu formes have equal chance
2015-01-14 10:14:06 -08:00
The Immortal
8bd17725af Fix error in previous commit 2015-01-14 22:03:18 +04:00
The Immortal
23c830562a Update Random Battle
- Allow NFE Pokemon that are tiered
- Pikachu formes have an equal chance
2015-01-14 21:54:57 +04:00
The Immortal
b6c63fd7c5 Random Battle: Remove Blaze Kick from Genesect-Burn 2015-01-14 21:24:23 +04:00
The Immortal
12815382c1 Modify Dragonite's Random Battle moves 2015-01-14 21:20:18 +04:00
The Immortal
279b7bb7a6 Update PU Pokemon
These are NFE/LC Pokemon that are PU based on usage. Antar said this is
correct.
2015-01-14 21:10:39 +04:00
Juanma Serrano
6b672a1b37 Stadium: Exact HP is always shown for both sides 2015-01-14 17:37:45 +01:00
Guangcong Luo
420531220f Merge pull request #1422 from ascriptmaster/randoms
Add Cosplay Pikachu's Random Battle movepool
2015-01-14 01:45:07 -08:00
Kevin Lau
af09836539 Fix Sky Drop's BeforeMovePriority
Sky Drop needs to occur before Stance Change and just about every other
ability, move, status, or volatile effect. Since Stance Change was
recently upgraded to BeforeMovePriority of 11, Sky Drop needs to be moved
up to 12.
2015-01-13 18:00:30 -08:00
The Immortal
ab1e90e478 Update BeforeMove priorities 2015-01-14 03:33:00 +04:00
Juanma Serrano
25ca98d012 Fix -ate moves boosting moves through Sleep Talk
The -ate boost only applies to moves which have a direct Normal-type.
It still changes its type, though.
2015-01-13 18:23:24 +01:00
Kevin Lau
74258baa75 Add Cosplay Pikachu's Random Battle movepool
Normal (no costume) Cosplay Pikachu is not included because its movepool
is just an inferior Pikachu one.
2015-01-13 01:01:12 -08:00
The Immortal
ed2d26ec7f Merge pull request #1421 from gamut-was-taken/compound-eyes
Change Compoundeyes to Compound Eyes
2015-01-13 02:53:20 +04:00
Kevin Lau
0684bdc3c6 Modified Hoopa and Volcanion's random battle sets 2015-01-12 14:47:42 -08:00
gamut-was-taken
4f8fe01a4d Change Compoundeyes to Compound Eyes
Pokemon such as Butterfree receive the Compound Eyes ability even when they do not have any inaccurate moves.
2015-01-12 17:42:41 -05:00
Kevin Lau
b4fdad485c Give Farfetch'd the Stick item in Random Battles 2015-01-12 13:45:10 -08:00
Juanma Serrano
263cb0b422 Ban Greninja to Ubers
Be gone, foul creature! Leave the OverUsed in peace.
2015-01-12 12:18:36 +01:00
Ivo Julca
1d85e9edd2 Clean-up code for Destiny Bond and Grudge
- The existence of the volatile implies that the last move used by the fainted mon is the correct one.
- Just like Destiny Bond, Grudge isn't triggered by future moves, and the volatile should always be removed on BeforeMove.
2015-01-12 00:18:43 -05:00
Ivo Julca
2b5e3bab10 Minor style fixes in data files 2015-01-12 00:11:48 -05:00
The Immortal
95d27e842a Add event Pikachu 2015-01-11 00:56:57 +04:00
The Immortal
e3b2927638 Ban Serperior from PU 2015-01-11 00:51:19 +04:00
Guangcong Luo
ba426e0a73 Fix Burn+Explosion
Explosion/Selfdestruct used to be unaffected by burn. This commit
fixes that.
2015-01-10 01:39:35 -05:00
ascriptmaster
1c634b07fc Fix Hidden Powers on Terminator Scenario
Reduce all speed IVs by 30 to the lowest possible values that conserve the
typing of Hidden Power (since it's based on odd vs even)
2015-01-08 18:33:45 -08:00
The Immortal
020f704185 Free Contrary Serperior 2015-01-08 15:21:33 +04:00
Juanma Serrano
202fb7c09a Minor Seasonal improvements
Fix typo.
Lower level from Mega-Swampert and Milotic on sailors.
2015-01-07 18:00:09 +01:00
Juanma Serrano
97f4919c63 Seasonal: Further balance for the unbalanced scenarios
A series of changes to make sure battles are as balanced as possible.
Made Frodo Ground/Fairy.
Made Samwise Normal/Fairy.
Switched Gandalf and Saruman boosts.
Added Gollum for Mordor, which is pretty much annoying and Fighting-type move absorber.
Changed Swords Dance for Bulk Up on Aragorn to prevent unstoppable sweeps.
Added a SpD boost for Moses to be able to stand to the pharaoh. Also a cool sentence.
Made John Connor faster (slower but in TR) than Terminator T-1000 to give humans an even lead matchup.
Made Blissey on humans have a decent moveset. Including Barrier, yes.
Made specific sets for Hitmontop and Scrafty on humans, being able to take Robot hits.
Made electric attacks on sailors less likely, 66% instead of 100%.
2015-01-07 17:14:15 +01:00
Juanma Serrano
9ed9d251b4 Random Battles: Make HP Odd on Stealth Rock weak Pokémon
This change makes 1/4 weak Pokémon survive four switch ins and 50% weak Pokémon survive two Switch-ins.
Belly Drum HP still takes precedence (having Charizard in mind kek).
2015-01-07 15:02:14 +01:00
ascriptmaster
3e08561e00 Slightly tweak Exodus Scenario of Seasonals
- Groudon no longer has Water Absorb (relevant because of Hebrew
  Seismitoad)
- Removed Hebrew LC mons (but not Egyptian ones)
- Limit one Yahweh/Arceus per team
2015-01-06 19:09:08 -08:00
ascriptmaster
50ee39a3b2 Heavily balance Sailor Scenario in Seasonals
- Removed the rediculous level boost to most Pokemon.
- Tweak EVs for Lucario, Swift Swimmers, and Shell Smashers.
- Removed all LC sailors and fishes, and added some new Pokemon.
- Remove Rain Dance from sailor sets (mostly Swampert)
- Prevent 2 Mega Pokemon on a team for the Sailor Scenario
2015-01-06 18:37:11 -08:00
Joimer
7f7786c003 Seasonal improvements
Make Unburden Hitmonlee Reckless on Terminator battle.
Limit Lucario on megas too.
Improve zam's moveset on that battle as well.
Minimise speed on Terminator battle.
Make Chansey have Eviolite.
2015-01-06 21:47:34 +01:00
Joimer
20ef5de780 Seasonal: Update shipwreck battle
Make a more even lead battle of Machamp VS Kyogre.
Machamp is now a Technician Life Orb mon with mixed attack.
Kyogre has now a specific Choice Scarf set.
To not to make Machamp too overwhelming, its level is 75.
This, alongside Life Orb, makes it manageable with Kyogre out.
A trade of hits will end up with either fainted and the other at 10% HP.
2015-01-06 15:17:08 +01:00
Joimer
591b29fcb8 Seasonal: Further user request changes
Gen 1's defenses were too low, raise them a little.
Change Bolt Strike for Fusion Bolt on sailors, this achieves an almost perfect balance.
Nerf Charizard-Y slightly on Red VS Blue battle. Too strong.
Nerf Hoopa-Unbound's level too, as it's too damn strong.
2015-01-06 14:45:27 +01:00
Joimer
c017521990 Improve Seasonal after user requests
Added a way to effectively dealing with Smaug on LOTR, adding Bard as a possibility.
Frodo now gets evasion thanks to the one ring, it's invisible after all.
Nerf Groudon slightly on Desert, it is able to sweep an entire team with bad luck on the Pokémon chosen.
Nerf slightly Alakazam on Red vs Blue battle, it can take on a team easily.
Nerf defenses on Gen 1 team so damage is closer to that of Gen 1 (more).
Swampert should not get any boost on sailor team, otherwise it's an insta-win.
2015-01-06 14:31:10 +01:00
The Immortal
3677615792 Modify Mega Camerupt's Random Battle moves
It is way too slow for Rock Polish to be effective.
2015-01-06 13:12:25 +04:00
Joimer
6bafeb1f84 Seasonal: Nerf Yveltal
Too strong if mega gallade is out
2015-01-05 23:59:20 +01:00
Joimer
8180e0d036 Implement new Seasonal, Spacetime Funtimes 2015-01-05 13:12:07 +01:00
The Immortal
d57dfa29ff Update UU bans 2015-01-05 15:39:32 +04:00
Antar1011
6f7b5b053d 2014-01 Tier Update
Wobbuffet moved from NU to PU
Lopunny moved from RU to OU
Altaria moved from UU to OU
Gallade moved from RU to OU
Mantine moved from PU to NU
Glalie moved from PU to NU
Garbodor moved from BL4 to NU
Slurpuff moved from BL3 to RU
Camerupt moved from PU to NU
Quagsire moved from UU to RU
Mawile moved from UU to RU
Medicham moved from OU to UU (Medichamite is BL)
Sharpedo moved from RU to UU
Pangoro moved from BL3 to RU
2015-01-02 08:24:16 -05:00
The Immortal
d1b457e0c6 Increase non-mega Pinsir level in Random Battle 2014-12-30 14:29:10 +04:00
Ivo Julca
a520b53256 Update learnsets-g6
- Teambuilder will now display learnsets properly for VGC formats.
- Added missing Pikachu Cosplay and its variants, as well as Pumpkaboo-Super.
- Fix padding for level in moves for CAP 18 and 19.
- Synchronize recent events.
- Secret Power was missing in a lot of mons for some reason.
2014-12-29 21:46:55 -05:00
Marty-D
7977b2c3cd Fix unsuccessful two-turn moves
Previously, if an invulnerable move's second turn was prevented from
executing, the user would remain invulnerable until the end of the turn.
2014-12-29 14:08:25 -05:00
Audiosurfer
76725c6e65 Tweak Smeargle's Random Doubles Moves 2014-12-25 17:25:40 -06:00
The Immortal
93b623cc1b Allow Sturdy with recoil + recovery in Random Battle 2014-12-24 23:19:04 +04:00
The Immortal
ae9363ae90 Update check for 3 perfect IVs
"Undiscovered" egg group Pokemon caught in the wild in gen 6 must have
at least 3 perfect IVs.
2014-12-24 23:15:58 +04:00
The Immortal
f25a2dde3d Fix gen 6 legends with less than 3 perfect IVs
Gen 6 legendary Pokemon must have at least 3 perfect IVs.
2014-12-24 22:07:51 +04:00
Ivo Julca
4ce42d11a8 Skrelp evolves to Dragalge at level 48 2014-12-24 00:59:34 -05:00
The Immortal
e04b1a7fae Merge pull request #1375 from Freigeist/patch7
Reject Sleeptalk + Lunar Dance in random battles
2014-12-24 00:01:28 +04:00
The Immortal
1e0b951685 Ban Garbodor from PU 2014-12-23 23:06:02 +04:00
Freigeist
0e85da224d Reject Sleeptalk + Lunar Dance in random battles 2014-12-23 16:36:45 +01:00
The Immortal
2049d542ea Add Hoenn Pokedex rule 2014-12-23 15:33:15 +04:00
The Immortal
b6b7357ad2 Update NU bans 2014-12-23 13:00:18 +04:00
Juanma Serrano
3081454085 Fix travis error build from ef8f839735 2014-12-22 13:39:35 +01:00
Juanma Serrano
412bf38d75 Gen 2: Fix AfterMoveSelf events
Leech seed, etc., must be activated just after the Pokémon moves and even if asleep or FP.
2014-12-22 13:23:04 +01:00
The Immortal
ef8f839735 Add event Linoone 2014-12-22 16:15:27 +04:00
The Immortal
14b63873a3 Move mega evolution message to client 2014-12-20 21:56:15 +04:00
The Immortal
41cc584d16 Make Random Battle changes
- Prevent Oblivion Wing + Hurricane Yveltal
- Increase non-mega Banette's level
2014-12-20 21:15:14 +04:00
Ivo Julca
4cdf5dc10b Gear Grind should not call the RNG 2014-12-19 22:09:32 -05:00
Ivo Julca
85a47df88a Freeze Clause is a mod 2014-12-19 20:13:02 -05:00
Marty-D
0d0949fdfd Remove unnecessary ohko flag
It's not even a real flag.
2014-12-19 10:25:05 -05:00
Juanma Serrano
6b3a5e8e18 Random Double Battles: reject Chlorophyll unless the Pokémon itself has Sunny Day
See: http://www.smogon.com/forums/threads/joims-to-do-list.3486934/page-3#post-5895492
2014-12-19 14:17:40 +01:00
The Immortal
5186f9155f Fix second Helping Hand message 2014-12-19 13:56:29 +04:00
The Immortal
f571d809a2 Add event Charizard and Pikachu 2014-12-19 13:41:19 +04:00
The Immortal
e20060fa10 Update Random Battle 2014-12-19 00:46:21 +04:00
Guangcong Luo
2b80496baf Revert "Reject Rock Head with less than two recoil moves"
This reverts commit 4bc29710b4.
2014-12-18 15:35:29 -05:00
Guangcong Luo
132d55f840 Revert "Update Random Battle"
Don't remove Balloon Rotom-Fan without asking, that's just rude.
:|

This reverts commit fcaee25009.
2014-12-18 15:32:52 -05:00
The Immortal
44df32904f Fix abilities crashing with confusion damage 2014-12-19 00:29:43 +04:00
Marty-D
b7070b6325 Refactor bite, bullet, and pulse moves 2014-12-17 11:29:26 -05:00
Juanma Serrano
0114ad3dae Improve Seasonal with user suggestions
Improved the set maker to avoid bad sets due to Present.
Made the mountain 500 meters shorter.
Made the chance to hit an obstacle slightly lower.
Added weight to the sleigh that is lowered by throwing Presents and makes you faster.
2014-12-17 17:08:49 +01:00
Marty-D
1ed978c9b7 Make sure Nature Power targets correctly 2014-12-17 10:14:09 -05:00
The Immortal
4bc29710b4 Reject Rock Head with less than two recoil moves
in Random Battle
2014-12-17 13:41:59 +04:00
The Immortal
fcaee25009 Update Random Battle
- Added moves to Cherrim
- Changed levels
2014-12-17 13:33:32 +04:00
Guangcong Luo
6f13453e15 Merge pull request #1370 from ascriptmaster/randoms
Some random battle updates (as suggested by PS staff)
2014-12-17 03:16:53 -06:00
The Immortal
1dacafb981 Update UU bans 2014-12-17 12:31:44 +04:00
ascriptmaster
ad8a820d5b Update Balloon Fan Rotom (Rotom-Spin)
- Modified level scale so that it's less bad
- Removed Trick from its movepool because it's useless with Balloon
2014-12-17 00:18:10 -08:00
ascriptmaster
eb847519a3 Nerf Articuno in Random Battles
Reduced to Level 82.
2014-12-17 00:18:09 -08:00
ascriptmaster
6797a7b245 Reject Head Smash with Sturdy
Donphan is mostly going to have Sturdy, so we also remove it from its move
set and replace it with some better stuff.
2014-12-17 00:18:08 -08:00
Marty-D
11d5b946dd Update old moves to Gen 6 mechanics 2014-12-16 14:57:21 -05:00
Marty-D
222751d896 Update all move descriptions 2014-12-16 12:02:24 -05:00
Marty-D
f2795018d5 Add in-game flags to all moves
- To be used in a one by one refactor of all current flags across the
generations
2014-12-16 11:53:57 -05:00
The Immortal
27053998bd Add Fake Out to Hitmonlee's Random Battle moves 2014-12-16 14:21:30 +04:00
Guangcong Luo
07caf09573 Merge pull request #1369 from ascriptmaster/randoms
Some random battle updates
2014-12-16 03:20:01 -06:00
ascriptmaster
76c4e4c0ef Give Wormadam-Grass Synthesis in random battles 2014-12-16 01:16:52 -08:00
ascriptmaster
469641c05e Don't give Normal Gem to Pokemon with Rapid Spin 2014-12-16 01:14:19 -08:00
Guangcong Luo
e8cf856489 Merge pull request #1351 from Pikachuun/master
Add -ate Clause
2014-12-15 15:09:44 -06:00
Pikachuun
ca47d43c1f Add -ate Clause
-ate abilities are only limited to 1 per team, total (so no Aerilate +
Pixilate or Double Aerilate).
2014-12-15 12:58:55 -05:00
The Immortal
1162135808 Houndoominite is BL2 2014-12-13 20:38:25 +04:00
Guangcong Luo
a95f2bcbe7 Merge pull request #1353 from asgdf/patch-12
Fix MRay to count as a mega in randbats team
2014-12-12 01:19:59 -06:00
asgdf
98cc285002 Fix MRay to count as a mega in randbats team 2014-12-12 02:22:41 +01:00
Juanma Serrano
608086189d Improve Seasonal Sleigh Showdown
Eliminate megas from teams.
Make freeze from event make you unable to move that turn.
Freeze thawing was meant to be when hit, not after a turn after all. Fixed comment.
2014-12-11 13:50:32 +01:00
Guangcong Luo
e5b5cafbe3 Merge pull request #1352 from asgdf/patch-11
fix moves[] containing non-id move names
2014-12-10 15:48:08 -06:00
The Immortal
c46ad218fc Add machine moves for Cosplay Pikachu 2014-12-11 00:36:33 +04:00
The Immortal
3a242f7ec9 Cosplay Pikachu only has Lightning Rod 2014-12-11 00:36:01 +04:00
asgdf
13139b4ec3 fix moves[] containing non-id move names 2014-12-10 20:45:47 +01:00
The Immortal
a019bc0321 Add ORAS TM changes 2014-12-10 22:57:49 +04:00
The Immortal
fb94cb88b3 Remove unavailable ORAS tutor moves
Air Cutter (actually Roost but was a mistake on the tutor list), Dark
Pulse, and Sleep Talk don't have actual tutors in the game.
2014-12-10 21:47:14 +04:00
The Immortal
8e990ff81b Add missing ORAS moves
- New TM Secret Power
- New HM Dive
- Dazzling Gleam for Fennekin line
2014-12-10 21:13:48 +04:00
Juanma Serrano
1b75007647 Implement new Seasonal Ladder, Sleigh Showdown 2014-12-10 18:01:39 +01:00
The Immortal
2df47b0562 Add Moonblast to Whimsicott's random battle moves 2014-12-10 16:58:14 +04:00
Guangcong Luo
80704c272d Merge pull request #1298 from Slayer95/disabled-maybe
Hide moves disabled by Imprison or NEXT's Telepathy
2014-12-10 03:57:30 -06:00
Marty-D
860347313a Update moves without the protect flag. 2014-12-09 10:04:32 -05:00
The Immortal
6fe3346e18 Add new event Pokemon 2014-12-09 16:21:09 +04:00
The Immortal
9f40dbaa1c Cosplay Pikachu can't be shiny 2014-12-08 13:36:30 +04:00
Marty-D
8c2b18c622 Fix forced switch mechanics.
- Red Card and Eject Button do not activate if the holder is being
forced out.
- Circle Throw, Dragon Tail, Roar, and Whirlwind cannot attempt to force
out a Pokemon with no inactive unfainted allies.
2014-12-06 11:53:26 -05:00
The Immortal
b64287b64f Prevent Flare Blitz with Fire Blast in Random Battle 2014-12-06 16:31:15 +04:00
The Immortal
37fd088915 Random Battle updates 2014-12-06 16:25:00 +04:00
The Immortal
df3e743b63 Update UU bans 2014-12-06 00:32:45 +04:00
Guangcong Luo
b2f3286bf7 Merge pull request #1345 from Slayer95/cap
Implement banlist rule "Ignore Non-Standard"
2014-12-05 13:02:50 -06:00
Ivo Julca
aad4077c0e Implement banlist exception "Allow CAP"
- Checked in Pokemon rule to ignore NonStandard checks for CAP.
- Fixes the issue of CAP's banlist lagging behind OU's after suspect tests.
2014-12-05 12:17:05 -05:00
Ivo Julca
1d95bfbda5 Fix remaining instances of Klutz being ineffective 2014-12-04 23:19:58 -05:00
Ivo Julca
4907f3377e Update learnsets-g6 to display ORAS moves in Teambuilder 2014-12-04 16:21:58 -05:00
Guangcong Luo
151b7ea61a Merge pull request #1334 from ascriptmaster/primal
Ability refactor - Abilities now receive End events properly
2014-12-03 16:43:29 -06:00
ascriptmaster
e79e64e3fc Ability Refactor: Abilities now listen for End events
Added functionality for setAbility to send End events to abilities.

Fixed bug with Mold Breaker negating all Battle#singleEvent ability calls,
even those that don't involve damage calculation.

Fixed Skill Swap to now use End and Start events in the right order:
send the End events, then change the abilities, then send Start events.
If the same ability is swapped, don't send End events (the game simply
re-activates the abilities in question)

Moved SwitchOut/Faint events from weather to ability so the weather
can interact properly with Cloud Nine or Air Lock.

Primal weathers persist if a Pokemon with the relevant ability is
on-field, even if the originator switches out.
2014-12-03 12:22:21 -08:00
nmodi
818f3a36d5 Slurpuff banned to BL3 2014-12-03 00:28:51 -06:00
Ivo Julca
01de2eadf9 Magician's handler is now purely a global event
Reverts 3b5d455
2014-12-02 20:25:02 -05:00
Marty-D
db4d16fbd2 Prevent Delta Stream from affecting Stealth Rock. 2014-12-01 22:19:10 -05:00
The Immortal
3ff7ef0178 Update tiers for megas 2014-12-02 00:32:20 +04:00
asgdf
e01a7eebb9 Mega Alakazam is not BL
http://www.smogon.com/forums/threads/np-xy-uu-stage-3-calling-diggersby-bl-next-scolipede.3516640/page-19#post-5801898
http://www.smogon.com/forums/threads/xy-uu-tiering-system-voting-records.3520708/#post-5323505
2014-12-01 20:31:59 +01:00
Antar1011
52e3f1ce97 December 2014 Tier Changes
http://www.smogon.com/forums/threads/smogon-usage-based-tier-update-december-2014.3523339/
2014-12-01 12:49:07 -05:00
Guangcong Luo
6abf5cf763 Merge pull request #1337 from Ridaz/patch-8
Update aliases
2014-12-01 11:01:46 -06:00
Ridaz
9f61c4e60c Update aliases.js 2014-12-01 11:53:37 +00:00
Bill Meltsner
a843e88c34 Mega Sableye put on some weight
does this gem make me look fat?
2014-11-30 11:32:10 -08:00
Ridaz
803de47c11 Update aliases
Adding BP for Baton Pass, Obama for Abomasnow (including its Mega), Sitrus for Sitrus berry and Leppa for Leppa Berry
2014-11-30 13:52:54 +00:00
The Immortal
ecd4afa97f Altaria learns Heal Bell in gen 3
The event already exists but was not in learnsets.
2014-11-30 13:02:13 +04:00
Joimer
845af33c98 Implement Mega Rayquaza Ban for Ubers
Mega Rayquaza is banned from Ubers.
However, Rayquaza with the move Dragon Ascent is allowed.
It is thus necessary to add a mod rule, Mega Rayquaza Ban Mod,
which flags Rayquaza as not mega evolveable.
2014-11-30 00:00:06 +01:00
Joimer
d3b233d8ac Update the Mega Pokemon check
There is no need to store whether the team has a mega anymore.
With the general use of pokemon.canMegaEvo and it being set to false for
the whole team after a mega evolution, it is what we need to check to avoid
more than one mega evolution or banned mega evolutions.
2014-11-29 23:58:27 +01:00
Guangcong Luo
73bd2bdafb Merge pull request #1330 from DanielCranham/patch-1
Add Hidden power abbreviations to aliases.js
2014-11-27 14:03:49 -06:00
Pikachuun
a619c1328d Correcting Hyperspace Fury's Category
Special -> Physical
2014-11-27 10:40:52 -05:00
Cranham
2a4592613d Add Hidden power abbreviations to aliases.js 2014-11-27 14:06:30 +00:00
The Immortal
c531ebb8f8 Scolipede is banned from UU 2014-11-27 12:13:08 +04:00
Marty-D
73ea9f4ea9 Primal weather does not prevent Status moves. 2014-11-26 21:09:00 -05:00
Guangcong Luo
35ced958a8 Merge pull request #1328 from ascriptmaster/primal
Mega Evolution now ends primal weathers from base form
2014-11-26 15:48:33 -06:00
ascriptmaster
b6fcb793dc Mega Evolution now ends primal weathers from base form
Sends an EndAbility event when you mega evolve so the weather can check.
2014-11-26 12:58:56 -08:00
ascriptmaster
29905009af Fix Scrappy's interaction with Ion Deluge/Electrify
Give Scrappy a negative priority on its onModifyMove action because it was
causing Normal/Fighting moves affected by Electrify to hit Ground types.
2014-11-26 11:04:10 -08:00
Juanma Serrano
86b431155d Add Hoopa-U as alias for Hoopa-Unbound 2014-11-26 17:54:30 +01:00
Juanma Serrano
c2f072cd3e Add Psychic as main psychic STAB for Hoopa on Random Battles 2014-11-26 16:47:55 +01:00
Juanma Serrano
457b6dccb6 Add moves to Hoopa for Random Battles
Add basic placeholder moves for Hoopa to use in Random Battles.
2014-11-26 16:43:44 +01:00
The Immortal
d2f5f01830 Soul Dew is released 2014-11-26 01:03:38 +04:00
The Immortal
901bcd172d Update PU bans 2014-11-24 18:36:04 +04:00
The Immortal
09f56abb8a Shiny Reshiram/Zekrom can be found in OR/AS 2014-11-24 13:44:44 +04:00
The Immortal
bedbb79773 Update learnsets
- Changed the level of level up moves if they are learnt at an earlier
level in ORAS compared to XY (affects genderless Pokemon in LC mainly)
- Sorted moves alphabetically
2014-11-24 00:37:10 +04:00
ascriptmaster
850977dcad Precipice Blades, Origin Pulse, Dragon Ascent, Diamond Storm are viable 2014-11-23 00:20:13 -08:00
The Immortal
88163601db Update UU 2014-11-23 10:58:47 +04:00
Ivo Julca
b5e76b238c Fix Healing Wish/Lunar Dance in Doubles
- They should fail whenever there are zero inactive ally pokémon.
- They should be stackable with themselves for different positions.
2014-11-22 16:15:05 -05:00
The Immortal
e2af6d65cc Fix Travis CI errors 2014-11-22 19:25:33 +04:00
The Immortal
1a5846482e Update some Random Battle moves with ORAS additions 2014-11-22 02:04:01 +04:00
The Immortal
89620f07b7 Update Cosplay Pikachu
Added the one with no costume. Also put Cosplay Pikachu in PU because it
can't evolve and so is not NFE.
2014-11-22 01:38:27 +04:00
The Immortal
bcf19608c9 Update Mega Rayquaza
Rayquaza does not have a mega stone; it can mega evolve with the move
Dragon Ascent.
2014-11-21 16:26:56 +04:00
Guangcong Luo
db1f3f633b Merge pull request #1319 from ascriptmaster/primal
Primal Reversion occurs before ability messages activate
2014-11-21 14:54:21 +08:00
ascriptmaster
c0d2b26a89 Primal Reversion occurs before ability messages activate
Moved primal reversion checks to the SwitchIn event.

Moved the SwitchIn event to properly account for turn order.
2014-11-20 21:06:02 -08:00
Marty-D
b8f86efaa4 Skrelp and Dragalge's HA is released. 2014-11-20 19:52:12 -05:00
The Immortal
a13f59c41a Add Beldum event 2014-11-21 01:51:15 +04:00
The Immortal
1a8c22401e Sylveon set is also legal 2014-11-21 01:26:11 +04:00
The Immortal
643a18afe0 ORAS updates
- Released Cosplay Pikachu
- Updated learnsets
- Updated NEXT
- Removed ORAS mod
- Removed hardcoded set bans that are now legal
2014-11-21 01:21:16 +04:00
Marty-D
02d9887438 Hoopa has been Unbound. 2014-11-20 11:17:17 -05:00
The Immortal
d321e7bea4 Release new ORAS moves 2014-11-20 15:01:19 +04:00
The Immortal
25dde5f061 Revert "Remove learnsets-g6"
This reverts commit 80046e233e.
2014-11-20 14:12:06 +04:00
The Immortal
80046e233e Remove learnsets-g6
This, and the learnsets repo, are unneeded because the learnsets are
ripped from the game now.
2014-11-20 13:59:02 +04:00
The Immortal
579319bc9b Release ORAS megas/primals
The ORAS formats are no longer needed.
2014-11-20 13:52:21 +04:00
Marty-D
e0eff117f3 Add missing item sprites. 2014-11-19 20:40:34 -05:00
The Immortal
8eac7f2e9a Update ORAS mega stones 2014-11-19 13:37:38 +04:00
Guangcong Luo
4bc18009d9 Merge pull request #1315 from ascriptmaster/move-messages
Updated most moves, items and abilities to not use -message tags
2014-11-19 13:51:31 +08:00
ascriptmaster
54fd6f41d3 Updated most moves, items and abilities to not use -message tags
Some gen 1 moves like Dig/Fly, gen 4's Custap Berry, and everything in
NEXT is untouched for now.
2014-11-17 11:25:56 -08:00
Guangcong Luo
e54ffb8414 Merge pull request #1264 from bumbadadabum/master
Updated Aliases
2014-11-17 01:53:39 +08:00
The Immortal
31b0ce2490 Update UU suspect 2014-11-16 17:21:34 +04:00
The Immortal
1b302c7117 Random Battle: Prevent Flame Charge with Tailwind 2014-11-15 23:53:08 +04:00
Marty-D
fdc3d9f570 Fix several item mechanics.
- Griseous Orb, Plates, Drives, and Mega Stones can no longer be removed
from or given to their respective species by any means
- Mold Breaker and friends can no longer remove a Plate from an Arceus
- The Fling base power for these related items is now defined in Tools,
like Berries
- Sticky Hold works correctly with Bestow, Fling, Knock Off, Switcheroo,
and Trick
2014-11-13 15:51:28 -05:00
Ivo Julca
9406a4a62d Move Struggle usage warning to choice parsing
- It is now sent to the relevant player only, and before the turn resolves.
2014-11-13 14:45:54 -05:00
Ivo Julca
f33909e969 Hide moves disabled by Imprison or NEXT's Telepathy
- Pokémon affected by Imprison -or Telepathy in NEXT- will now have a special flag 'maybeDisabled' in move requests if they are the last active pokémon.
- If a Pokémon having this flag attacks, the player will not be able to cancel their decision.
- Refactor Battle#parseChoice: Move decisions will now be parsed based on all the moves a pokémon knows after LockedMove, rather than only on validMoves. Any request to use a disabled move or a move with 0 PP will now be replied with a message in the form |callback|cant|[pokemon]|[sourceEffect]|[move], unless the pokémon has no valid moves, in which case it will use Struggle. The check for lockedMove in choice parsing is now performed as the first action after checking that the pokémon is not fainted. This prevents pokémon from Shifting to the center in Triples while being locked into a move.
- Don't report moves' being disabled to the client in requests if they are disabled due to Imprison or Telepathy. Instead, their being disabled will be reported using the mechanism described above.
2014-11-13 14:45:51 -05:00
Ivo Julca
d928b64221 Implement BattlePokemon#disableMove to support hiding information
- Changed data to use it anywhere moves get disabled.
2014-11-13 14:45:49 -05:00
Audiosurfer
5a70a627a5 Update Smogon Doubles Random Battle movepools
Update some movepools as well as add new movepools for all ORAS megas in Smogon Doubles Random Battle format.
2014-11-12 11:20:26 +01:00
Marty-D
0cc233a58f Fix Hyperspace Fury check. 2014-11-11 23:50:27 -05:00
Juanma Serrano
26c03e50f3 Update Seasonal Strikes Back: Add safeguard against hash collision
There's an improbable chance that a nickname gets a hash collision.
In such a case, the player gets five instead of six Pokémon.
This safeguard prevents that improbable event from happening at all.
2014-11-11 18:30:59 +01:00
Ivo Julca
ac671bcc99 Fix Stealth Rock in Inverse 2014-11-10 19:33:30 -05:00
Marty-D
e76205c12f Use -fail messages for Hyperspace Fury. 2014-11-10 17:36:12 -05:00
ascriptmaster
15b04f0a8a Fix every error in the Travis CI Build / npm test 2014-11-10 10:57:38 -08:00
Joimer
676d67a1bf Merge branch 'master' of http://github.com/Zarel/Pokemon-Showdown 2014-11-10 11:36:51 +01:00
Joimer
2ff379f51e Implement november seasonal, Seasonal Strikes Back
Seasonal format is a random battle format that changes its rules monthly.
It often includes limited Pokmon pools, wacky mechanics you'd never encounter in game, and other fun stuff.
2014-11-10 11:34:12 +01:00
Marty-D
0a31dab7e8 Fix Secret Power. 2014-11-09 20:40:31 -05:00
Joimer
6b10f3961d Exclude Magikarp's Revenge from Smeargle's movepool in Challenge Cup 2014-11-10 01:02:30 +01:00
Marty-D
bf978fab91 Only Hoopa-Forme can use Hyperspace Fury. 2014-11-09 16:25:54 -05:00
Marty-D
59bcba8163 Correct Gen 6 move targets. 2014-11-09 11:11:12 -05:00
The Immortal
547ceb92b2 Update UU suspect 2014-11-09 19:55:53 +04:00
Marty-D
d618301e8f Fix Aromatic Mist. 2014-11-09 10:28:14 -05:00
Marty-D
f0ca855d94 Add sprites for Blue and Red Orb. 2014-11-09 09:47:41 -05:00
V4Victini
5c805a028e Correct Cheek Pouch mechanics
Didn't know this was still set to 25%...
2014-11-06 23:48:23 -05:00
Ivo Julca
d5b7034da1 Remove unnecessary checks for sound immunity
As of ecbc9bfd62, no effect provides an "immunity" to sound.
2014-11-05 21:26:25 -05:00
Slayer95
579b93c8e1 Merge pull request #1300 from ascriptmaster/aromasipper
Aromatherapy triggers Sap Sipper
2014-11-02 01:45:10 -05:00
ascriptmaster
ef50dea521 Aromatherapy triggers Sap Sipper 2014-11-01 17:10:38 -07:00
ascriptmaster
06c8bd7ed0 Geomancy is viable 2014-11-01 11:30:04 -07:00
Slayer95
04b1aad8e3 Merge pull request #1296 from ascriptmaster/oras-weather
Fix Primordial Sea glitch
2014-10-30 17:15:55 -05:00
ascriptmaster
213d9ef47f Fix Primordial Sea glitch 2014-10-30 15:12:35 -07:00
Ivo Julca
641651e19d Send 'trapped' flag in requests for pokémon that are known trapped
- Implement BattlePokemon#isLastActive to do the check for whether this is the last non-fainted active pokémon in a team.
- BattlePokemon#tryTrap now accepts an argument that, if true, will hide the fact that a pokémon is trapped.
- This should revert an small (annoying) change in the UI for locked moves introduced as a secondary effect in 8afc588e4.
- NEXT: Shadow Tag shouldn't activate the 'maybeTrapped' flag after the suspected Shadow Tagger has made a move.
2014-10-30 00:34:34 -05:00
Ivo Julca
98adc03dd5 Ghosts affected by Ingrain can switch out 2014-10-29 22:01:12 -05:00
Audiosurfer
3d66859182 edit to random doubles item generation 2014-10-29 21:06:41 -05:00
Ivo Julca
4557cbd280 Fix client crash from 072d413 2014-10-29 17:23:25 -05:00
Treecko
76d958e608 update musharna's tiering
technically Musharna is now BL4, but because there isn't a BL4, I listed it as NU. as far as legality in NU and PU is concerned, this is accurate for the teambuilder and seems to be the best way to handle it.
2014-10-28 14:20:21 -07:00
Guangcong Luo
3dd9652f82 Merge pull request #1283 from ascriptmaster/oras-weather
Implement Harsh Sun, Heavy Rain, Strong Winds
2014-10-28 15:51:25 +08:00
ascriptmaster
859cebf490 Implement Harsh Sun, Heavy Rain, Strong Winds
Abilities might not be 100% accurate to the gameplay yet.
2014-10-27 16:10:26 -07:00
Ivo Julca
73c82e47a3 Fix stray bug in effectiveness refactor
Freeze Dry should be super effective on Water even in Inverse Battles.
Also optimize Flying Press.
2014-10-27 14:06:08 -05:00
The Immortal
879ad0f9aa Update UU 2014-10-27 20:03:01 +04:00
Ivo Julca
727579ff89 Revamp effectiveness calculation
- Implement BattlePokemon#runEffectiveness, accounting for battle events.
- Refactor Tools#getEffectiveness accordingly.
- Remove Inverse mod. It's now implemented using the global event 'Effectiveness', and with a few changes in the base data for hazards and Arena Trap.
- NEXT: Fix Filter and Solid Rock not accounting for the special effects of Freeze Dry and Flying Press.
2014-10-27 03:46:32 -05:00
The Immortal
69689c17fa Allow Light Ball to work for Cosplay Pikachu 2014-10-25 19:03:09 +04:00
The Immortal
e304345fe1 Modify Articuno's Random Battle level 2014-10-23 02:39:14 +04:00
The Immortal
4ccccb64a0 Fix Cosplay Pikachu's egg groups 2014-10-23 02:24:24 +04:00
Guangcong Luo
8621788173 Merge pull request #1279 from ascriptmaster/move-fixes
Various move fixes
2014-10-21 18:23:20 -05:00
The Immortal
f9a87c2edb Fix Cosplay Pikachu
It's like Spiky-eared Pichu.
2014-10-22 02:04:39 +04:00
ascriptmaster
878b23425a Added [msg] handler for Meloetta's transformation 2014-10-21 14:40:54 -07:00
ascriptmaster
522d7b5fa2 Thousand Arrows now hits all adjacent foes and targets with Fly, etc.
Also updated the description of the move.
2014-10-21 14:01:09 -07:00
ascriptmaster
072d41345b Removed placeholder message for Focus Band 2014-10-21 13:50:55 -07:00
Guangcong Luo
ffcce9d746 Randbats ORAS level-balance update
Groudon-Primal, Kyogre-Primal, and Rayquaza-Mega are now level
70 in randbats
2014-10-21 16:43:11 -04:00
ascriptmaster
44845f0cb9 Removed placeholder messages for Castform/Cherrim transformation
Added [msg] handler for client to check for and display the message.
2014-10-21 13:32:21 -07:00