mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-22 13:25:06 +02:00
Fix some things related to pokémon commands
This commit is contained in:
parent
3076bf5bc5
commit
84313dc429
@ -115,7 +115,7 @@
|
||||
End If
|
||||
|
||||
Dim isShiny As Boolean = False
|
||||
If Core.Random.Next(0, P3D.Pokemon.MasterShinyRate) = 0 Then
|
||||
If Core.Random.Next(0, P3D.Pokemon.MasterShinyRate + 1) = 0 Then
|
||||
isShiny = True
|
||||
End If
|
||||
If commas > 7 Then
|
||||
@ -952,7 +952,7 @@
|
||||
End If
|
||||
|
||||
Dim isShiny As Boolean = False
|
||||
If Core.Random.Next(0, P3D.Pokemon.MasterShinyRate) = 0 Then
|
||||
If Core.Random.Next(0, P3D.Pokemon.MasterShinyRate + 1) = 0 Then
|
||||
isShiny = True
|
||||
End If
|
||||
If commas > 7 Then
|
||||
@ -960,7 +960,7 @@
|
||||
End If
|
||||
|
||||
Dim Pokemon As Pokemon = Pokemon.GetPokemonByID(int(PokemonID), PokemonAddition)
|
||||
Pokemon.Generate(Level, True)
|
||||
Pokemon.Generate(Level, True, PokemonAddition)
|
||||
|
||||
Pokemon.CatchTrainerName = catchTrainer
|
||||
Pokemon.OT = Core.Player.OT
|
||||
|
Loading…
x
Reference in New Issue
Block a user