*Some update of summon effect code.
--HG-- branch : trunk
This commit is contained in:
+1
-5
@@ -27,7 +27,6 @@ enum TotemType
|
||||
{
|
||||
TOTEM_PASSIVE = 0,
|
||||
TOTEM_ACTIVE = 1,
|
||||
TOTEM_STATUE = 2
|
||||
};
|
||||
|
||||
#define SENTRY_TOTEM_ENTRY 3968
|
||||
@@ -38,15 +37,12 @@ class Totem : public TempSummon
|
||||
explicit Totem(SummonPropertiesEntry const *properties, Unit *owner);
|
||||
virtual ~Totem(){};
|
||||
void Update( uint32 time );
|
||||
void Summon(Unit* owner);
|
||||
void InitSummon(uint32 duration);
|
||||
void UnSummon();
|
||||
uint32 GetSpell() const { return m_spells[0]; }
|
||||
uint32 GetTotemDuration() const { return m_duration; }
|
||||
Unit *GetOwner();
|
||||
TotemType GetTotemType() const { return m_type; }
|
||||
void SetTypeBySummonSpell(SpellEntry const * spellProto);
|
||||
void SetDuration(uint32 dur) { m_duration = dur; }
|
||||
void SetOwner(Unit *owner);
|
||||
|
||||
bool UpdateStats(Stats /*stat*/) { return true; }
|
||||
bool UpdateAllStats() { return true; }
|
||||
|
||||
Reference in New Issue
Block a user