Revert "fix(scripts/OldHilldBradFootHills): fix Captain Skarloc reacting to stealthed players" (#25120)
This commit is contained in:
parent
984baa92dd
commit
a349fccf57
1 changed files with 0 additions and 6 deletions
|
|
@ -131,12 +131,6 @@ inline void CreatureUnitRelocationWorker(Creature* c, Unit* u)
|
|||
return;
|
||||
}
|
||||
|
||||
// Prevents AI reaction when immunity flags are active
|
||||
if (c->IsImmuneToNPC())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (!c->HasUnitState(UNIT_STATE_SIGHTLESS))
|
||||
{
|
||||
if (c->IsAIEnabled && c->CanSeeOrDetect(u, false, true))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue