*Add better proc check for Glyph of death's Embrace - by Astellar
--HG-- branch : trunk
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user