mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 10:31:29 +00:00
LoS Drop when close adjustment
This commit is contained in:
parent
b2b447516d
commit
0b489bc507
@ -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())) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user