mirror of
https://github.com/mangosfour/server.git
synced 2025-12-30 10:37:12 +00:00
[11041] Tabs to spaces
This commit is contained in:
parent
bf04f46011
commit
452b3d9e05
5 changed files with 13 additions and 13 deletions
|
|
@ -7992,18 +7992,18 @@ void Aura::HandleAuraModAllCritChance(bool apply, bool Real)
|
|||
((Player*)target)->UpdateAllSpellCritChances();
|
||||
}
|
||||
|
||||
void Aura::SetAuraMaxDuration( int32 duration )
|
||||
void Aura::SetAuraMaxDuration(int32 duration)
|
||||
{
|
||||
m_maxduration = duration;
|
||||
m_maxduration = duration;
|
||||
|
||||
// possible overwrite persistent state
|
||||
if (duration > 0)
|
||||
{
|
||||
if (!(GetHolder()->IsPassive() && GetSpellProto()->DurationIndex == 0))
|
||||
GetHolder()->SetPermanent(false);
|
||||
// possible overwrite persistent state
|
||||
if (duration > 0)
|
||||
{
|
||||
if (!(GetHolder()->IsPassive() && GetSpellProto()->DurationIndex == 0))
|
||||
GetHolder()->SetPermanent(false);
|
||||
|
||||
GetHolder()->SetAuraFlags(GetHolder()->GetAuraFlags() | AFLAG_DURATION);
|
||||
}
|
||||
GetHolder()->SetAuraFlags(GetHolder()->GetAuraFlags() | AFLAG_DURATION);
|
||||
}
|
||||
}
|
||||
|
||||
bool Aura::IsLastAuraOnHolder()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue