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
1 changed files with 3 additions and 10 deletions

View File

@ -143,16 +143,9 @@ 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
'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
End If