diff options
author | MartGon <gudo35@gmail.com> | 2017-06-07 21:21:12 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2017-06-07 21:21:12 +0200 |
commit | c320cc08e98819aa4e6586a795692c3da218d281 (patch) | |
tree | 47d7d115b8904cb2dfe6ee78a69babd6b64b80eb | |
parent | 4226eb2ea56a13f1e499b80e51cb73748cff82a1 (diff) |
Core/Scripts: fix Exhilaration cooldown calculation with Hunting Party applied (#19860)
Hunting Party should decrease the cooldown of Exhilaration, not increase it
-rw-r--r-- | src/server/scripts/Spells/spell_hunter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Spells/spell_hunter.cpp b/src/server/scripts/Spells/spell_hunter.cpp index e37f65fa559..2a3da26f552 100644 --- a/src/server/scripts/Spells/spell_hunter.cpp +++ b/src/server/scripts/Spells/spell_hunter.cpp @@ -286,8 +286,8 @@ class spell_hun_hunting_party : public SpellScriptLoader void HandleProc(AuraEffect const* aurEff, ProcEventInfo& /*eventInfo*/) { PreventDefaultAction(); - GetTarget()->GetSpellHistory()->ModifyCooldown(SPELL_HUNTER_EXHILARATION, Seconds(aurEff->GetAmount())); - GetTarget()->GetSpellHistory()->ModifyCooldown(SPELL_HUNTER_EXHILARATION_PET, Seconds(aurEff->GetAmount())); + GetTarget()->GetSpellHistory()->ModifyCooldown(SPELL_HUNTER_EXHILARATION, -Seconds(aurEff->GetAmount())); + GetTarget()->GetSpellHistory()->ModifyCooldown(SPELL_HUNTER_EXHILARATION_PET, -Seconds(aurEff->GetAmount())); } void Register() override |