*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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user