mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-11 22:29:52 -05:00
parent
f51e3673da
commit
27cce4dcd2
|
|
@ -380,6 +380,10 @@ private static IEnumerable<RibbonResult> GetInvalidRibbons8Any(PKM pkm, IRibbonS
|
|||
bool hasChampMemory = (pkm.Format == 8 && pkm.HT_Memory == memChampion) || (pkm.Gen8 && pkm.OT_Memory == memChampion);
|
||||
if (hasChampMemory && !s8.RibbonChampionGalar)
|
||||
yield return new RibbonResult(nameof(s8.RibbonChampionGalar));
|
||||
|
||||
// Legends cannot compete in Ranked, thus cannot reach Master Rank and obtain the ribbon.
|
||||
if (s8.RibbonMasterRank && Legal.Legends.Contains(pkm.Species))
|
||||
yield return new RibbonResult(nameof(s8.RibbonMasterRank));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user