From 040cc4630df29a1e6197152fe609708bd7e22ff6 Mon Sep 17 00:00:00 2001 From: maximius Date: Tue, 6 Oct 2009 18:39:43 -0700 Subject: *Merge [8525] Implement glyph 45775, Author: Shendor --HG-- branch : trunk --- src/game/Unit.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3