Merge pull request #1 from pagefaultgames/main

Update MR
This commit is contained in:
Jason954 2024-05-10 02:39:55 +02:00 committed by GitHub
commit e1ed829f42
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1053,8 +1053,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('2024-05-13'))
shinyThreshold.value *= 3;
this.scene.applyModifiers(ShinyRateBoosterModifier, true, shinyThreshold);
}
} else
shinyThreshold.value = thresholdOverride;