*Allow totems to cast spell2 from DB instantnly when put down

--HG--
branch : trunk
This commit is contained in:
thenecromancer
2009-07-05 17:29:28 +02:00
parent 67f8ec608c
commit ea7ac26e72
3 changed files with 5 additions and 2 deletions

View File

@@ -91,6 +91,9 @@ void Totem::InitSummon()
if(m_type == TOTEM_PASSIVE)
CastSpell(this, GetSpell(), true);
// Some totems can have both instant effect and passive spell
if (GetSpell(1))
CastSpell(this, GetSpell(1), true);
}
void Totem::UnSummon()