*Update of aura system.
--HG-- branch : trunk
This commit is contained in:
@@ -205,8 +205,7 @@ inline void Trinity::DynamicObjectUpdater::VisitHelper(Unit* target)
|
||||
if (target->IsImmunedToSpell(spellInfo) || target->IsImmunedToSpellEffect(spellInfo, eff_index))
|
||||
return;
|
||||
// Apply PersistentAreaAura on target
|
||||
PersistentAreaAura* Aur = new PersistentAreaAura(spellInfo, eff_index, NULL, target, i_dynobject.GetCaster());
|
||||
target->AddAura(Aur);
|
||||
target->AddAuraEffect(spellInfo->Id, eff_index, i_dynobject.GetCaster());
|
||||
i_dynobject.AddAffected(target);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user