mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-10 09:13:52 +00:00
Fix fighting on hill issues
This commit is contained in:
parent
eff8000196
commit
94b5684b42
@ -1003,10 +1003,6 @@ void Mob::AI_Process() {
|
||||
if (DistanceNoZ(this->GetPosition(), this->GetTarget()->GetPosition()) > 50) {
|
||||
this->FixZ();
|
||||
}
|
||||
/* If we are close to client and our Z differences aren't big, match the client */
|
||||
else if (std::abs(this->GetZ() - this->GetTarget()->GetZ()) < 20){
|
||||
this->m_Position.z = this->GetTarget()->GetZ();
|
||||
}
|
||||
}
|
||||
|
||||
if (!(m_PlayerState & static_cast<uint32>(PlayerState::Aggressive)))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user