From 3c8b4550b6441c5041f22d5a3544716a107ff925 Mon Sep 17 00:00:00 2001 From: Madmadness65 Date: Tue, 21 May 2024 18:58:48 -0500 Subject: [PATCH] End shiny event I hope everyone enjoyed the extended shiny event this weekend. --- src/field/pokemon.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index abce327a645..42e36c195de 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -1126,11 +1126,8 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container { let shinyThreshold = new Utils.IntegerHolder(32); if (thresholdOverride === undefined) { - if (!this.hasTrainer()) { - if (new Date() < new Date(Date.UTC(2024, 4, 22, 0))) - shinyThreshold.value *= 3; + if (!this.hasTrainer()) this.scene.applyModifiers(ShinyRateBoosterModifier, true, shinyThreshold); - } } else shinyThreshold.value = thresholdOverride;