Add temporary double wild shiny chance

This commit is contained in:
Flashfyre 2024-04-26 19:57:38 -04:00
parent e475d566b6
commit 4607782578

View File

@ -997,8 +997,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/29/2024'))
shinyThreshold.value *= 2;
this.scene.applyModifiers(ShinyRateBoosterModifier, true, shinyThreshold);
}
} else
shinyThreshold.value = thresholdOverride;