Allow spells with effect mechanic to allow apply other effects when effect with mechanic would be fail due to effect/state immunity.

--HG--
branch : trunk
This commit is contained in:
thenecromancer
2010-01-20 21:10:18 +01:00
parent 721c926229
commit fbe09a92f9
6 changed files with 17 additions and 19 deletions
+2 -2
View File
@@ -145,7 +145,7 @@ void Totem::UnSummon()
AddObjectToRemoveList();
}
bool Totem::IsImmunedToSpellEffect(SpellEntry const* spellInfo, uint32 index, bool checkMechanic) const
bool Totem::IsImmunedToSpellEffect(SpellEntry const* spellInfo, uint32 index) const
{
// TODO: possibly all negative auras immune?
if(GetEntry() == 5925)
@@ -160,5 +160,5 @@ bool Totem::IsImmunedToSpellEffect(SpellEntry const* spellInfo, uint32 index, bo
default:
break;
}
return Creature::IsImmunedToSpellEffect(spellInfo, index, checkMechanic);
return Creature::IsImmunedToSpellEffect(spellInfo, index);
}