mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-21 17:12:44 +02:00
Apply Biome
This commit is contained in:
parent
1511d4b3ce
commit
5f0c0a793c
@ -2790,11 +2790,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
|||||||
if (timedEventManager.isEventActive()) {
|
if (timedEventManager.isEventActive()) {
|
||||||
shinyThreshold.value *= timedEventManager.getShinyMultiplier();
|
shinyThreshold.value *= timedEventManager.getShinyMultiplier();
|
||||||
}
|
}
|
||||||
globalScene.applyModifiers(
|
globalScene.applyModifiers(ShinyRateBoosterModifier, true, shinyThreshold);
|
||||||
ShinyRateBoosterModifier,
|
|
||||||
true,
|
|
||||||
shinyThreshold,
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.shiny = randSeedInt(65536) < shinyThreshold.value;
|
this.shiny = randSeedInt(65536) < shinyThreshold.value;
|
||||||
|
Loading…
Reference in New Issue
Block a user