aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnubisss <none@none>2009-04-06 18:00:16 +0200
committerAnubisss <none@none>2009-04-06 18:00:16 +0200
commit37632e4e396da719330d242e02ef2eb7806e3f14 (patch)
tree2fe921e94bb87298b3e7e3da9e2a7635b1d1b1a1 /src
parentb4e7c01a908be0e7431ad265dae4434eda986b38 (diff)
*Add a check for Glyph of Swiftmend in Swiftmend code.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellEffects.cpp5
1 files changed, 4 insertions, 1 deletions
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);