mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-26 23:34:58 +02:00
Fixed Prankster condition
Now only affects Status category moves
This commit is contained in:
parent
472b92e6fb
commit
034f2825fc
@ -10,12 +10,16 @@
|
|||||||
Dim oppPriority As Integer = oppAttack.Priority
|
Dim oppPriority As Integer = oppAttack.Priority
|
||||||
|
|
||||||
If ownPokemon.Ability.Name.ToLower() = "prankster" Then
|
If ownPokemon.Ability.Name.ToLower() = "prankster" Then
|
||||||
|
If ownAttack.Category = Attack.Categories.Status Then
|
||||||
ownPriority += 1
|
ownPriority += 1
|
||||||
End If
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
If oppPokemon.Ability.Name.ToLower() = "prankster" Then
|
If oppPokemon.Ability.Name.ToLower() = "prankster" Then
|
||||||
|
If oppAttack.Category = Attack.Categories.Status Then
|
||||||
oppPriority += 1
|
oppPriority += 1
|
||||||
End If
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
If ownPokemon.Ability.Name.ToLower() = "gale wings" And ownAttack.Type.Type = Element.Types.Flying Then
|
If ownPokemon.Ability.Name.ToLower() = "gale wings" And ownAttack.Type.Type = Element.Types.Flying Then
|
||||||
ownPriority += 1
|
ownPriority += 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user