Add temporary double wild shiny chance
parent
e475d566b6
commit
4607782578
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue