fix(Core/Threat): Melee creatures should only target units they can attack when rooted (#24526)
This commit is contained in:
@@ -254,6 +254,7 @@ public:
|
||||
|
||||
bool CanAIAttack(Unit const* victim) const override
|
||||
{
|
||||
// Used for Magma Blast handling to force EnterEvadeMode if there are no melee targets
|
||||
return me->IsWithinMeleeRange(victim);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user