New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Cud Chew crash #9175
Merged
Merged
Fix Cud Chew crash #9175
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks Karthik! |
Lord-Felidae
added a commit
to Lord-Felidae/pokemon-showdown
that referenced
this pull request
Dec 14, 2022
commit d895171 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Wed Dec 14 16:10:58 2022 -0700 Appease linter commit abc46f2 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Wed Dec 14 16:04:17 2022 -0700 Fix missed instance commit 0d16603 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Wed Dec 14 15:57:08 2022 -0700 Add updated OM support commit 36ef8dc Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Wed Dec 14 14:52:37 2022 -0700 Update CODEOWNERS commit 0d23f25 Author: ACakeWearingAHat <45981036+ACakeWearingAHat@users.noreply.github.com> Date: Wed Dec 14 15:51:38 2022 -0600 Random Battle fixes (smogon#9178) * Random Battle ability fixes * lint * rotom wash does not learn pain split * prevent life orb + speed boosting attacks * set updates * random-teams updates * couple extra changes * add quag teras * give heatran some teras * allow insomnia spidops with no attacks while still preventing it on banette, and having insurance in case something goes wrong with honchkrow * fix galarian slowking * prevent leads w booster energy, zacian, zamazenta commit 0f971b0 Author: Alexander B <4866817+MathyFurret@users.noreply.github.com> Date: Wed Dec 14 13:48:06 2022 -0600 Update /setodds and /randbats (smogon#9181) commit d8720e6 Author: Alexander B <4866817+MathyFurret@users.noreply.github.com> Date: Wed Dec 14 13:44:46 2022 -0600 Update randomized formats (smogon#9184) * Update randomized formats * Delete/hide more stuff * Fix Mayhem * copy error * oops ! Co-authored-by: Karthik <32044378+Karthik99999@users.noreply.github.com> Co-authored-by: Karthik <32044378+Karthik99999@users.noreply.github.com> commit 0e6ba79 Author: Alexander B <4866817+MathyFurret@users.noreply.github.com> Date: Tue Dec 13 21:45:37 2022 -0600 Fix Cloud Nine message (smogon#9177) commit 2bc2100 Author: pyuk-bot <msaimrkon@gmail.com> Date: Tue Dec 13 21:43:52 2022 -0600 Make -Ate abilities share a ...Boosted property (smogon#9174) commit 9b8ff87 Author: pyuk-bot <msaimrkon@gmail.com> Date: Tue Dec 13 21:37:41 2022 -0600 Fix Copycat Dancer interaction, take 2 (smogon#9176) commit 4ea88ea Author: Karthik <32044378+Karthik99999@users.noreply.github.com> Date: Tue Dec 13 22:31:43 2022 -0500 Fix Cud Chew crash (smogon#9175) commit 686a020 Author: ACakeWearingAHat <45981036+ACakeWearingAHat@users.noreply.github.com> Date: Tue Dec 13 18:56:29 2022 -0600 Implement Gen 9 Random Battle (smogon#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> commit 88a519f Author: Adam Tran <aviettran@gmail.com> Date: Tue Dec 13 14:39:21 2022 -0500 Revert "Fix Copycat Dancer interaction (smogon#9155)" (smogon#9171) commit fff008b Author: pyuk-bot <msaimrkon@gmail.com> Date: Tue Dec 13 13:38:16 2022 -0600 Make identical Ruin Abilities not stack (smogon#9164) commit 4a534d9 Author: Marty-D <Marty-D@users.noreply.github.com> Date: Tue Dec 13 13:54:10 2022 -0500 Fix other Gen 9 Draft format legalities commit 0a089fd Author: Gideon <35176230+Glazelf@users.noreply.github.com> Date: Tue Dec 13 19:45:27 2022 +0100 Update Pokedex number order (smogon#9140) commit 34a01d5 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Tue Dec 13 11:07:34 2022 -0600 Thing-of-the-Day: Ensure custom keys can be updated in /-otd set This had a hardcoded list of keys and disallowed any outside of that. This removes the latter part and ensures custom keys get a basic check. commit d5f574d Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Mon Dec 12 23:50:57 2022 -0700 Full Potential: Update bans commit bbc3b0a Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Mon Dec 12 23:26:47 2022 -0700 Fix Paldea Dex Draft legality commit fd1fa2b Author: Karthik <32044378+Karthik99999@users.noreply.github.com> Date: Mon Dec 12 23:39:27 2022 -0500 Properly remove Charge after using an Electric move (smogon#9167) commit 97708b6 Author: Ben Stensen <73726151+benstensen@users.noreply.github.com> Date: Mon Dec 12 23:18:34 2022 -0500 Fix interaction of Transform and entrance Abilities (smogon#9163) commit 80dcc74 Author: Karthik <32044378+Karthik99999@users.noreply.github.com> Date: Mon Dec 12 22:32:19 2022 -0500 Send [eat] kwArg for Cud Chew (smogon#9166) commit 5dd1493 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon Dec 12 21:19:49 2022 -0600 Chat: Ensure onTicketCreate handler always runs commit 7efba39 Author: Leonard Craft III <leonardcraft64@gmail.com> Date: Mon Dec 12 20:03:49 2022 -0600 Add Doubles Ubers ladder (smogon#9165) * Add Doubles Ubers ladder * Update config/formats.ts Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com> commit fcb159b Author: Leonard Craft III <leonardcraft64@gmail.com> Date: Mon Dec 12 18:52:47 2022 -0600 Fix coins text for Pay Day and Make it Rain (smogon#9158) commit 35a34a8 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Mon Dec 12 17:43:10 2022 -0700 Move Flutter Mane and Tatsugiri to DUber https://www.smogon.com/forums/threads/np-sv-dou-stage-0-start-over.3710920/page-4#post-9433371 commit 95d1b92 Author: Adam Tran <aviettran@gmail.com> Date: Mon Dec 12 19:26:58 2022 -0500 Fix Copycat Dancer interaction (smogon#9155) commit f353ff0 Author: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon Dec 12 15:55:45 2022 -0600 Chat: Add a ticket create handler commit 5e9acd2 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Sun Dec 11 23:46:02 2022 -0700 Mix and Mega: Ban Koraidon commit a754a71 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Sun Dec 11 23:45:30 2022 -0700 Monotype: Update bans commit 6b295eb Author: Annika <56906084+AnnikaCodes@users.noreply.github.com> Date: Sun Dec 11 16:09:23 2022 -0800 Don't import Monitor in Chat commit dc29389 Author: livid washed <115855253+livid-washed@users.noreply.github.com> Date: Sun Dec 11 23:31:43 2022 +0100 Gen 1: Actually fix Metronome calling Counter (smogon#9156) * Actually fix Metronome calling Counter * Use set instead of array for lastDamage skipping moves * Add Metronome-Counter test commit 0c97ff4 Author: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com> Date: Sat Dec 10 22:28:25 2022 -0500 Inheritance: Fix Donor Clause (smogon#9154) commit c18a8b1 Author: Marty-D <Marty-D@users.noreply.github.com> Date: Sat Dec 10 18:27:59 2022 -0500 Fix build commit a507181 Author: Marty <Marty-D@users.noreply.github.com> Date: Sat Dec 10 18:19:27 2022 -0500 Gen 5 OU: Add Baton Pass Stat Clause https://www.smogon.com/forums/posts/9396473/ commit a2b281d Author: Alexander B <4866817+MathyFurret@users.noreply.github.com> Date: Sat Dec 10 16:59:52 2022 -0600 Implement Tera + Adaptability STAB (smogon#9138) commit 89d0ff7 Author: kittenchilly <mario.pikmin.zelda@gmail.com> Date: Sat Dec 10 16:59:03 2022 -0600 Update Metronome moves (smogon#9130) commit 381d4e7 Author: pyuk-bot <msaimrkon@gmail.com> Date: Sat Dec 10 16:58:26 2022 -0600 Tell the client how strong Supreme Overlord is (smogon#9125) commit 89a8192 Author: pyuk-bot <msaimrkon@gmail.com> Date: Sat Dec 10 16:56:46 2022 -0600 Update Utility Umbrella mechanics (smogon#9123) commit bd96d82 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Sat Dec 10 15:08:03 2022 -0700 Add Gen 9 Inheritance and Pure Hackmons commit 9fb206f Author: Annika <annika0uwu@gmail.com> Date: Sat Dec 10 16:46:06 2022 -0500 /adminhelp: Fix syntax commit cd75536 Author: Leonard Craft III <leonardcraft64@gmail.com> Date: Sat Dec 10 15:21:26 2022 -0600 Implement Open Team Sheets rule (smogon#9147) commit a09bfc9 Author: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Sat Dec 10 13:17:23 2022 -0700 Account for moves with <60 Base Power when terastallized (smogon#9134)
MathyFurret
pushed a commit
to MathyFurret/pokemon-showdown
that referenced
this pull request
Jan 21, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.