diff options
| author | Gacko <gacko28@gmx.de> | 2017-06-10 20:30:03 +0200 |
|---|---|---|
| committer | Gacko <gacko28@gmx.de> | 2017-06-10 20:30:03 +0200 |
| commit | 330bc69906503e7a874b08637c41fe8134e04647 (patch) | |
| tree | 06b0ba3fafe60059dafaaeacce0846e75e4ce5be /src | |
| parent | 4d6d8c6ba8626fb390a854de1d2ebb48dc2df03d (diff) | |
Fix build.
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/scripts/Spells/spell_warrior.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
