Reworked Pixilate implementation
Same as Refrigerate and Aerilate. Now part of the GetAttackType function.
This commit is contained in:
parent
904dcd4f5b
commit
47b54173f3
|
@ -1641,6 +1641,18 @@
|
|||
Return New Element(Element.Types.Normal)
|
||||
End If
|
||||
|
||||
If Me.Type.Type = Element.Types.Normal Then
|
||||
If p.Ability.Name.ToLower() = "pixilate" Then
|
||||
Return New Element(Element.Types.Fairy)
|
||||
End If
|
||||
If p.Ability.Name.ToLower() = "refrigerate" Then
|
||||
Return New Element(Element.Types.Ice)
|
||||
End If
|
||||
If p.Ability.Name.ToLower() = "aerilate" Then
|
||||
Return New Element(Element.Types.Flying)
|
||||
End If
|
||||
End If
|
||||
|
||||
Return Me.Type
|
||||
End Function
|
||||
|
||||
|
|
Loading…
Reference in New Issue