*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:
+4
-4
@@ -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);
|
||||
}*/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user