mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Fixes #262. Do not keep area aura enemy targets in combat - 61248 doesn't bring whole northrend to Dalaran anymore:)
--HG-- branch : trunk
This commit is contained in:
@@ -1435,10 +1435,6 @@ void UnitAura::UpdateTargetMapForEffect(Unit * caster, uint8 effIndex)
|
||||
continue;
|
||||
// add new unit to persistent area aura
|
||||
(*appIter)->_ApplyAuraEffect(this, effIndex);
|
||||
|
||||
// start combat with targeted enemy
|
||||
if(GetSpellProto()->Effect[effIndex] == SPELL_EFFECT_APPLY_AREA_AURA_ENEMY)
|
||||
GetUnitOwner()->CombatStart(*appIter);
|
||||
}
|
||||
|
||||
itr = m_applications.find((*appIter)->GetGUID());
|
||||
|
||||
Reference in New Issue
Block a user