*Add better proc check for Glyph of death's Embrace - by Astellar

--HG--
branch : trunk
This commit is contained in:
QAston
2009-07-14 13:35:29 +02:00
parent 2f5befd26a
commit 79e0468af6
3 changed files with 24 additions and 12 deletions
+4
View File
@@ -2268,6 +2268,10 @@ void AuraEffect::TriggerSpell()
trigger_spell_id = 64418 + auraId - 53302;
// If aura is active - no need to continue
if (target->HasAura(trigger_spell_id))
return;
break;
// //Frost Trap Aura
// case 13810:
+8
View File
@@ -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:
{