*Fix Recently bandagd debuf - by Maxxie
*Prevent possible crash in Chimera Shot handler. --HG-- branch : trunk
This commit is contained in:
@@ -2616,6 +2616,10 @@ void AuraEffect::HandleAuraDummy(bool apply, bool Real, bool changeAmount)
|
|||||||
break;
|
break;
|
||||||
switch(GetId())
|
switch(GetId())
|
||||||
{
|
{
|
||||||
|
// Recently Bandaged
|
||||||
|
case 11196:
|
||||||
|
m_target->ApplySpellImmune(GetId(), IMMUNITY_MECHANIC, GetMiscValue(), apply);
|
||||||
|
return;
|
||||||
// Unstable Power
|
// Unstable Power
|
||||||
case 24658:
|
case 24658:
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -5277,6 +5277,8 @@ void Spell::EffectScriptEffect(uint32 effIndex)
|
|||||||
flag96 familyFlag = aura->GetSpellProto()->SpellFamilyFlags;
|
flag96 familyFlag = aura->GetSpellProto()->SpellFamilyFlags;
|
||||||
if (!(familyFlag[1] & 0x00000080 || familyFlag[0] & 0x0000C000))
|
if (!(familyFlag[1] & 0x00000080 || familyFlag[0] & 0x0000C000))
|
||||||
continue;
|
continue;
|
||||||
|
if (!aura->GetPartAura(0))
|
||||||
|
continue;
|
||||||
|
|
||||||
// Serpent Sting - Instantly deals 40% of the damage done by your Serpent Sting.
|
// Serpent Sting - Instantly deals 40% of the damage done by your Serpent Sting.
|
||||||
if (familyFlag[0] & 0x4000)
|
if (familyFlag[0] & 0x4000)
|
||||||
|
|||||||
Reference in New Issue
Block a user