Skip to content

Commit

Permalink
Add temporary triple shiny chance
Browse files Browse the repository at this point in the history
  • Loading branch information
Flashfyre committed May 9, 2024
1 parent dc9026f commit 02cba0f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/field/pokemon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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-12'))
shinyThreshold.value *= 3;
this.scene.applyModifiers(ShinyRateBoosterModifier, true, shinyThreshold);
}
} else
shinyThreshold.value = thresholdOverride;

Expand Down

0 comments on commit 02cba0f

Please sign in to comment.