mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
melee attacker arc
This commit is contained in:
@@ -52,7 +52,7 @@ Unit* MeleeAttackerWithoutAuraTargetValue::Calculate()
|
||||
if (!bot->IsWithinMeleeRange(unit))
|
||||
continue;
|
||||
|
||||
if (checkArc && !bot->HasInArc(M_PI, unit))
|
||||
if (checkArc && !bot->HasInArc(CAST_ANGLE_IN_FRONT, unit))
|
||||
continue;
|
||||
|
||||
if (unit->GetHealth() < max_health)
|
||||
|
||||
Reference in New Issue
Block a user