예제 #1
0
 private static void AddEdgeCaseMoves(List <int> moves, IEncounterable encounter, PKM pkm)
 {
     switch (encounter)
     {
     case EncounterStatic8N r when !EncounterStatic8N.IsHighestLevelTier(pkm.Met_Level) && r.IsDownLeveled(pkm):     // Downleveled Raid can happen for shared raids and self-hosted raids.
         moves.AddRange(MoveLevelUp.GetMovesLevelUp(pkm, r.Species, -1, -1, r.LevelMax, r.Form, GameVersion.SW, false, 8));
         break;
     }
 }
예제 #2
0
 private static void AddEdgeCaseMoves(List <int> moves, IEncounterable encounter, PKM pkm)
 {
     switch (encounter)
     {
     case EncounterStatic8N r when pkm.Met_Location == Encounters8Nest.SharedNest && !EncounterStatic8N.IsHighestLevelTier(pkm.Met_Level):
         moves.AddRange(MoveLevelUp.GetMovesLevelUp(pkm, r.Species, -1, -1, 60, r.Form, GameVersion.SW, false, 8));
         break;
     }
 }