Commit Graph

4 Commits

Author SHA1 Message Date
livid washed
f4757ed114
Gen 2 Random Battle updates (#9867)
* Gen 2 Random Battle updates

* oops remove that console.log
2023-10-31 10:12:33 -06:00
livid washed
a1fd48cf3c
Gen 2-4 and Gen 8 Random Battles updates (#9758)
* Gen 2 Random Battles updates

* Gen 3 Random Battles updates

* Gen 4 Random Battles updates

* Gen 8 Random Battles updates

* Remove Castform STAB exception in Gen 3
2023-09-11 21:04:01 -05:00
livid washed
6d4da4afda
Gen 2 Random Battles updates (#9616) 2023-06-26 23:30:02 -05: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