Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #6563 from Mik43l/val'anyr

[Core/Spell]: Fix Blessing of Ancient Kings (Val'anyr, Hammer of Ancient Kings)
closes #6521
  • Loading branch information...
commit 69a4ac2209045f3d01fb7b056f06607b4dedf2a9 2 parents 868e38e + 3882509
@DDuarte DDuarte authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/server/game/Entities/Unit/Unit.cpp
View
2  src/server/game/Entities/Unit/Unit.cpp
@@ -5870,7 +5870,7 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
if (AuraEffect* aurEff = victim->GetAuraEffect(64413, 0, GetGUID()))
{
// 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
aurEff->GetBase()->RefreshDuration();
Please sign in to comment.
Something went wrong with that request. Please try again.