feat(Core/SmartScripts): SMART_ACTION_DISABLE_EVADE (#9772)

* Update SmartScriptMgr.h

* Update SmartScript.cpp

* Update SmartAI.h

* Update SmartAI.cpp
This commit is contained in:
IntelligentQuantum
2021-12-20 01:00:55 +03:30
committed by GitHub
parent 7a612f3dd9
commit f7ff583b7e
4 changed files with 29 additions and 1 deletions

View File

@@ -173,6 +173,8 @@ public:
void SetSwim(bool swim = true);
void SetEvadeDisabled(bool disable = true);
void SetInvincibilityHpLevel(uint32 level) { mInvincibilityHpLevel = level; }
void sGossipHello(Player* player) override;
@@ -223,6 +225,7 @@ private:
uint32 GetWPCount() { return mWayPoints ? mWayPoints->size() : 0; }
bool mCanRepeatPath;
bool mRun;
bool mEvadeDisabled;
bool mCanAutoAttack;
bool mCanCombatMove;
bool mForcedPaused;