Fix protean change with struggle

This commit is contained in:
JappaWakka 2023-03-15 15:39:59 +01:00
parent 2987cbb177
commit 390d8086dd
1 changed files with 1 additions and 1 deletions

View File

@ -2024,7 +2024,7 @@
End If
'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.OriginalType1 Is Nothing Then
p.OriginalType1 = New Element(p.Type1.Type)