Add temporary double wild shiny chance

battle-stats
Flashfyre 2024-04-26 19:57:38 -04:00
parent e475d566b6
commit 4607782578
1 changed files with 4 additions and 1 deletions

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;