mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-29 16:54:56 +02:00
Fix protean change with struggle
This commit is contained in:
parent
2987cbb177
commit
390d8086dd
@ -2024,7 +2024,7 @@
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
'Protean Ability:
|
'Protean Ability:
|
||||||
If p.Ability.Name.ToLower() = "protean" Then
|
If p.Ability.Name.ToLower() = "protean" AndAlso moveUsed.ID <> 165 Then ''165 = Struggle
|
||||||
If p.Type1.Type <> moveUsed.Type.Type OrElse p.Type2.Type <> Element.Types.Blank Then
|
If p.Type1.Type <> moveUsed.Type.Type OrElse p.Type2.Type <> Element.Types.Blank Then
|
||||||
If p.OriginalType1 Is Nothing Then
|
If p.OriginalType1 Is Nothing Then
|
||||||
p.OriginalType1 = New Element(p.Type1.Type)
|
p.OriginalType1 = New Element(p.Type1.Type)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user