mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-06 13:34:52 +02:00
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)
|
Return New Element(Element.Types.Normal)
|
||||||
End If
|
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
|
Return Me.Type
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user