Set second type to typeless with Protean ability
This commit is contained in:
parent
da107320cc
commit
6e106a28fa
|
@ -2005,6 +2005,9 @@
|
|||
If p.Ability.Name.ToLower() = "protean" Then
|
||||
If p.Type1.Type <> moveUsed.Type.Type Or p.Type2.Type <> Element.Types.Blank Then
|
||||
p.Type1.Type = moveUsed.Type.Type
|
||||
If p.Type2.Type <> Element.Types.Blank Then
|
||||
p.Type2.Type = Element.Types.Blank
|
||||
End If
|
||||
BattleScreen.BattleQuery.Add(New TextQueryObject(p.GetDisplayName() & "'s type changed to " & p.Type1.ToString() & " due to Protean."))
|
||||
End If
|
||||
End If
|
||||
|
|
Loading…
Reference in New Issue