mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-25 08:16:04 +00:00
Add temporary double wild shiny chance
This commit is contained in:
parent
e475d566b6
commit
4607782578
@ -997,8 +997,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('4/29/2024'))
|
||||
shinyThreshold.value *= 2;
|
||||
this.scene.applyModifiers(ShinyRateBoosterModifier, true, shinyThreshold);
|
||||
}
|
||||
} else
|
||||
shinyThreshold.value = thresholdOverride;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user