mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-14 09:29:09 +00:00
fix hunter auto shot
This commit is contained in:
@@ -120,7 +120,7 @@ bool AttackAction::Attack(Unit* target, bool with_pet /*true*/)
|
||||
if (IsMovingAllowed() && !bot->HasInArc(CAST_ANGLE_IN_FRONT, target))
|
||||
bot->SetFacingToObject(target);
|
||||
|
||||
bool attacked = bot->Attack(target, !botAI->IsRanged(bot));
|
||||
bool attacked = bot->Attack(target, true);
|
||||
botAI->ChangeEngine(BOT_STATE_COMBAT);
|
||||
|
||||
return attacked;
|
||||
|
||||
Reference in New Issue
Block a user