From 02cba0f7410e96bc6c1ab57c0950886e3cd74623 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Thu, 9 May 2024 19:59:21 -0400 Subject: [PATCH 1/2] Add temporary triple shiny chance --- 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 9f3ed3f3058..07933d660c7 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -1053,8 +1053,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-12')) + shinyThreshold.value *= 3; this.scene.applyModifiers(ShinyRateBoosterModifier, true, shinyThreshold); + } } else shinyThreshold.value = thresholdOverride; From 2bc1cfb0fc9e7364a71e6290704bb52d534fb38c Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Thu, 9 May 2024 20:16:29 -0400 Subject: [PATCH 2/2] Extend the temporary shiny chance increase by 1 day --- src/field/pokemon.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index 07933d660c7..52378a284b4 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -1054,7 +1054,7 @@ 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('2024-05-12')) + if (new Date() < new Date('2024-05-13')) shinyThreshold.value *= 3; this.scene.applyModifiers(ShinyRateBoosterModifier, true, shinyThreshold); }