Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
All instances of "PT" refer to the "preferred type" system; a Pokemon with a preferred type will always generate with a move of that type. It will be referred to by the aforementioned "PT" shorthand in the rest of this pull request.
These changes are largely to align Gen 7's set optimization with that of the newly-revamped Gen 6 Random Battle when reasonable. After this update, the only differences between generations 6 and 7 of Random Battle will involve actual generational mechanic, movepool, and stat changes.
Role additions/changes/removals:
-Steelix now has three sets:
--Wallbreaker, which is the Sheer Force Life Orb set unchanged
--Staller, which is Sturdy Leftovers with Earthquake, Heavy Slam, Toxic, and Protect
--Bulky Support, which is Sturdy Leftovers with Earthquake and any 3 of Heavy Slam/Toxic/Roar/Stealth Rock
-Arceus-Psychic has a set split:
--Bulky Setup with CM + Recover + Judgment + Fire Blast/Earth Power
--Bulky Attacker with Recover + Judgment + Earthquake/Fire Blast + Willowisp/Toxic/Defog/the other of Earthquake/Fire Blast
-Bronzong has a set split:
--Bulky Support, unchanged
-- Staller, with Toxic + Protect + any 2 of Iron Head/Psychic/Earthquake
-Aerodactyl has a set split:
--Bulky Attacker with Stone Edge + Earthquake + Roost + Defog/Taunt/Toxic/Stealth Rock and Leftovers
--Fast Support with Stone Edge + Earthquake + (almost) any 2 of Defog/Doubleedge/Pursuit/Stealth Rock/Roost, with Leftovers/Focus Sash/Life Orb/Choice Band depending on moves and team position
-Rapidash has a set split:
--Bulky Attacker with Flare Blitz + Morning Sun + any 2 of High Horsepower/Wild Charge/Will-O-Wisp and a Leftovers (new)
--Wallbreaker with Flare Blitz + any 3 of Morning Sun/High Horsepower/Wild Charge/Megahorn, with Life Orb or a Choice Band (new)
-Infernape: Setup Sweeper changed to Z-Move user (Fightinium Z)
-Farfetch'd: Fast Attacker changed to Setup Sweeper (forces Swords Dance) (DONE IN BOTH GENS 6 AND 7)
-Magcargo's Bulky Support changed to Staller (forces Toxic)
-Feraligatr's Wallbreaker changed to Bulky Setup (forces Aqua Jet and Swords Dance)
-Bulky Attacker (SubPunch) Mega Mawile has been removed.
-Setup Sweeper Carnivine has been removed.
Item changes:
-King's Shield Aegislash will now generate Leftovers instead of Life Orb.
-Jirachi: +Healing Wish; Healing Wish cannot generate with Body Slam; Choice Scarf Jirachi now exists.
-Dialga: -Roar, +Dragon Tail; Dialga can now run Assault Vest
-Primeape: +Hone Claws; Primeape can now run Life Orb
Move changes:
-Dusknoir: -Substitute, +Haze
-Staller Empoleon: +Defog
-Bulky Attacker Rampardos (the Mold Breaker one): +Superpower
-Fast Attacker Sceptile: +Rock Slide
-Bulky Support Mega Garchomp: -Toxic
-Hitmontop: +Earthquake
-Bulky Setup Suicune: -Hidden Power Grass; -PT Ice (no longer necessary in order to force Ice Beam)
-Dragon Dance Tyranitar and Mega Tyranitar: +Fire Punch
-Bulky Support Lunatone: -Ice Beam, +Moonblast
-AV Pivot Tangrowth: -Leaf Storm, +Giga Drain
-Bulky Attacker and Wallbreaker Machamp: +Bulk Up, +PT Dark
-Muk: -Explosion
-Bulky Attacker Venusaur: -Giga Drain, +Earthquake, +Energy Ball
-Bulky Support Kangaskhan: +Double-Edge
-Bulky Setup Chimecho: -Shadow Ball
-Z-Move user Venomoth: -Substitute, +Roost
Preferred Type changes:
-AV Pivot Lickilicky: +PT Ground
-Flareon: -PT Fighting (not necessary in order to force Superpower)
Technical changes:
-remove unnecessary blissey rejection for serene grace
-remove unnecessary hardcode for explosion now that muk doesn't have it (DONE IN BOTH GENS 6 AND 7)
-move pressure enforcement to species-specific section of ability enforcement code
-flying STAB enforcement's species list changed from .every to .includes