Core/Scripts: fix Exhilaration cooldown calculation with Hunting Party applied (#19860)

Hunting Party should decrease the cooldown of Exhilaration, not increase it
This commit is contained in:
MartGon
2017-06-07 21:21:12 +02:00
committed by Shauren
parent 4226eb2ea5
commit c320cc08e9

View File

@@ -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