Re-worked Bot::AI_Process(); Added 'leash,' 'main assist' and 'combat abort' features

This commit is contained in:
Uleat
2018-01-31 19:31:09 -05:00
parent dd2b12b517
commit 8805021960
8 changed files with 611 additions and 428 deletions
+1
View File
@@ -612,6 +612,7 @@ public:
std::list<struct_HateList*>& GetHateList() { return hate_list.GetHateList(); }
bool CheckLosFN(Mob* other);
bool CheckLosFN(float posX, float posY, float posZ, float mobSize);
static bool CheckLosFN(glm::vec3 posWatcher, float sizeWatcher, glm::vec3 posTarget, float sizeTarget);
inline void SetChanged() { pLastChange = Timer::GetCurrentTime(); }
inline const uint32 LastChange() const { return pLastChange; }
inline void SetLastLosState(bool value) { last_los_check = value; }