mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-28 16:24:45 +02:00
Fix for Protean Ability not resetting
This commit is contained in:
parent
89d074e1e5
commit
ffdc28dd85
@ -2007,8 +2007,10 @@
|
|||||||
'Protean Ability:
|
'Protean Ability:
|
||||||
If p.Ability.Name.ToLower() = "protean" Then
|
If p.Ability.Name.ToLower() = "protean" Then
|
||||||
If p.Type1.Type <> moveUsed.Type.Type Or p.Type2.Type <> Element.Types.Blank Then
|
If p.Type1.Type <> moveUsed.Type.Type Or p.Type2.Type <> Element.Types.Blank Then
|
||||||
|
p.OriginalType1.Type = p.Type1.Type
|
||||||
p.Type1.Type = moveUsed.Type.Type
|
p.Type1.Type = moveUsed.Type.Type
|
||||||
If p.Type2.Type <> Element.Types.Blank Then
|
If p.Type2.Type <> Element.Types.Blank Then
|
||||||
|
p.OriginalType2.Type = p.Type2.Type
|
||||||
p.Type2.Type = Element.Types.Blank
|
p.Type2.Type = Element.Types.Blank
|
||||||
End If
|
End If
|
||||||
BattleScreen.BattleQuery.Add(New TextQueryObject(p.GetDisplayName() & "'s type changed to " & p.Type1.ToString() & " due to Protean."))
|
BattleScreen.BattleQuery.Add(New TextQueryObject(p.GetDisplayName() & "'s type changed to " & p.Type1.ToString() & " due to Protean."))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user