From 0b489bc507ddbff193e616d2d958eef7d095eb9e Mon Sep 17 00:00:00 2001 From: Akkadius Date: Sun, 16 Jul 2017 04:36:36 -0500 Subject: [PATCH] LoS Drop when close adjustment --- zone/mob_ai.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/mob_ai.cpp b/zone/mob_ai.cpp index 56ebb6fc2..e1e4682b0 100644 --- a/zone/mob_ai.cpp +++ b/zone/mob_ai.cpp @@ -1001,7 +1001,7 @@ void Mob::AI_Process() { if (this->GetTarget()) { /* If we are engaged, moving and following client, let's look for best Z more often */ float target_distance = DistanceNoZ(this->GetPosition(), this->GetTarget()->GetPosition()); - if (target_distance >= 50) { + if (target_distance >= 25) { this->FixZ(); } else if (!this->CheckLosFN(this->GetTarget())) {