mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-03-29 13:08:44 +00:00
Fix egg shiny variant generation
This commit is contained in:
parent
8cff0780d3
commit
933f547e96
@ -416,6 +416,7 @@ export class EggHatchPhase extends Phase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ret.trySetShiny(this.egg.gachaType === GachaType.SHINY ? 1024 : 512);
|
ret.trySetShiny(this.egg.gachaType === GachaType.SHINY ? 1024 : 512);
|
||||||
|
ret.variant = ret.shiny ? ret.generateVariant() : 0;
|
||||||
|
|
||||||
const secondaryIvs = Utils.getIvsFromId(Utils.randSeedInt(4294967295));
|
const secondaryIvs = Utils.getIvsFromId(Utils.randSeedInt(4294967295));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user