Core/Totems: Added new function allowing set totem's duration

This commit is contained in:
Lopin
2011-06-19 14:30:39 +02:00
parent dbba53b745
commit ec82cc2e78

View File

@@ -41,6 +41,7 @@ class Totem : public Minion
void UnSummon();
uint32 GetSpell(uint8 slot = 0) const { return m_spells[slot]; }
uint32 GetTotemDuration() const { return m_duration; }
void SetTotemDuration(uint32 duration) { m_duration = duration; }
TotemType GetTotemType() const { return m_type; }
bool UpdateStats(Stats /*stat*/) { return true; }