Better waypoints for combat reach

This commit is contained in:
Yunfan Li
2024-08-05 12:08:14 +08:00
parent 1a92743dfd
commit f706fa2ba6
3 changed files with 36 additions and 28 deletions

View File

@@ -29,7 +29,7 @@ bool FollowAction::Execute(Event event)
if (Formation::IsNullLocation(loc) || loc.GetMapId() == -1)
return false;
moved = MoveTo(loc.GetMapId(), loc.GetPositionX(), loc.GetPositionY(), loc.GetPositionZ());
moved = MoveTo(loc.GetMapId(), loc.GetPositionX(), loc.GetPositionY(), loc.GetPositionZ(), false, false, false, true);
}
if (Pet* pet = bot->GetPet())