*Fix Recently bandagd debuf - by Maxxie

*Prevent possible crash in Chimera Shot handler.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-06-25 15:34:08 +02:00
parent bbc1578ab5
commit 4ca17d4137
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -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:
{
+2
View File
@@ -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)