mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-27 07:44:31 +02:00
Stomp bypasses accuracy check for Minimized opp
This commit is contained in:
parent
b3ad6179bb
commit
7cecdce726
@ -1881,6 +1881,15 @@
|
|||||||
DoesNotMiss = True
|
DoesNotMiss = True
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
Dim minimize As Integer = BattleScreen.FieldEffects.OppMinimize
|
||||||
|
If own = False Then
|
||||||
|
minimize = BattleScreen.FieldEffects.OwnMinimize
|
||||||
|
End If
|
||||||
|
|
||||||
|
If minimize > 0 AndAlso moveUsed.Name.ToLower = "stomp" Then
|
||||||
|
DoesNotMiss = True
|
||||||
|
End If
|
||||||
|
|
||||||
'if the target pokemon can't be hit because of a two-turn move (Fly, for example)
|
'if the target pokemon can't be hit because of a two-turn move (Fly, for example)
|
||||||
Dim UseTwoTurnCheck As Boolean = True
|
Dim UseTwoTurnCheck As Boolean = True
|
||||||
If moveUsed.ProtectAffected = False Then
|
If moveUsed.ProtectAffected = False Then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user