[Core/Spell]: Fix Blessing of Ancient Kings (Val'anyr, Hammer of Ancient Kings) closes #6521
This commit is contained in:
@@ -5870,7 +5870,7 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
|
|||||||
if (AuraEffect* aurEff = victim->GetAuraEffect(64413, 0, GetGUID()))
|
if (AuraEffect* aurEff = victim->GetAuraEffect(64413, 0, GetGUID()))
|
||||||
{
|
{
|
||||||
// The shield can grow to a maximum size of 20, 000 damage absorbtion
|
// The shield can grow to a maximum size of 20, 000 damage absorbtion
|
||||||
aurEff->SetAmount(std::max<int32>(aurEff->GetAmount() + basepoints0, 20000));
|
aurEff->SetAmount(std::min<int32>(aurEff->GetAmount() + basepoints0, 20000));
|
||||||
|
|
||||||
// Refresh and return to prevent replacing the aura
|
// Refresh and return to prevent replacing the aura
|
||||||
aurEff->GetBase()->RefreshDuration();
|
aurEff->GetBase()->RefreshDuration();
|
||||||
|
|||||||
Reference in New Issue
Block a user