From 034f2825fcc08f1cf9b34d826f14d809fcd7409c Mon Sep 17 00:00:00 2001 From: Capt_Segis Date: Wed, 14 Sep 2016 03:24:44 -0500 Subject: [PATCH] Fixed Prankster condition Now only affects Status category moves --- .../2.5DHero/Battle/BattleSystemV2/BattleCalculation.vb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/2.5DHero/2.5DHero/Battle/BattleSystemV2/BattleCalculation.vb b/2.5DHero/2.5DHero/Battle/BattleSystemV2/BattleCalculation.vb index 8778472fe..b75d28a9a 100644 --- a/2.5DHero/2.5DHero/Battle/BattleSystemV2/BattleCalculation.vb +++ b/2.5DHero/2.5DHero/Battle/BattleSystemV2/BattleCalculation.vb @@ -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