Added some basic functionality to 'bot guard'

This commit is contained in:
Uleat
2018-02-08 16:46:43 -05:00
parent fb8873e77b
commit 0b97db9fd2
3 changed files with 54 additions and 10 deletions
+2
View File
@@ -339,6 +339,7 @@ public:
bool IsStanding();
int GetBotWalkspeed() const { return (int)((float)_GetWalkSpeed() * 1.786f); } // 1.25 / 0.7 = 1.7857142857142857142857142857143
int GetBotRunspeed() const { return (int)((float)_GetRunSpeed() * 1.786f); }
int GetBotFearSpeed() const { return (int)((float)_GetFearSpeed() * 1.786f); }
bool UseDiscipline(uint32 spell_id, uint32 target);
uint8 GetNumberNeedingHealedInGroup(uint8 hpr, bool includePets);
bool GetNeedsCured(Mob *tar);
@@ -405,6 +406,7 @@ public:
bool AIHealRotation(Mob* tar, bool useFastHeals);
bool GetPauseAI() { return _pauseAI; }
void SetPauseAI(bool pause_flag) { _pauseAI = pause_flag; }
void SetGuardMode();
// Mob AI Virtual Override Methods
virtual void AI_Process();