Core/Spells: Fix totem passive area auras stacking bug.
This commit is contained in:
@@ -86,8 +86,9 @@ void Totem::InitStats(uint32 duration)
|
|||||||
|
|
||||||
void Totem::InitSummon()
|
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)
|
if (m_type == TOTEM_PASSIVE)
|
||||||
CastSpell(this, GetSpell(), true);
|
AddAura(GetSpell(), this);
|
||||||
|
|
||||||
// Some totems can have both instant effect and passive spell
|
// Some totems can have both instant effect and passive spell
|
||||||
if (GetSpell(1))
|
if (GetSpell(1))
|
||||||
|
|||||||
Reference in New Issue
Block a user