mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 23:42:18 +02:00
Re-apply Biome "unsafe" fixes after merge
This commit is contained in:
parent
7b259f4453
commit
89938bea82
@ -1746,17 +1746,15 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
||||
isBaseShiny(useIllusion = false) {
|
||||
if (!useIllusion && this.summonData.illusion) {
|
||||
return !!this.summonData.illusion.basePokemon?.shiny;
|
||||
} else {
|
||||
return this.shiny;
|
||||
}
|
||||
return this.shiny;
|
||||
}
|
||||
|
||||
isFusionShiny(useIllusion = false) {
|
||||
if (!useIllusion && this.summonData.illusion) {
|
||||
return !!this.summonData.illusion.basePokemon?.fusionShiny;
|
||||
} else {
|
||||
return this.isFusion(useIllusion) && this.fusionShiny;
|
||||
}
|
||||
return this.isFusion(useIllusion) && this.fusionShiny;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user