Commit Graph

32 Commits

Author SHA1 Message Date
Kris Johnson
c99faa9a5d Release Protean Greninja 2023-01-26 19:43:05 -07:00
adrivrie
efdd0daf15
Battle Factory updates (#9307) 2023-01-23 13:23:11 -05:00
pyuk-bot
a5a9d96ef1
Remove Fly animation target leak in Gen 9 (#9327) 2023-01-14 19:06:59 -06:00
livid washed
cd9fd6f27d
Gen 2 and 4 Random Battles update (#9303)
* Gen 4: remove Unaware from Bibarel

* Gen 4: prevent Dragon Pulse + Draco Meteor

* Gen 2: Gligar and TTar set changes + count Screech as a physical setup move

* Gen 2: Enforce STAB Flying on Gligar (futureproofing for if its movepool is expanded)
2023-01-12 20:48:55 -05:00
Alexander B
ead7d28537
Gen 8 Random Battle: Fix lead bugs (#9274) 2023-01-03 12:12:10 -06:00
adrivrie
da9d196efb
Gen 8 Random Battle: Set a minimum level for Zoroark (#9279)
* Gen 8 Random Battle: Set a minimum level for Zoroark

* Remove double check for zoroark presence

* But properly this time
2023-01-02 13:16:01 -08:00
adrivrie
7f831931f8
Gen 8 Battle Factory: Remove banned Pokemon (#9268)
* remove magby from gen8BF

* more bans
2022-12-31 11:04:13 -07:00
Alexander B
47dd6d0e55
Gen 6-8 Random Battles: Fix unused moves (#9256) 2022-12-29 19:44:28 -06:00
Leonard Craft III
65951e3b69
Fix more SV item legality (#9236) 2022-12-27 13:43:34 -05:00
Leonard Craft III
fa56e1658f
Gen IX: Really fix Curse targeting behavior (#9218) 2022-12-27 13:43:07 -05:00
Karthik
65dcedc557
Implement proper Origin forme mechanics (#9227) 2022-12-26 12:20:44 -06:00
Kris Johnson
710c50f233
Move Scrafty to PUBL 2022-12-23 12:48:27 -07:00
Leonard Craft III
043092bcff Revert "Gen IX: Fix Curse targeting behavior (#9205)"
This reverts commit dd529ec093.
2022-12-22 16:01:12 -06:00
Leonard Craft III
dd529ec093
Gen IX: Fix Curse targeting behavior (#9205) 2022-12-22 15:23:18 -06:00
Kris Johnson
313ce1da69 Update Sneasler and's evolution method 2022-12-19 17:49:25 -07:00
adrivrie
7075637db5
add rating for every ability in gen8 (#9161) 2022-12-14 22:11:41 -07:00
ACakeWearingAHat
686a020e2c
Implement Gen 9 Random Battle (#9169)
* Move gen 8 rands code to gen8 folder

* Add test data file

* Remove hidden power from random-teams

* Remove BDSP

* Remove item selection for now

* Remove ability culling for now

* Remove move culling for now

* Obtain allowed pokemon from random-sets.json

* Add tera blast counter

* linting

* Remove Dynamax from random-teams

* Remove unnecessary check

* Add role and tera type + fix data format

* remove gmax

* Disable tier for now

* movePool should have move ids not names

* linting

* Add required moves

* Create an individual function for moveset generation

* Return moves early if <= 4 moves available

* Add counter for individual STABS, including tera

* Tera Blast is tera stab

* Add some moves (help with testing)

* Remove culling moves from moveset

* Add new hazard removing moves

* Test STAB and recovery moves

* Cull movepool each time a move is added

* Black Sludge only if tera type is Poison

* teratype and role to functions

* Test some 'High Priority' items

* Move ability selection to its own function

* Fix ability sorting/selection

* No need to go through the move adding process if number of moves in set + movepool is 4

* lint

* Remove some pokemon that aren't in gen 9 randbats

* Tera STAB example

* Allow for forcing abilities

* Silvally not in gen 9

* Move level calculation to getLevel

* Tier-based levelling and doubles coverage

* Sitrus Berry default item for doubles

* Avoid hard-coding for species frequency

* Linting + replace hail with snow

* Change a comment slightly

* Fix STAB moves: need to check that they do damage

* minor thing

* Comment out tera type requirement

* comments

* Add gen 9 randbats format

* STAB counter

* Remove setupType

* Add cullMutlaExclusive()

* Remove unnecessary functions

* Move CC/HC to the bottom

* Allow movesA and movesB to be overlapping

* Initialization of fill-out

* linting

* Setup moveEnforcementCheckers

* Type/STAB counter only updates for moves that aren't in noSTAB

* Account for type changing abilities earlier

* STAB enforcement

* Setup moves array

* linting

* Revert Setup change

* More fillout

* move tweaks

* Tera STAB enforcement

* Remove rest from recovery moves

* Enforce setup

* Add Facade if Guts

* Misc enforced moves

* Enforce more moves

* Enforce STAB priority

* Setup forced on tera blast user

* check if there are moves of the desired kind before sampling

* move tweaks

* Need to check if setupMoves is empty

* fix brute bonnet

* fix scream tail

* Finish up move incompatibilities

* fix scream tail harder

* Formatting

* Fix some things

* End culling early if movepool gets too small

* Paired moves: end culling early if movepool gets too small

* Remove 'stop cull' for testing purposes

* If 2/4 moves are filled, remove single unpaired move

* Remove now unnecessary hardcodes

* Use MovePairs instead of hardcoding pairs

* addMove function for adding moves to moveset

* Move updates

* Extra check is unnecessary, moves and movePool should never have moves in common

* Mach Punch required on Breloom

* lint

* Remove Synthesis from Brute Bonnet (5 enforced moves)

* adjust oranguru tera types

* finish up moves

* Force abilities

* Update my favorite pokemon

* linting

* Add shouldCullAbility

* fix setup counter

* Move sorting abilities below hardcoding

* minor change

* Add fields

* fix sawsbuck typo

* Improve the species generation + remove Basculegion and Houndstone as possible leads

* Fix Species frequency

* Linting

* veluza can actually run sharpness

* code all ability rejections

* Update random-sets.json

* EVs/IVs tinkering change

* fix capitalization error

* Perform small fixes

* fix moves that don't exist

* linting

* Magnezone hardcode

* Items

* Update random-teams.ts

* linting

* prep for leveling

* long list for ditto

* comment out a line of text

* finish individualizing levels and also melop sucks

* add lokix thing

* revavroom

* updates from testing

* komala probably shouldn't have dark as an option

* tropius fix

* intim mence is ok

* kleavor should not get sheer force

* why did we give hydre earth power lmao

* why did we put leech seed on toed

* forgot to sitrusify cheek pouch mons

* fix enamorus

* Syntax error

* Change Zoroark lastmon condition to level >= 72

* Fix Zoroark-level constraint to allow for level forcing

* Fix singles vs doubles definition

* Use species.id as much as possible for set generation

* updates from testing

* allow flash fire heatran

* additional sash parameters

* reject stakeout if the user has zero attacks

* fixes

* update pawmot abilities

* Change iron fist counter to a number

* Force Own Tempo on Petal Dance Lilligant

* Add T-wave to SD groudon set

* Slush Rush guaranteed with Snowscape + possible if team has snow

* Rework ability sorting: find list of non-culled abilities before sorting and selecting

* Move S/V rands to The Forefront

* fix regidrago

* Small fix to choosing allowed abilities

* update aliases

* Update Arcanines

* Change from forEach to for, since index is no longer being used

* first impression is bug stab now

* set updates from the randscord

* Update /randbats to gen 9

* Add Tera Type to /randbats output

* things to do with steel

* Update data/random-teams.ts

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

* Update data/random-teams.ts

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

* Update data/random-teams.ts

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

* Update data/random-teams.ts

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

* Update data/random-teams.ts

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

* Apply suggestions from code review

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

* Move Battle Factory and BSS Factory to mods/gen8 folder

* Remove gen8 factory sets test

* Copy over random-sets.json when building

* add missing heatran-based incompatibility

* fix sableye not always getting Recover

* set updates

* start movin' cap 1v1

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

* finish movin' cap 1v1

* Update random-battles.ts

* Update random-teams.ts

* Update random-teams.ts

Co-authored-by: livid washed <liuc.kelvin9901@hotmail.com>
Co-authored-by: livid washed <115855253+livid-washed@users.noreply.github.com>
Co-authored-by: Alexander B <4866817+MathyFurret@users.noreply.github.com>
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2022-12-13 17:56:29 -07:00
Karthik
fd1fa2b53d
Properly remove Charge after using an Electric move (#9167) 2022-12-12 22:39:27 -06:00
pyuk-bot
eb79405b45
Mark more nonstandard items in Gen 9 (#9144) 2022-12-09 19:14:21 -06:00
Karthik
98544fe5f9
Fix Charge/Wind Abilities (#9113) 2022-12-04 12:53:18 -05:00
pyuk-bot
1a6668b3b0
Fix unobtainable move validation (#9096)
* Fix validation of moves unobtainable in Gen 9

* remove hyphen

* Update data/rulesets.ts

* Shorten unobtainable move rule name

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2022-11-30 23:08:08 -07:00
Kris Johnson
0b53ab2d5a Berry Juice isn't in Gen 9 2022-11-30 20:43:22 -07:00
Leonard Craft III
70cdd5a4cb Pixie Plate is unobtainable 2022-11-29 21:01:06 -06:00
Leonard Craft III
2d4e89d53e Lansat Berry is obtainable 2022-11-29 20:59:01 -06:00
Leonard Craft III
9d207ee288 Mark some Berries as unobtainable 2022-11-27 12:20:46 -06:00
Kris Johnson
f18c8b1dd2 National Dex UU: Unban Hydreigon 2022-11-24 12:06:20 -07:00
Kris Johnson
f50cc6aba3 Fix dexited battle-only formes in past gens 2022-11-23 12:25:36 -07:00
Marty
6fed8728d1 Correct Hisuian Decidueye's HA 2022-11-23 13:49:26 -05:00
Kris Johnson
3cc1cc1d79 Gen 8: Move Indeedee-F to NUBL 2022-11-22 19:22:37 -07:00
Kris Johnson
2d9e83066e Fix Caterpie line and Cramorant forme legality 2022-11-18 23:37:53 -07:00
Kris Johnson
fd7155841c
Fix various forme and move legality (#9013) 2022-11-18 22:17:09 -08:00
Kris Johnson
d50c8c249b
Add Gen 9 (#8997) 2022-11-17 20:46:29 -05:00