From 5dd017fa30c5e0423b0169881d7b23efbcadb599 Mon Sep 17 00:00:00 2001 From: Matthew Olker Date: Fri, 17 May 2024 18:13:12 -0400 Subject: [PATCH] Begin shiny weekend --- 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 eb08af3da55..0a5e0a6a991 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -1096,8 +1096,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;