Core/Units: send AI reactions uppon entering combat instead of attacking an enemy
This commit is contained in:
1 parent
1e1ebf16bd
commit
cc25457fe8
3 files changed
+9
-2
No files matched your search
@@ -5586,8 +5586,6 @@ bool Unit::Attack(Unit* victim, bool meleeAttack)
|
||||
if (creature && !IsControlledByPlayer())
|
||||
{
|
||||
EngageWithTarget(victim); // ensure that anything we're attacking has threat
|
||||
|
||||
creature->SendAIReaction(AI_REACTION_HOSTILE);
|
||||
creature->CallAssistance();
|
||||
|
||||
// Remove emote state - will be restored on creature reset
|
||||
|
||||
Reference in new issue
Block a user