*Fix a bug in 307. Only the trigger effect should be applied but not the whole spell.

*Restore build in Linux.
*Change "Added aura" log to level: detail.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-11-23 14:42:32 -06:00
parent 8d687761bc
commit 32b78f767c
3 changed files with 16 additions and 12 deletions
+4 -4
View File
@@ -179,9 +179,9 @@ void Totem::SetTypeBySummonSpell(SpellEntry const * spellProto)
m_type = TOTEM_STATUE; //Jewelery statue
}
/*bool Totem::IsImmunedToSpell(SpellEntry const* spellInfo, bool useCharges)
bool Totem::IsImmunedToSpell(SpellEntry const* spellInfo, bool useCharges)
{
for (int i=0;i<3;i++)
/* for (int i=0;i<3;i++)
{
switch(spellInfo->EffectApplyAuraName[i])
{
@@ -191,6 +191,6 @@ void Totem::SetTypeBySummonSpell(SpellEntry const * spellProto)
default:
continue;
}
}
}*/
return Creature::IsImmunedToSpell(spellInfo, useCharges);
}*/
}