Reworked blind running around

This should be more in line with how we do current fearpath stuff
and with live.
This commit is contained in:
Michael Cook (mackal) committed 2014-09-29 16:32:48 -04:00
1 parent 8035c6c558
commit 5ffb6bdee7
7 files changed
+39 -47

No files matched your search

+1 -1
View File
@@ -768,6 +768,7 @@ public:
inline void StartFleeing() { flee_mode = true; CalculateNewFearpoint(); }
void ProcessFlee();
void CheckFlee();
inline bool IsBlind() { return spellbonuses.IsBlind; }
inline bool CheckAggro(Mob* other) {return hate_list.IsOnHateList(other);}
float CalculateHeadingToTarget(float in_x, float in_y);
@@ -1190,7 +1191,6 @@ protected:
float fear_walkto_y;
float fear_walkto_z;
bool curfp;
bool is_blind;
// Pathing
//