From 330bc69906503e7a874b08637c41fe8134e04647 Mon Sep 17 00:00:00 2001 From: Gacko Date: Sat, 10 Jun 2017 20:30:03 +0200 Subject: Fix build. --- src/server/scripts/Spells/spell_warrior.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts/Spells') diff --git a/src/server/scripts/Spells/spell_warrior.cpp b/src/server/scripts/Spells/spell_warrior.cpp index 96cb168c01a..fa4063567d9 100644 --- a/src/server/scripts/Spells/spell_warrior.cpp +++ b/src/server/scripts/Spells/spell_warrior.cpp @@ -1130,7 +1130,7 @@ public: void HandleProc(AuraEffect const* aurEff, ProcEventInfo& eventInfo) { - Unit* target = eventInfo.GetActionTarget()); + Unit* target = eventInfo.GetActionTarget(); //Get the Remaining Damage from the aura (if exist) int32 remainingDamage = target->GetRemainingPeriodicAmount(target->GetGUID(), SPELL_WARRIOR_TRAUMA_EFFECT, SPELL_AURA_PERIODIC_DAMAGE); //Get 25% of damage from the spell casted (Slam & Whirlwind) plus Remaining Damage from Aura -- cgit v1.2.3