mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-06-30 18:44:50 +02:00
Don't scale randomness of level 0 by difficulty
This commit is contained in:
parent
3a4535dd57
commit
e74ff7cc50
@ -143,17 +143,10 @@ Namespace BattleSystem
|
||||
Ready = True
|
||||
End If
|
||||
End While
|
||||
If Core.Player.DifficultyMode = 0 Then
|
||||
'Chance of 35% that the trainer is using a random move:
|
||||
If Core.Random.Next(0, 100) < 35 Then
|
||||
Return ProduceOppStep(m, OppAttackChoice)
|
||||
End If
|
||||
ElseIf Core.Player.DifficultyMode = 1 Then
|
||||
'Chance of 18% that the trainer is using a random move:
|
||||
If Core.Random.Next(0, 100) < 18 Then
|
||||
Return ProduceOppStep(m, OppAttackChoice)
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
|
||||
'-------------------------------------Switching-----------------------------------------------------------------------------------'
|
||||
|
Loading…
x
Reference in New Issue
Block a user