mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
Auto teleport check; Miscs
This commit is contained in:
@@ -1055,7 +1055,8 @@ float MovementAction::MoveDelay(float distance)
|
||||
|
||||
void MovementAction::WaitForReach(float distance)
|
||||
{
|
||||
float delay = 1000.0f * MoveDelay(distance) + sPlayerbotAIConfig->reactDelay;
|
||||
float delay = 1000.0f * MoveDelay(distance);
|
||||
|
||||
if (delay > sPlayerbotAIConfig->maxWaitForMove)
|
||||
delay = sPlayerbotAIConfig->maxWaitForMove;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user