[Hotfix] Allow to hatch pokemon with Hidden Ability again (#3222)
This commit is contained in:
parent
8aa3babf39
commit
f5101308fe
|
@ -212,7 +212,7 @@ export class Egg {
|
|||
let abilityIndex = undefined;
|
||||
if (pokemonSpecies.abilityHidden && (this._overrideHiddenAbility
|
||||
|| (this._sourceType === EggSourceType.SAME_SPECIES_EGG && !Utils.randSeedInt(SAME_SPECIES_EGG_HA_RATE)))) {
|
||||
abilityIndex = pokemonSpecies.ability2 ? 2 : 1;
|
||||
abilityIndex = 2;
|
||||
}
|
||||
|
||||
// This function has way to many optional parameters
|
||||
|
|
Loading…
Reference in New Issue