mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-21 22:35:04 -05:00
Fix off-by-one (#2382)
This commit is contained in:
@@ -111,7 +111,7 @@ EncounterSlot GetSlot(int species, int form)
|
||||
027, // Sandshrew
|
||||
028, // Sandslash
|
||||
037, // Vulpix
|
||||
038, // Ninetails
|
||||
038, // Ninetales
|
||||
050, // Diglett
|
||||
051, // Dugtrio
|
||||
052, // Meowth
|
||||
@@ -134,10 +134,10 @@ EncounterSlot GetSlot(int species, int form)
|
||||
|
||||
slots[slots.Length - 2].LevelMin = 20; // Raichu
|
||||
slots[slots.Length - 1].LevelMin = 20; // Marowak
|
||||
slots[(int)Species.Mewtwo].LevelMin = 20;
|
||||
slots[(int)Species.Articuno].LevelMin = 15;
|
||||
slots[(int)Species.Zapdos].LevelMin = 15;
|
||||
slots[(int)Species.Moltres].LevelMin = 15;
|
||||
slots[(int)Species.Mewtwo - 1].LevelMin = 20;
|
||||
slots[(int)Species.Articuno - 1].LevelMin = 15;
|
||||
slots[(int)Species.Zapdos - 1].LevelMin = 15;
|
||||
slots[(int)Species.Moltres - 1].LevelMin = 15;
|
||||
|
||||
area.Slots = slots;
|
||||
return new[] {area};
|
||||
|
||||
Reference in New Issue
Block a user