*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; trigger_spell_id = 64418 + auraId - 53302;
// If aura is active - no need to continue
if (target->HasAura(trigger_spell_id))
return;
break; break;
// //Frost Trap Aura // //Frost Trap Aura
// case 13810: // case 13810:
+8
View File
@@ -7834,6 +7834,14 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig
return false; return false;
break; 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 // Glyph of Death Grip
case 58628: case 58628:
{ {
+12 -12
View File
@@ -991,18 +991,6 @@
> >
</File> </File>
</Filter> </Filter>
<Filter
Name="AuctionHouseBot"
>
<File
RelativePath="..\..\src\game\AuctionHouseBot.cpp"
>
</File>
<File
RelativePath="..\..\src\game\AuctionHouseBot.h"
>
</File>
</Filter>
<Filter <Filter
Name="Object" Name="Object"
> >
@@ -1338,6 +1326,18 @@
RelativePath="..\..\src\game\ZoneScript.h" RelativePath="..\..\src\game\ZoneScript.h"
> >
</File> </File>
<Filter
Name="AuctionHouseBot"
>
<File
RelativePath="..\..\src\game\AuctionHouseBot.cpp"
>
</File>
<File
RelativePath="..\..\src\game\AuctionHouseBot.h"
>
</File>
</Filter>
</Filter> </Filter>
<Filter <Filter
Name="Server" Name="Server"