fix(Core/Unit): fix AoE aggro and contested guard attack logic (#23935)
This commit is contained in:
parent
1e4bf1bb6d
commit
e6e6c6289e
3 changed files with 16 additions and 13 deletions
|
|
@ -563,10 +563,6 @@ public:
|
|||
if (!SpawnAssoc)
|
||||
return;
|
||||
|
||||
// check if they're hostile
|
||||
if (!(me->IsHostileTo(who) || who->IsHostileTo(me)))
|
||||
return;
|
||||
|
||||
if (me->IsValidAttackTarget(who))
|
||||
{
|
||||
Player* playerTarget = who->ToPlayer();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue