Fix egg shiny variant generation

pull/309/head
Flashfyre 2024-04-26 15:38:06 -04:00
parent 8cff0780d3
commit 933f547e96
1 changed files with 1 additions and 0 deletions

View File

@ -416,6 +416,7 @@ export class EggHatchPhase extends Phase {
}
ret.trySetShiny(this.egg.gachaType === GachaType.SHINY ? 1024 : 512);
ret.variant = ret.shiny ? ret.generateVariant() : 0;
const secondaryIvs = Utils.getIvsFromId(Utils.randSeedInt(4294967295));