From f0ac060466039c4bb656af5e5e416cc7df7907aa Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Fri, 19 Apr 2024 19:49:58 -0400 Subject: [PATCH] Add temporary shiny rate increase for event --- 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 83cd9f066..6cbbcd0d0 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -986,8 +986,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('4/22/2024')) + shinyThreshold.value *= 3; this.scene.applyModifiers(ShinyRateBoosterModifier, true, shinyThreshold); + } } else shinyThreshold.value = thresholdOverride;