*Fix blood frenzy remove (and possibly some other SPELL_AURA_ADD_TARGET_TRIGGER auras too).

*Fix some problems with Cut to the Chase.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-03-22 16:24:53 +01:00
parent f4d3a583bd
commit a0530658ff
5 changed files with 60 additions and 15 deletions
+8 -1
View File
@@ -230,7 +230,14 @@ class TRINITY_DLL_SPEC Aura
int32 GetAuraMaxDuration() const { return m_maxduration; }
void SetAuraMaxDuration(int32 duration) { m_maxduration = duration; }
int32 GetAuraDuration() const { return m_duration; }
void SetAuraDuration(int32 duration) { m_duration = duration; }
void SetAuraDuration(int32 duration)
{
m_duration = duration;
if (duration<0)
m_permanent=true;
else
m_permanent=false;
}
void SetAuraDurationAndUpdate(int32 duration)
{
m_duration = duration;