Add temporary triple shiny chance

pull/698/head^2
Flashfyre 2024-05-09 19:59:21 -04:00
parent dc9026f583
commit 02cba0f741
1 changed files with 4 additions and 1 deletions

View File

@ -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;