*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;
|
||||
switch(GetId())
|
||||
{
|
||||
// Recently Bandaged
|
||||
case 11196:
|
||||
m_target->ApplySpellImmune(GetId(), IMMUNITY_MECHANIC, GetMiscValue(), apply);
|
||||
return;
|
||||
// Unstable Power
|
||||
case 24658:
|
||||
{
|
||||
|
||||
@@ -5277,6 +5277,8 @@ void Spell::EffectScriptEffect(uint32 effIndex)
|
||||
flag96 familyFlag = aura->GetSpellProto()->SpellFamilyFlags;
|
||||
if (!(familyFlag[1] & 0x00000080 || familyFlag[0] & 0x0000C000))
|
||||
continue;
|
||||
if (!aura->GetPartAura(0))
|
||||
continue;
|
||||
|
||||
// Serpent Sting - Instantly deals 40% of the damage done by your Serpent Sting.
|
||||
if (familyFlag[0] & 0x4000)
|
||||
|
||||
Reference in New Issue
Block a user