End shiny event
I hope everyone enjoyed the extended shiny event this weekend.
This commit is contained in:
parent
bbfb4bb795
commit
3c8b4550b6
|
@ -1126,11 +1126,8 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
|||
|
||||
let shinyThreshold = new Utils.IntegerHolder(32);
|
||||
if (thresholdOverride === undefined) {
|
||||
if (!this.hasTrainer()) {
|
||||
if (new Date() < new Date(Date.UTC(2024, 4, 22, 0)))
|
||||
shinyThreshold.value *= 3;
|
||||
if (!this.hasTrainer())
|
||||
this.scene.applyModifiers(ShinyRateBoosterModifier, true, shinyThreshold);
|
||||
}
|
||||
} else
|
||||
shinyThreshold.value = thresholdOverride;
|
||||
|
||||
|
|
Loading…
Reference in New Issue