mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-01 11:04:49 +02:00
Don't scale randomness of level 0 by difficulty
This commit is contained in:
parent
3a4535dd57
commit
e74ff7cc50
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user