Commit Graph

33 Commits

Author SHA1 Message Date
Kris Johnson
55a38d445e Add proper ZU support for old gens 2023-11-17 13:59:18 -07:00
Marty-D
d947b82322
Gen 5 OU: Put Latias back in OU
https://www.smogon.com/forums/posts/9703624/
2023-07-15 14:24:16 -04:00
livid washed
aa103be383
Old Gens Random Battles: Move data to JSON files (#9413)
* Add random-sets.json for old gens to store randbats data

* Use random-sets.json files for generating sets

* Use levels from data files in gens 3-7

* Remove levels from BDSP file

* Remove random battles data from formats-data.ts

* Remove unnecessary levelScales

* Rename species_set to data

* Update commands

* linting and syntax stuff

* Adapt randbats tests

* Forgot to remove levels from joltemons file

* Rename random-sets to random-data

* Add newlines at end of json files

* Fix description of /randbats command: defaults to gen 9

* Fix an issue with gmax

* Remove randomDoubleBattleLevel for mons without doubles sets

* Apply suggestions from code review

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Rename randomBattleLevel to level

* Rename randomBattleMoves to moves

* Fix BDSP test

* Fix some gen 7-8 tests

* linting

* Gen 1-2: put custom levels in json file instead of customScale

* Gen 3: make Dunsparce level 88 (PUBL, it shouldn't be level 80)

* Type the JSON files

* revert a change that is no longer needed with typing

* moves should be IDs, not strings

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2023-03-07 11:50:02 -07:00
livid washed
b9251678aa
Old Gens Random Battles updates (#9383)
Gen 3:
    some set tweaks
    3 Physical attacks + Fire Blast gives Choice Band

Gen 4:
    Mismagius: add Trick, so that it can rarely generate choiced sets
    Umbreon can now get Wish + Moonlight, but not with Protect
    Ditto will get Salac Berry or Sitrus Berry
    Pidgeot, Fearow, and Farfetch'd have Heat Wave added, which will result in Life Orb sets for the first two

Gen 5:
    Pikachu: remove Thunderbolt, add Volt Tackle
    Dugtrio gets a fixed Life Orb set

Gens 6 and 7:
    Dusknoir: remove Focus Punch
    Pokemon with Rock Head/Water Absorb as possible abilities will never get Swift Swim as their ability, unless they have Rain Dance in their set
    Dustox will no longer get Quiver Dance + U-Turn (the change to gen8/random-teams.ts has no effect on any gen 8 sets)
    Slow Pokemon (< 90 base speed) will no longer get Life Orb with Volt Switch

Gen 6:
    Rework Malamar's set
    Kangaskhan-Mega will not get Seismic Toss with Power-Up Punch
    Cloyster should always get Icicle Spear with Shell Smash
    Focus Sash bulk threshold has been reduced from <= 275 to < 255
    remove Cherrim-Sunshine set, add HP Ice to Cherrim

Gen 7:
    Reshiram should always get Blue Flare
    tweak Ninetales and Ninetales-Alola's sets
2023-02-05 11:09:11 -05:00
livid washed
73da793891
Gen 5-7 Random Battles updates (#9365) 2023-01-29 19:09:39 -06:00
livid washed
4d4bc05256
Old Gens Random Battles updates (#9347)
* Gen 1: Fix Tangela's set

* Gen 3: replace Counter with Rest on Politoed, and give Skarmory Whirlwind instead of Roar

* Gen 6-7: Fix Expert Belt condition

* Gen 5: allow Specs Kyogre and Typhlosion

* Gen 5: set changes

* Gen 5: Change Mewtwo set and move enforcement for Psychic types with Calm Mind

* Gen 5: Re-add Ice Shard to Cloyster, only allowed if not Shell Smash

* Gen 5: Reflect and Light Screen should usually be generated together

* Gen 3: Remove Refresh from Latios, allow mono-attacking Latias with Refresh

* Gen 3: Deal with unobtainable moves

* Gen 5: Fix Priority + trick/switcheroo condition

* Gen 2: set changes

* Gen 2: remove unobtainable Zapdos moves

* Gen 3: Return is better on farfetch'd
2023-01-22 21:36:51 -06:00
livid washed
2e2f844911
Gens 5-7 Random Battles updates (#9302)
* Gens 6-7: give Sunflora Specs set

* Gen 6: Remove Bullet Seed from Mega Heracross

* Gen 6: give Sigilyph Flame Orb

* Gens 6-7: make Light Screen and Reflect equally likely

* more movepool changes in gen 6

* Gen 6: require recovery on support Pokemon

* Guarantee Milk Drink in gen 6 and Moonlight on pure Psychics in gens 6-7

* no Cloud Nine on Altaria (gens 5-6)

* Gen 5: guarantee Milk Drink on Miltank

* Gen 5: guarantee Moonlight on non-TR Musharna and Cresselia

* Gen 5: replace HP fighting with Focus Blast on mrmime

* Gen 5: give Sigilyph Flame Orb

* Fix Trick Room check
2023-01-12 20:48:12 -05:00
Marty-D
a39054be73
Gen 5 OU: Drop Latias into OU by technicality
https://www.smogon.com/forums/posts/9465722/
2023-01-10 15:14:39 -05:00
livid washed
60b134332f
Gen 5 Random Battles updates (#9244)
* Prevent same type STAB when undesirable

* Heracross only gets Guts if it has Facade and would get an orb

* Add Roost to Gliscor

* Guarantee recovery on support/defensive mons

* linting

* Implement Heracross condition more efficiently

* easier Gliscor case

* Update data/mods/gen5/random-teams.ts

Co-authored-by: ACakeWearingAHat <45981036+ACakeWearingAHat@users.noreply.github.com>

* linting

Co-authored-by: ACakeWearingAHat <45981036+ACakeWearingAHat@users.noreply.github.com>
2022-12-29 19:46:08 -06:00
Tarrembeau
c6571a1512
Gen 5 Random Battles: Update movepools (#9209) 2022-12-20 09:27:45 -06:00
RustySheriffBadge
482fe7eb19
Gen 5 Random Battles: Fix typo (#8925) 2022-10-08 20:58:11 -05:00
Tarrembeau
2d7c92c35f
Gen 5 Random Battle: Update movepools (#8908)
* Gen 5 Random Battles: Update movepools

Removing Baton pass from the format and updating movepools

https://discord.com/channels/294651453279174656/763039178211721236/1022152942733770883

* Fix commit
2022-10-06 11:23:51 -07:00
Tarrembeau
c755b6b818
Random Battle: Give Glaceon Toxic in Gen 5 (#8635) 2022-01-23 17:47:01 -08:00
Kris Johnson
eee902e98e BW2: Fix Mr. Mime's tier 2022-01-16 20:58:25 -07:00
Kris Johnson
ad774d25a9 Fix ZUBL Pokemon tiers 2022-01-11 12:14:54 -07:00
Marty-D
540d7c5bde
Gen 5 OU: Drop Hippowdon into OU by technicality
https://www.smogon.com/forums/posts/9080453/
2022-01-11 14:09:45 -05:00
Kris Johnson
070d1a6ddb
BW PU/ZU: Add proper tiering (#8621) 2022-01-11 10:43:02 -05:00
Annika
e082ce9434 Random Battles: Alphabetize move arrays 2022-01-02 21:09:20 -08:00
Marty-D
217979d2e5
Gen 5 OU: Drop Infernape into OU by technicality
https://www.smogon.com/forums/posts/8906068/
2021-07-03 14:24:43 -04:00
ACakeWearingAHat
00bd42826f
Random Battles: Updates to Gen 5 (#8127) 2021-03-20 17:31:36 -07:00
The Immortal
7d5f9b455d Gen 5: Random Battle updates
- Various movepool improvements
- Prevent Toxic with setup or Trick Room
- Prevent Rain Dance with RestTalk
- Force Seed Flare and Horn Leech
- Reject Keen Eye
- Reject Intimidate so Shed Skin is rolled
- Fix Toxic/Flame Orb selection
- Improve Leftovers and Life Orb selection
2021-01-30 23:42:08 +04:00
The Immortal
b737c5a728 Gen 5: Random Battle improvements
- Various movepool adjustments
- Prevent Substitute + Circle Throw (Poliwrath)
- Improve Protect rejection
- Prevent Water Spout outside of Choice sets (Kyogre)
- Prevent Ice Punch with RestTalk (optimizes Throh and Muk)
- Make RestTalk Throh have Guts
- Make Gardevoir have Trace
- Fix Tinted Lens rejection (Venomoth)
- Improve Gem selection with Unburden
- Increase the bulk cut-off for Focus Sash
- Allow Sturdy leads to roll Custap Berry (Golem)
2021-01-23 22:28:52 +04:00
The Immortal
7ab649a666 Gen 5: Random Battle updates
- Various movepool changes
- Prevent Trick Room + Haze Cofagrigus
- Prevent Extreme Speed + Roost Dragonite
- Prevent Head Smash + Roost Archeops
- Give Bouffalant Sap Sipper
- Give Rain Dance and Sunny Day Pokemon Life Orb
- Remove Rocky Helmet Ferrothorn
- Improve Leftovers, Life Orb, and Focus Sash selection
- Fix Unown's level
2021-01-21 18:32:13 +04:00
The Immortal
1d941a90d3 Random Battle improvements 2021-01-19 06:01:35 +04:00
The Immortal
3ae56399bd Label Pokemon banned from LC as NFE 2021-01-11 00:29:18 +04:00
The Immortal
2bd9e757c4 Past gens: Random Battle improvements 2021-01-10 19:19:33 +04:00
Marty-D
ca4fcabc39 Gens 5-6 OU: Put consistently low usage Pokemon in OU by technicality
https://www.smogon.com/forums/posts/8703468/
2021-01-03 13:41:06 -05:00
Marty-D
edcbf6a483 Gens 4-6 OU: Put consistently low usage Pokemon in OU by technicality
https://www.smogon.com/forums/posts/8525878/
2020-08-29 10:41:55 -04:00
Guangcong Luo
2f805c93a2
Remove "Battle" prefix from data exports (#7039)
`BattlePokedex` is now `Pokedex`, `BattleItems` is now `Items`, etc.

I also renamed `Movedex` to `Moves` and `Statuses` to `Conditions`.

`TypeChart` isn't `Types` yet, because unlike the others, it's not
indexed by ID. That should probably be fixed one day.
2020-07-24 12:42:26 -07:00
The Immortal
8817ca88c7 Move unreleasedHidden and maleOnlyHidden to Pokedex 2020-06-18 17:44:44 +04:00
ACakeWearingAHat
f797cdd98b
Update Gen 5 Random Battle (#6773) 2020-06-04 02:57:35 +04:00
Kris Johnson
960721aef6
Fix Mandibuzz's Gen 5 tier (#6785) 2020-06-01 22:21:34 -07:00
Kris Johnson
28bf388b98
Typescript data (#6553) 2020-04-23 09:16:09 -07:00