mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-06-20 15:39:25 +02:00
chore(Core/RPG): Loosen Z-mismatch threshold from 5y to 10y
This commit is contained in:
parent
d3e73cc0c0
commit
4882c7c25b
@ -226,7 +226,9 @@ bool NewRpgBaseAction::MoveFarTo(WorldPosition dest)
|
||||
// polygon graph toward an elevated target it can't reach
|
||||
// (quest giver on top of Aldrassil etc.). Refuse to dispatch
|
||||
// — bot waits instead of tunneling into the visual model.
|
||||
if (std::fabs(stepDest.GetPositionZ() - dest.GetPositionZ()) > 5.0f)
|
||||
// 10y tolerates normal terrain variation (ramp ends, hill
|
||||
// tops) while still catching clearly unreachable elevations.
|
||||
if (std::fabs(stepDest.GetPositionZ() - dest.GetPositionZ()) > 10.0f)
|
||||
{
|
||||
EmitDebugMove("MoveFar", "z-mismatch",
|
||||
dest.GetPositionX(), dest.GetPositionY(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user