diff options
author | maximius <none@none> | 2009-10-06 18:39:43 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-10-06 18:39:43 -0700 |
commit | 040cc4630df29a1e6197152fe609708bd7e22ff6 (patch) | |
tree | e3ad9e798eb22dacacc2fb6f554285ba25c8fc51 /src | |
parent | f162303eae9746c250350220999adcffb8be26c3 (diff) |
*Merge [8525] Implement glyph 45775, Author: Shendor
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Unit.cpp | 9 |
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; } |