From 5bb423810cb0b9f60c306b890c5ebd0d06d0582f Mon Sep 17 00:00:00 2001 From: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com> Date: Tue, 17 Jun 2025 13:06:10 -0500 Subject: [PATCH] Fix improper simulated check in moody's apply method --- src/data/abilities/ability.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/data/abilities/ability.ts b/src/data/abilities/ability.ts index 79295b2325d..07897c9f919 100644 --- a/src/data/abilities/ability.ts +++ b/src/data/abilities/ability.ts @@ -4722,17 +4722,12 @@ export class MoodyAbAttr extends PostTurnAbAttr { } /** * Randomly increases one stat stage by 2 and decreases a different stat stage by 1 - * @param {Pokemon} pokemon Pokemon that has this ability - * @param _passive N/A - * @param simulated true if applying in a simulated call. - * @param _args N/A - * * Any stat stages at +6 or -6 are excluded from being increased or decreased, respectively * If the pokemon already has all stat stages raised to 6, it will only decrease one stat stage by 1 * If the pokemon already has all stat stages lowered to -6, it will only increase one stat stage by 2 */ override apply({ pokemon, simulated }: AbAttrBaseParams): void { - if (!simulated) { + if (simulated) { return; } const canRaise = EFFECTIVE_STATS.filter(s => pokemon.getStatStage(s) < 6);