mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
@@ -202,15 +202,14 @@ struct boss_ick : public BossAI
|
||||
case ACTION_RESET_THREAT:
|
||||
me->GetThreatManager().ClearFixate();
|
||||
|
||||
if (Unit* current = me->GetVictim())
|
||||
ResetThreat(current);
|
||||
|
||||
if (Unit* oldTarget = ObjectAccessor::GetUnit(*me, _oldTargetGUID))
|
||||
{
|
||||
AddThreat(oldTarget, _oldTargetThreat);
|
||||
_oldTargetGUID.Clear();
|
||||
_oldTargetThreat = 0.0f;
|
||||
}
|
||||
if (Unit* current = me->GetVictim())
|
||||
ResetThreat(current);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user