Commit Graph

75 Commits

Author SHA1 Message Date
ACakeWearingAHat
dea9fbc875
Randomized format set updates (#9926)
* Randomized format set updates

* lint

* lint 2

* doubles stuff

* more changes

* combine level updates to this pr

* missed wug change

* Add chillysight slowking set 3

---------

Co-authored-by: Kelvin Liu <115855253+livid-washed@users.noreply.github.com>
2023-12-01 00:08:13 -07:00
Kris Johnson
b43fb07a54 Add December 2023 OMotM/RoA Spotlight 2023-12-01 00:07:24 -07:00
pyuk-bot
1dfb40558b
Challenge Cup: Fix inheriting from prevo movepools (#9904)
* Challenge Cup: Fix prevo movepool inheritance

* Fix indentation

* Simplify learnsetSpecies id reference
2023-11-20 12:39:58 -07:00
Kris Johnson
433861e81a Gen 6-8: Make Pikachu's tiers consistent 2023-11-17 17:12:15 -07:00
Kris Johnson
55a38d445e Add proper ZU support for old gens 2023-11-17 13:59:18 -07:00
adrivrie
4bf3ee7c2c
Random Battles: October 2023 level balancing (#9879)
* Random Battles: October 2023 level balancing

* Random Battles: Arceus balance that did not go through last month
2023-11-04 13:37:10 -05:00
ACakeWearingAHat
1ce14c8f5b
Randomized format set updates (#9860)
* Ranodmized format set updates

* oopsie rolenames

* Update data/random-teams.ts

Co-authored-by: livid washed <115855253+livid-washed@users.noreply.github.com>

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

Co-authored-by: livid washed <115855253+livid-washed@users.noreply.github.com>

* Update random-teams.ts

* Update random-teams.ts

* more changes

* fix

* more changes while we wait

---------

Co-authored-by: livid washed <115855253+livid-washed@users.noreply.github.com>
2023-10-31 10:13:45 -06:00
Kris Johnson
86ceaf750a Rework Godly Gift 2023-10-21 22:45:23 -06:00
livid washed
cb3935aabc
Revamp [Gen 5] Random Battle (#9822)
* Preserve Gen 4 rands

* Set up move arrays

* Create framework for new system

* Remove some gen 6 stuff

* Implement Spinner role code

* make Priority Pokemon work

* Fix castform level

* Remove random-data.json

* Remove more gen 6 abilities

* Treat Nature Power like eq

* More gen 6 removing

* knockoff nostab

* Prioritise non-speed setup moves on setup roles

* Enforce recovery on Spinner

* Bisharp blackglasses

* Add comment re. Nature Power

* Remove duplicate comment

* Update tests for gen 5

* Add tests

* fix some things in json file

* formatting

* fill out random-teams

* adjustments

* remove roost raptor

* pt psychic celebi set 1

* lint

* nostab chatter

* Expert Belt conditions

* Fix some incompatibilities

* Item generation

* Formatting

* fix Unaware Clefable

* Refactor some items

* Remove unnecessary code

* Prevent tinted lens night shade noctowl

* Thundurus

* reun

* Pressure tomb

* remove gen 6 setup moves

---------

Co-authored-by: ACakeWearingAHat <45981036+ACakeWearingAHat@users.noreply.github.com>
2023-10-06 19:58:51 -06:00
adrivrie
11e5a9c72c
Random Battles: September 2023 level balancing (#9809) 2023-09-29 18:03:49 -05:00
Kris Johnson
e00a86fc15 Undexit evolution items 2023-09-21 22:27:35 -06:00
Kris Johnson
5b4050d10f Illuminate acts like Keen Eye 2023-09-21 22:17:40 -06:00
Leonard Craft III
31fbc87450
Fix Heatproof's modifier location (#9782) 2023-09-15 13:46:02 -04:00
Kris Johnson
6bb3879e3a
Add Teal Mask DLC data (#9762)
Co-authored-by: Karthik99999 <bandagondak0217@gmail.com>
Co-authored-by: smudgerox <smudgerox@users.noreply.github.com>
Co-authored-by: Leonard Craft III <leonardcraft64@gmail.com>
Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>
Co-authored-by: Karthik <32044378+Karthik99999@users.noreply.github.com>
2023-09-13 21:08:01 -04: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
adrivrie
51913fb51a
Gen 8 BSS Factory: Remove type limits in monotype (#9757) 2023-09-10 20:37:28 -05:00
adrivrie
30c61a8905
Gen 8 BSS Factory: Implement proper sampling (#9754) 2023-09-08 18:37:13 -05:00
adrivrie
270af29d32
Random Battles: August 2023 level balancing (#9738)
* Random Battles: August 2023 level balancing

* minor tentacruel fix
2023-08-31 22:20:30 -06:00
livid washed
9813dd5509
Past Gens Random Battles: Fix appearance rate of Pokemon with multiple formes (#9708) 2023-08-13 21:54:00 -05:00
ACakeWearingAHat
118d114bd1
Revamp [Gen 7] Random Battle (#9692)
* Create framework for Gen 7 rands revamp

* Shuffle moves and deal with Z-Conversion Porygon-Z

* Add isDoubles as a input for STAB enforcement

* Undo previous

* Move gen 7 doubles code to a separate file

* fill out moves

* revamp abilities

* minor moveset updates

* prevent technician alolan persian

* mostly linting

* Revamp setup moves

* Male Greninja

* Further clean up Setup lists

* More Z-move stuff

* Tweak move and ability incompatibilities

* enforce shadow sneak on kecleon

* Add Geomancy to setup and prevent evasion abilities by default

* items

* more minor set updates

* linting

* add more z-move users

* soundproof kommonium clanger

* rockium kabutops

* Weak Armor adjustments + some syntax

* refactor and fix /setodds and /randbats and /randdubs

* improve item generation code

* Allow plot sucker houndoom

* Allow Power Construct on Zygarde and homogenize gen 6 ability generation code

* Don't apply new noSTAB list to gen 7 doubles

* Fix -ate abilities

* comment

* Rework shed skin a bit

* Abilities tweaking/simplifying

* simplify Magnet Pull, since Probopass always has earth power

* Enforce U-turn on some Bug types

* Rework specific ability rejections into enforcements

* Prevent Oblivious on Pokemon with no Status moves, since infatuation doesn't exist

* Remove unnecessary item generation code

* Remove Petaya Berry from HP EVs adjustments

* prevent scarf lanturn

* scarf physical changes

diggersby/medicham

* Give Genesect-Douse its level

* Bug fixes and minor set changes

* Split raichu-alola

* Remove unnecessary preferred types

* Don't enforce HP flying on flying types

* make 4 atks jirachi av

* Actually give Jirachi AV and prevent swift swim kingdra with focus energy

* remove another unnecessary ptype

* Drain Punch/CC incompatibility

* Enforce recovery on support Mew

* Prevent Life Orb with Sturdy

* add preferred type(s) to /randbats for gen7

* lint

* forgot semicolon oops

* Remove kangaskhan PT

* Fix u-turn enforcement

* Enforce recovery on Volbeat

* Don't give Honchkrow Black Glasses

* Setup Solgaleo should get Weakness Policy

* Add Bulk Up to guts hariyama

* make Kingler setup sweeper

* Stoutland set update

* Prevent Sash Mismagius and double fire move Volcarona

* Prevent Choice Scarf on Wallbreaker

* Enforce recovery on Ledian

* Remove Ice Beam from Absol-Mega

* Adjust Seviper PTs

* PT normal Heliolisk

* Add PUP to nostab

* Future-proof Nihilego's SpD EVs in case of level changes/Hidden Power IVs

* Change Shaymin PT to Flying

* Prevent lead Focus Sash with Defog or Regenerator

* Remove unnecessary condition for sash

* Move pivotingMoves to the top

* Support Max Move Count tests for gens 7 and 9

* Move general incompatibilites to incompatiblePairs array

* Create a type for roles

* Make Gen 7 no longer inherit from Gen 7 doubles

* Remove unnecessary hardcode

* Remove now unnecessary code (after doubles/singles separation)

* Move hardcodes into incompatiblePairs array

* Split ability enforcement into species and non/species conditions, and fix up some minor things

* Convert ability enforcements that only apply to one Pokemon to species-based

* Update server/chat-plugins/randombattles/index.ts

Co-authored-by: Mia <49593536+mia-pi-git@users.noreply.github.com>

* Update server/chat-plugins/randombattles/index.ts

Co-authored-by: Mia <49593536+mia-pi-git@users.noreply.github.com>

* Update random-teams.ts

* make types for role and preferredType explicit in function definitions

* Update test/random-battles/gen7.js

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* finish snake casing the gen 7 file

* snake case gen 8, hopefully

* Update random-teams.ts

* lint please

* missed a snake

* Fix an incompatibility

* Add types for randomSets

* Simplify /randbats data retrival for Gen 7 random doubles

* Further simplify gen 7 randdubs command

---------

Co-authored-by: livid washed <115855253+livid-washed@users.noreply.github.com>
Co-authored-by: adrivrie <adriaan.de.vries@hotmail.com>
Co-authored-by: Mia <49593536+mia-pi-git@users.noreply.github.com>
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2023-08-10 12:09:09 -06:00
Kris Johnson
3b882f4f19 Add August 2023 OMotM/RoA Spotlight 2023-07-31 21:51:02 -06:00
adrivrie
b70d147111
Random Battles: July 2023 level balancing (#9685) 2023-07-30 23:20:52 -05:00
Kris Johnson
23da2a94fe Update Bonus Type Rule for Gen 9 2023-07-28 23:04:52 -06:00
livid washed
457867cb35
Monotype Random Battles: adjust type combination limit (#9656) 2023-07-17 17:59:31 -05:00
livid washed
bbc75aff35
Random Battles: Improve ability generation (#9642) 2023-07-12 19:41:01 -05:00
Karthik
274264ebee
Gen 9: Reveal Arceus forme in Team Preview (#9610) 2023-06-19 20:57:33 -04:00
Kris Johnson
f6e1cfe19e
Refactor Ash-Greninja (#9606) 2023-06-18 22:51:02 -05:00
Kris Johnson
bf2bf13a03 Transistor is a 1.3x multiplier 2023-06-03 20:07:52 -06:00
Kris Johnson
b04b3d7eb0
Add Pokemon HOME 3.0.0 changes (#9573)
* Add Pokemon HOME 3.0.0 changes

* oop

* a

* OWOWOWOWOWWO
2023-05-30 09:08:02 -06:00
livid washed
0709150b3c
Gen 8/9 Random Battle: Remove tier limits (#9560)
* Gen 8 Random Battle: remove tier limits

* Gen 9 Random Battle: remove commented out tier limits
2023-05-14 15:03:22 -06:00
Kris Johnson
8f821d185a Tier Shift: Fix buffs for old gens 2023-04-27 20:03:45 -06:00
livid washed
b17aae9aa5
Old Gens Random Battles: allow battle only formes to generate in Monotype battles (#9490) 2023-04-10 16:58:51 -05:00
Leonard Craft III
156a39405f
Refactor some move lists to move flags (#9396) 2023-03-18 22:21:00 -05:00
livid washed
1a77d861ac
Old Gens Random Battles updates (#9460)
* Gen 8 Random Doubles Battles updates

* Gen 3: Remove Confuse Ray from Corsola

* Gen 6: enforce Poison STAB (same condition as gen 7)

* Gen 6 set changes

* Gen 6-7 set changes

* Gen 7: tweak Pikachu and Gyro Ball IVs
2023-03-12 13:43:46 -07: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
adrivrie
1031bea203
Hackmons Cup: Stop banning all natures when there are custom bans (#9440)
* Hackmons Cup: Stop banning all natures when there are custom bans

* remove logging

* linter
2023-03-05 17:06:57 -07:00
Kris Johnson
11137d8cd4 Remaining Pokemon SV 1.2.0 personal data changes 2023-02-28 19:13:14 -07:00
Kris Johnson
5a24d69867
Add new Pokemon (#9420) 2023-02-27 16:53:57 -05:00
adrivrie
17b90172a3
Gen 8 BF/BSSF updates (#9405)
* Gen8 BF: illegal mareanie set

* Gen8 BF: clefairy nature

* Gen8 BSSF: small iv/ev optimizations

* Gen8 BSSF: small iv/ev optimizations
2023-02-19 20:11:14 -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
cac12006b0
BDSP Random Battles updates (#9358)
* Changes on the pinned list

* Implement other changes

* linting

* 3 Special attacks + U-Turn = Choice

* Toxic Orb if Quick Feet

* Tauros should get Life Orb and Sheer Force

* Add Quick Feet rejection condition

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

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2023-01-31 13:42:40 -07:00
sexy90gxebattlefactoryplayer
5cbb317a4c
Gen 8 Battle Factory: Remove Darmanitan-Galar's Choice Band set (#9354)
* Gen 8 Battle Factory: Remove Band set from Ubers Darmanitan-Galar 

Credentials: https://cdn.discordapp.com/attachments/1042959218208157696/1067534457160089731/image.png (i am "lost wind's elegy")

Darm-G's firepower is just fine with scarf; there aren't many (if any?) relevant 1hkos or 2hkos you miss out on compared to band. The only one I can think of is missing out on the OHKO vs Sp. Def Necrozma Dusk Mane, and nobody's leaving their NDM in anyway + you probably have like 12 other things to deal with it.

Without scarf, however, you miss out on really good source of offensive checking and revenge killing potential. Scarf outspeeds huge threats like non scarf Yveltal, Eternatus, Calyrex-Shadow, etc. 

What sparks had to say about band darm in proper SS Ubers:
sparks — Today at 1:53 PM
not really but with band building needs to be more focused cos the speed over the 90s and etern etc is insane with scarf

sparks — Today at 1:54 PM
while with band you're very much focused on "how to take out ndm and capitalize while not being weak to ho"

As a secondary factor, it would make Ubers in BF a lot better. Currently you have to not only win the coinflip of what move Darm clicks but also the coinflip of what item it is. Both of these are more or less up to random chance.

* Update data/mods/gen8/factory-sets.json

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2023-01-31 13:42:14 -07:00
livid washed
67ad24b364
Gen 2-4 Random Battles updates (#9364) 2023-01-29 19:09:30 -06:00
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