Fixed Prankster condition

Now only affects Status category moves
This commit is contained in:
Capt_Segis 2016-09-14 03:24:44 -05:00 committed by GitHub
parent 472b92e6fb
commit 034f2825fc
1 changed files with 6 additions and 2 deletions

View File

@ -10,11 +10,15 @@
Dim oppPriority As Integer = oppAttack.Priority
If ownPokemon.Ability.Name.ToLower() = "prankster" Then
ownPriority += 1
If ownAttack.Category = Attack.Categories.Status Then
ownPriority += 1
End If
End If
If oppPokemon.Ability.Name.ToLower() = "prankster" Then
oppPriority += 1
If oppAttack.Category = Attack.Categories.Status Then
oppPriority += 1
End If
End If
If ownPokemon.Ability.Name.ToLower() = "gale wings" And ownAttack.Type.Type = Element.Types.Flying Then