mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 19:07:16 +00:00
Fixed issues with Z correctness when NPCs are pathing on normal grids
Fixed issues with Z correctness when NPCs are engaged with players following NPC corpses should fall into the ground far less
This commit is contained in:
1 parent
592bbd3180
commit
539fa8b262
7 files changed
+85
-119
No files matched your search
@@ -991,6 +991,9 @@ void Mob::AI_Process() {
|
||||
|
||||
if (engaged) {
|
||||
|
||||
if (moving && fix_z_timer_engaged.Check())
|
||||
this->FixZ();
|
||||
|
||||
if (!(m_PlayerState & static_cast<uint32>(PlayerState::Aggressive)))
|
||||
SendAddPlayerState(PlayerState::Aggressive);
|
||||
// we are prevented from getting here if we are blind and don't have a target in range
|
||||
|
||||
Reference in new issue
Block a user