Commit Graph

474 Commits

Author SHA1 Message Date
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
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
95be15b2d6 Random Battle: Fix Serene Grace being on Blissey/Chansey 2015-02-01 17:38:28 +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
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
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
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
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
The Immortal
94a56552d8 Update randomCCTeam 2015-01-21 17:05:14 +04: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
The Immortal
dfb16963a5 Random Battle: Prevent some status moves with Rest + Sleep Talk 2015-01-20 02:42:46 +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
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
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
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
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
Juanma Serrano
d9c367ff65 Fix more Travis Build Errors
Add a spaces after tests.
2015-01-15 09:31:36 +01:00
The Immortal
4ce0b4f3a4 Random Battle: Reduce the rate of Cosplay Pikachu 2015-01-14 23:56:42 +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
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
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
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
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
Joimer
6bafeb1f84 Seasonal: Nerf Yveltal
Too strong if mega gallade is out
2015-01-05 23:59:20 +01:00