Don't scale randomness of level 0 by difficulty

This commit is contained in:
JappaWakka 2024-12-25 11:18:29 +01:00
parent 3a4535dd57
commit e74ff7cc50

View File

@ -143,16 +143,9 @@ Namespace BattleSystem
Ready = True Ready = True
End If End If
End While End While
If Core.Player.DifficultyMode = 0 Then 'Chance of 35% that the trainer is using a random move:
'Chance of 35% that the trainer is using a random move: If Core.Random.Next(0, 100) < 35 Then
If Core.Random.Next(0, 100) < 35 Then Return ProduceOppStep(m, OppAttackChoice)
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
End If End If