aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-07-14 13:35:29 +0200
committerQAston <none@none>2009-07-14 13:35:29 +0200
commit79e0468af668529b440f18c893825613b4375831 (patch)
tree58a2b294ea044e53a1bba1e316eb8c4cee803385 /src/game/Unit.cpp
parent2f5befd26a6a5c08f38f608a25034347a0b9ef3a (diff)
*Add better proc check for Glyph of death's Embrace - by Astellar
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index bb5f65bc27d..d1e1ba821e2 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -7834,6 +7834,14 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig
return false;
break;
}
+ // Glyph of Death's Embrace
+ case 58679:
+ {
+ // Proc only from healing part of Death Coil. Check is essential as all Death Coil spells have 0x2000 mask in SpellFamilyFlags
+ if (!procSpell || !(procSpell->SpellFamilyName == SPELLFAMILY_DEATHKNIGHT && procSpell->SpellFamilyFlags[0] == 0x80002000))
+ return false;
+ break;
+ }
// Glyph of Death Grip
case 58628:
{