Fix Legendary egg gacha pulling in boosted rates for unobtainable species
parent
60260faaa4
commit
19fec88daa
|
@ -92,7 +92,8 @@ export function getEggGachaTypeDescriptor(scene: BattleScene, egg: Egg): string
|
||||||
export function getLegendaryGachaSpeciesForTimestamp(scene: BattleScene, timestamp: integer): Species {
|
export function getLegendaryGachaSpeciesForTimestamp(scene: BattleScene, timestamp: integer): Species {
|
||||||
const legendarySpecies = Object.entries(speciesStarters)
|
const legendarySpecies = Object.entries(speciesStarters)
|
||||||
.filter(s => s[1] >= 8 && s[1] <= 9)
|
.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;
|
let ret: Species;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue