From 7f9db1154303282d2eca2336b30bbc763e79a890 Mon Sep 17 00:00:00 2001 From: Yentis Date: Sat, 18 May 2024 00:41:31 +0200 Subject: [PATCH] fix overwritten change --- src/field/pokemon.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index 69cda81a6a7..5a09adfad9e 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -1112,8 +1112,11 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container { let shinyThreshold = new Utils.IntegerHolder(32); if (thresholdOverride === undefined) { - if (!this.hasTrainer()) + if (!this.hasTrainer()) { + if (new Date() < new Date('2024-05-21')) + shinyThreshold.value *= 3; this.scene.applyModifiers(ShinyRateBoosterModifier, true, shinyThreshold); + } } else shinyThreshold.value = thresholdOverride;