mirror of
https://github.com/mangosfour/server.git
synced 2025-12-22 13:37:08 +00:00
[7068] Use area aura duration for apply aura on unit in area
Allow remove SPELL_ATTR_EX_UNAFFECTED_BY_SCHOOL_IMMUNE spells by 31224 Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
f956a3bf10
commit
dd2a59f56d
3 changed files with 4 additions and 5 deletions
|
|
@ -768,6 +768,7 @@ void AreaAura::Update(uint32 diff)
|
|||
if(actualSpellInfo != GetSpellProto())
|
||||
actualBasePoints = actualSpellInfo->EffectBasePoints[m_effIndex];
|
||||
AreaAura *aur = new AreaAura(actualSpellInfo, m_effIndex, &actualBasePoints, (*tIter), caster, NULL);
|
||||
aur->SetAuraDuration(GetAuraDuration());
|
||||
(*tIter)->AddAura(aur);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue