mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-05 03:06:38 +00:00
[Bots/Mercs] Add 100% Hit chance if sitting while attacked. (#2839)
* [BOT] Add 100% Hit chance if sitting while attacked. * [BOT] Add 100% Hit chance if sitting while attacked. * Add Mercs correctly * Missed usage of IsSitting() in Mob::RollD20
This commit is contained in:
+3
-3
@@ -841,9 +841,9 @@ public:
|
||||
|
||||
void Fling(float value, float target_x, float target_y, float target_z, bool ignore_los = false, bool clip_through_walls = false, bool calculate_speed = false);
|
||||
|
||||
inline bool IsStanding() const {return (playeraction == 0);}
|
||||
inline bool IsSitting() const {return (playeraction == 1);}
|
||||
inline bool IsCrouching() const {return (playeraction == 2);}
|
||||
inline bool IsStanding() const { return (playeraction == 0); }
|
||||
inline bool IsSitting() const override { return (playeraction == 1); }
|
||||
inline bool IsCrouching() const { return (playeraction == 2); }
|
||||
inline bool IsBecomeNPC() const { return npcflag; }
|
||||
inline uint8 GetBecomeNPCLevel() const { return npclevel; }
|
||||
inline void SetBecomeNPC(bool flag) { npcflag = flag; }
|
||||
|
||||
Reference in New Issue
Block a user