mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-30 20:57:13 +00:00
Extend the temporary shiny chance increase by 1 day
This commit is contained in:
parent
02cba0f741
commit
2bc1cfb0fc
@ -1054,7 +1054,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
|||||||
let shinyThreshold = new Utils.IntegerHolder(32);
|
let shinyThreshold = new Utils.IntegerHolder(32);
|
||||||
if (thresholdOverride === undefined) {
|
if (thresholdOverride === undefined) {
|
||||||
if (!this.hasTrainer()) {
|
if (!this.hasTrainer()) {
|
||||||
if (new Date() < new Date('2024-05-12'))
|
if (new Date() < new Date('2024-05-13'))
|
||||||
shinyThreshold.value *= 3;
|
shinyThreshold.value *= 3;
|
||||||
this.scene.applyModifiers(ShinyRateBoosterModifier, true, shinyThreshold);
|
this.scene.applyModifiers(ShinyRateBoosterModifier, true, shinyThreshold);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user