Core/Spells: Fix totem passive area auras stacking bug.

This commit is contained in:
QAston
2011-09-25 19:00:37 +03:00
parent 062e645637
commit 210a770958

View File

@@ -86,8 +86,9 @@ void Totem::InitStats(uint32 duration)
void Totem::InitSummon()
{
// use AddAura instead of CastSpell - this in fact should be an AddSpell equivalent for creatures, but nothing like that exists so far.
if (m_type == TOTEM_PASSIVE)
CastSpell(this, GetSpell(), true);
AddAura(GetSpell(), this);
// Some totems can have both instant effect and passive spell
if (GetSpell(1))