latest github + bot fix

This commit is contained in:
mikx
2025-04-20 13:24:05 -04:00
parent 98f7a2ccfe
commit 3a5893003a
50 changed files with 6828 additions and 142 deletions

View File

@@ -242,7 +242,7 @@ bool NewRpgMoveNpcAction::Execute(Event event)
}
WorldObject* object = ObjectAccessor::GetWorldObject(*bot, info.near_npc.npcOrGo);
if (object && bot->GetDistance(object) <= INTERACTION_DISTANCE)
if (object && IsWithinInteractionDist(object))
{
if (!info.near_npc.lastReach)
{