mirror of
https://github.com/kwsch/pkNX.git
synced 2026-09-10 03:25:11 -05:00
Add Pokémon Legends: Arceus support
.NET5.0 -> .NET6.0 Co-Authored-By: SciresM <8676005+SciresM@users.noreply.github.com>
This commit is contained in:
@@ -255,7 +255,7 @@ private void UpdatePKMFromSettings(TrainerPoke pk)
|
||||
return;
|
||||
|
||||
c.Species = AllowedGigantamaxes[Util.Random.Next(AllowedGigantamaxes.Length)];
|
||||
c.Form = c.Species == (int)Species.Pikachu || c.Species == (int)Species.Meowth ? 0 : RandForm.GetRandomForme(c.Species, false, false, false, false, Personal.Table); // Pikachu & Meowth altforms can't gmax
|
||||
c.Form = c.Species is (int)Species.Pikachu or (int)Species.Meowth ? 0 : RandForm.GetRandomForme(c.Species, false, false, false, false, Personal.Table); // Pikachu & Meowth altforms can't gmax
|
||||
}
|
||||
if (Settings.MaxDynamaxLevel && c.CanDynamax)
|
||||
c.DynamaxLevel = 10;
|
||||
|
||||
Reference in New Issue
Block a user