mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-26 17:29:30 +02:00
fix shiny luck change
bozo
This commit is contained in:
parent
789df4467d
commit
85fe14ef6a
@ -1568,6 +1568,11 @@ export class EncounterPhase extends BattlePhase {
|
|||||||
}
|
}
|
||||||
if (this.scene.currentBattle.waveIndex == 1) {
|
if (this.scene.currentBattle.waveIndex == 1) {
|
||||||
LoggerTools.logPlayerTeam(this.scene)
|
LoggerTools.logPlayerTeam(this.scene)
|
||||||
|
if (this.scene.gameMode.modeId == GameModes.DAILY && this.scene.disableDailyShinies) {
|
||||||
|
this.scene.getParty().forEach(p => {
|
||||||
|
p.species.luckOverride = 0; // Disable shiny luck for party members
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
LoggerTools.resetWaveActions(this.scene, undefined, true)
|
LoggerTools.resetWaveActions(this.scene, undefined, true)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user