mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 00:58:33 +00:00
fix
This commit is contained in:
@@ -4163,7 +4163,7 @@ bool ArenaTactics::Execute(Event event)
|
||||
botAI->ChangeStrategy("-buff", BOT_STATE_NON_COMBAT);
|
||||
|
||||
// Repositioning if the target is out of line of sight
|
||||
Unit* target = botAI->GetAiObject<Unit>("current target");
|
||||
Unit* target = bot->GetVictim();
|
||||
if (target && !bot->IsWithinLOSInMap(target))
|
||||
{
|
||||
float x, y, z;
|
||||
|
||||
Reference in New Issue
Block a user