Add temporary triple shiny chance
This commit is contained in:
parent
dc9026f583
commit
02cba0f741
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue