mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 20:43:07 +00:00
Update EncountersGO.cs
This commit is contained in:
parent
01c597cba7
commit
3e4d685d37
1 changed files with 2 additions and 20 deletions
|
@ -704,24 +704,6 @@ namespace PKHeX.Core
|
|||
(int)Darkrai,
|
||||
};
|
||||
|
||||
private static readonly HashSet<int> ShinyBan_LGPE = new HashSet<int>
|
||||
{
|
||||
(int)Spearow, (int)Fearow,
|
||||
(int)Paras, (int)Parasect,
|
||||
(int)Slowpoke, (int)Slowbro,
|
||||
(int)Hitmonlee, (int)Hitmonchan,
|
||||
(int)Goldeen, (int)Seaking,
|
||||
(int)Ditto,
|
||||
(int)Snorlax,
|
||||
};
|
||||
|
||||
private static readonly HashSet<int> ShinyBan = new HashSet<int>(ShinyBan_LGPE)
|
||||
{
|
||||
(int)Mew,
|
||||
|
||||
// ??
|
||||
};
|
||||
|
||||
internal static readonly EncounterArea7g[] SlotsGO_GG = EncounterArea7g.GetArea(RequireLevelIV_Raid15_1_LGPE);
|
||||
internal static readonly EncounterArea8g[] SlotsGO = EncounterArea8g.GetArea(MaxSpeciesID_GO_HOME, DisallowedSpecies, ExtraSpecies);
|
||||
|
||||
|
@ -741,7 +723,7 @@ namespace PKHeX.Core
|
|||
if (RequireLevelIV_Egg1_1.Contains(sf) || RequireLevelIV_EggShiny1_1.Contains(sf))
|
||||
return ball == Ball.Poke;
|
||||
|
||||
return ball <= Ball.Ultra;
|
||||
return Ball.Ultra <= ball && ball <= Ball.Poke;
|
||||
}
|
||||
|
||||
internal static int GetMinLevel(int species, int form)
|
||||
|
@ -784,7 +766,7 @@ namespace PKHeX.Core
|
|||
if (pkmBall == Ball.Premier)
|
||||
return false;
|
||||
|
||||
return ShinyBan.Contains(sf);
|
||||
return UnavailableShiny.Contains(sf);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue