Fix moves being able to do 0 damage
This commit is contained in:
parent
96a47d3418
commit
5019a59c0d
|
@ -2152,8 +2152,15 @@
|
||||||
Damage = moveUsed.GetDamage(Critical, own, Not own, BattleScreen)
|
Damage = moveUsed.GetDamage(Critical, own, Not own, BattleScreen)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
If effectiveness <> 0 Then
|
If effectiveness <> 0 Then
|
||||||
|
|
||||||
|
If Damage = 0 Then
|
||||||
|
BattleScreen.BattleQuery.Add(New TextQueryObject("But it failed..."))
|
||||||
|
moveUsed.MoveMisses(own, BattleScreen)
|
||||||
|
effectiveness = 0
|
||||||
|
Exit For
|
||||||
|
End If
|
||||||
|
|
||||||
Dim sturdyWorked As Boolean = False
|
Dim sturdyWorked As Boolean = False
|
||||||
|
|
||||||
If substitute = 0 Then
|
If substitute = 0 Then
|
||||||
|
|
Loading…
Reference in New Issue