mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-31 05:07:11 +00:00
Fix Legendary egg gacha pulling in boosted rates for unobtainable species
This commit is contained in:
parent
60260faaa4
commit
19fec88daa
@ -92,7 +92,8 @@ export function getEggGachaTypeDescriptor(scene: BattleScene, egg: Egg): string
|
||||
export function getLegendaryGachaSpeciesForTimestamp(scene: BattleScene, timestamp: integer): Species {
|
||||
const legendarySpecies = Object.entries(speciesStarters)
|
||||
.filter(s => s[1] >= 8 && s[1] <= 9)
|
||||
.map(s => parseInt(s[0]));
|
||||
.map(s => parseInt(s[0]))
|
||||
.filter(s => getPokemonSpecies(s).isObtainable());
|
||||
|
||||
let ret: Species;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user