tie event to UTC

correct time
This commit is contained in:
LaukkaE 2024-05-21 15:08:03 +03:00
parent 3fd1ecf6a7
commit 1ec79c004c

View File

@ -1127,7 +1127,7 @@ 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(2024, 4, 21, 20))
if (new Date() < new Date(Date.UTC(2024, 4, 22, 0)))
shinyThreshold.value *= 3;
this.scene.applyModifiers(ShinyRateBoosterModifier, true, shinyThreshold);
}