Core/Auras: fix nopch
This commit is contained in:
1 parent
ee99e76fa9
commit
ae23b5d45a
2 files changed
+6
-1
No files matched your search
@@ -858,6 +858,11 @@ void Aura::Update(uint32 diff, Unit* caster)
|
||||
}
|
||||
}
|
||||
|
||||
int32 Aura::CalcMaxDuration(Unit* caster) const
|
||||
{
|
||||
return Aura::CalcMaxDuration(GetSpellInfo(), caster);
|
||||
}
|
||||
|
||||
/*static*/ int32 Aura::CalcMaxDuration(SpellInfo const* spellInfo, WorldObject* caster)
|
||||
{
|
||||
return spellInfo->CalcDuration(caster);
|
||||
|
||||
@@ -149,7 +149,7 @@ class TC_GAME_API Aura
|
||||
int32 GetMaxDuration() const { return m_maxDuration; }
|
||||
void SetMaxDuration(int32 duration) { m_maxDuration = duration; }
|
||||
int32 CalcMaxDuration() const { return CalcMaxDuration(GetCaster()); }
|
||||
int32 CalcMaxDuration(Unit* caster) const { return Aura::CalcMaxDuration(GetSpellInfo(), caster); }
|
||||
int32 CalcMaxDuration(Unit* caster) const;
|
||||
static int32 CalcMaxDuration(SpellInfo const* spellInfo, WorldObject* caster);
|
||||
int32 GetDuration() const { return m_duration; }
|
||||
void SetDuration(int32 duration, bool withMods = false);
|
||||
|
||||
Reference in new issue
Block a user