aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/Unit.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index e577e2006e6..4a87a425c96 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -6628,8 +6628,15 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
{
// 3.0.8: Now correctly uses the Shaman's own spell critical strike chance to determine the chance of a critical heal.
originalCaster = triggeredByAura->GetCasterGUID();
- basepoints0 = triggerAmount;
target = this;
+ basepoints0 = triggerAmount;
+
+ // Glyph of Earth Shield
+ if (Aura* aur = GetDummyAura(63279))
+ {
+ int32 aur_mod = aur->GetModifier()->m_amount;
+ basepoints0 = int32(basepoints0 * (aur_mod + 100.0f) / 100.0f);
+ }
triggered_spell_id = 379;
break;
}