Compare commits

...

1 Commits

Author SHA1 Message Date
bash
752ed07742 Dont wait to travel when in combat.
Prevents bot adding a travel delay when in combat
2025-08-10 23:30:26 +02:00

View File

@@ -18,7 +18,7 @@ bool MoveToTravelTargetAction::Execute(Event event)
WorldLocation location = *target->getPosition();
Group* group = bot->GetGroup();
if (group && !urand(0, 1) && bot == botAI->GetGroupMaster())
if (group && !urand(0, 1) && bot == botAI->GetGroupMaster() && !bot->IsInCombat())
{
for (GroupReference* ref = group->GetFirstMember(); ref; ref = ref->next())
{