From 37632e4e396da719330d242e02ef2eb7806e3f14 Mon Sep 17 00:00:00 2001 From: Anubisss Date: Mon, 6 Apr 2009 18:00:16 +0200 Subject: *Add a check for Glyph of Swiftmend in Swiftmend code. --HG-- branch : trunk --- src/game/SpellEffects.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/game') diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index c7d049305ee..bae4dc25382 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -2524,7 +2524,10 @@ void Spell::SpellDamageHeal(uint32 /*i*/) } } addhealth += tickheal * tickcount; - unitTarget->RemoveAura(targetAura->GetId(), targetAura->GetCasterGUID()); + + // Glyph of Swiftmend + if(!caster->GetAura(54824)) + unitTarget->RemoveAura(targetAura->GetId(), targetAura->GetCasterGUID()); //addhealth += tickheal * tickcount; //addhealth = caster->SpellHealingBonus(m_spellInfo, addhealth,HEAL, unitTarget); -- cgit v1.2.3