Core/Spells: Fix cooldown problems for Val'anyr, Hammer of Ancient Kings

Closes #9162
This commit is contained in:
zwerg
2013-02-09 23:17:29 +01:00
committed by Vincent_Michael
parent 985de41421
commit e5e970baec

View File

@@ -140,7 +140,7 @@ class spell_item_blessing_of_ancient_kings : public SpellScriptLoader
protEff->SetAmount(std::min<int32>(protEff->GetAmount() + absorb, 20000));
// Refresh and return to prevent replacing the aura
aurEff->GetBase()->RefreshDuration();
protEff->GetBase()->RefreshDuration();
}
else
GetTarget()->CastCustomSpell(SPELL_PROTECTION_OF_ANCIENT_KINGS, SPELLVALUE_BASE_POINT0, absorb, eventInfo.GetProcTarget(), true, NULL, aurEff);