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:
Akkadius
2017-06-28 02:38:20 -05:00
parent 592bbd3180
commit 539fa8b262
7 changed files with 85 additions and 119 deletions
+3
View File
@@ -913,6 +913,7 @@ public:
float GetGroundZ(float new_x, float new_y, float z_offset=0.0);
void SendTo(float new_x, float new_y, float new_z);
void SendToFixZ(float new_x, float new_y, float new_z);
void FixZ();
void NPCSpecialAttacks(const char* parse, int permtag, bool reset = true, bool remove = false);
inline uint32 DontHealMeBefore() const { return pDontHealMeBefore; }
inline uint32 DontBuffMeBefore() const { return pDontBuffMeBefore; }
@@ -1373,6 +1374,8 @@ protected:
bool flee_mode;
Timer flee_timer;
Timer fix_z_timer;
Timer fix_z_timer_engaged;
bool pAIControlled;
bool roamer;