mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-18 06:12:19 +02:00
tie event to UTC
correct time
This commit is contained in:
parent
3fd1ecf6a7
commit
1ec79c004c
@ -1127,7 +1127,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, 4, 21, 20))
|
if (new Date() < new Date(Date.UTC(2024, 4, 22, 0)))
|
||||||
shinyThreshold.value *= 3;
|
shinyThreshold.value *= 3;
|
||||||
this.scene.applyModifiers(ShinyRateBoosterModifier, true, shinyThreshold);
|
this.scene.applyModifiers(ShinyRateBoosterModifier, true, shinyThreshold);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user