From fbe09a92f960e24b90711b55f0d2f3a864605d3d Mon Sep 17 00:00:00 2001 From: thenecromancer Date: Wed, 20 Jan 2010 21:10:18 +0100 Subject: 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 --- src/game/Totem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/Totem.cpp') diff --git a/src/game/Totem.cpp b/src/game/Totem.cpp index 027d6da731a..0358cc0c990 100644 --- a/src/game/Totem.cpp +++ b/src/game/Totem.cpp @@ -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); } -- cgit v1.2.3