From 48fbc571cd54a30e681d9f4034597ba7ea06b686 Mon Sep 17 00:00:00 2001 From: RedstonewolfX <108761527+RedstonewolfX@users.noreply.github.com> Date: Mon, 26 Aug 2024 13:09:57 -0400 Subject: [PATCH] Update modifier-type.ts --- src/modifier/modifier-type.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modifier/modifier-type.ts b/src/modifier/modifier-type.ts index 406e3e7a651..36f991fcd7d 100644 --- a/src/modifier/modifier-type.ts +++ b/src/modifier/modifier-type.ts @@ -2223,7 +2223,7 @@ export class ModifierTypeOption { } export function getPartyLuckValue(party: Pokemon[]): integer { - if (party[0].scene.gameMode.modeId === GameModes.DAILY) { + if (party[0].scene.gameMode.isDaily) { return 0; } const luck = Phaser.Math.Clamp(party.map(p => p.isFainted() ? 0 : p.getLuck())