mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-04 15:22:18 +00:00
Bot movement behavior change..still in-work
This commit is contained in:
1 parent
d8519bc270
commit
b0ad9524bc
4 files changed
+93
-32
No files matched your search
+1
-1
@@ -422,7 +422,7 @@ public:
|
||||
strn0cpy(name, GetName(), 64); return; };
|
||||
inline Mob* GetTarget() const { return target; }
|
||||
virtual void SetTarget(Mob* mob);
|
||||
inline bool HasTargetReflection() const { return (target && target->target == this); }
|
||||
inline bool HasTargetReflection() const { return (target && target != this && target->target == this); }
|
||||
virtual inline float GetHPRatio() const { return max_hp == 0 ? 0 : ((float)cur_hp/max_hp*100); }
|
||||
virtual inline int GetIntHPRatio() const { return max_hp == 0 ? 0 : static_cast<int>(cur_hp * 100 / max_hp); }
|
||||
inline int32 GetAC() const { return AC; }
|
||||
|
||||
Reference in new issue
Block a user