mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-04-08 18:35:09 +02:00
Fix crash damage not happening when blocked
This commit is contained in:
parent
6ca5a5442c
commit
e47f20ef35
@ -2036,6 +2036,7 @@
|
||||
|
||||
If protectWorks = True Then
|
||||
BattleScreen.BattleQuery.Add(New TextQueryObject(op.GetDisplayName() & " protected itself!"))
|
||||
moveUsed.MoveProtectedDetected(own, BattleScreen)
|
||||
Exit Sub
|
||||
End If
|
||||
End If
|
||||
@ -2054,6 +2055,7 @@
|
||||
|
||||
If detectWorks = True Then
|
||||
BattleScreen.BattleQuery.Add(New TextQueryObject(op.GetDisplayName() & " protected itself!"))
|
||||
moveUsed.MoveProtectedDetected(own, BattleScreen)
|
||||
Exit Sub
|
||||
End If
|
||||
End If
|
||||
@ -2076,7 +2078,7 @@
|
||||
If moveUsed.MakesContact = True Then
|
||||
Me.LowerStat(own, Not own, BattleScreen, "Attack", 1, "", "move:kingsshield")
|
||||
End If
|
||||
|
||||
moveUsed.MoveProtectedDetected(own, BattleScreen)
|
||||
Exit Sub
|
||||
End If
|
||||
End If
|
||||
|
Loading…
x
Reference in New Issue
Block a user