mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-04 10:26:37 +00:00
Rewrite ^pull logic and handling. **MORE**
Add ^setassistee command to set who your bots will assist. Bots will always assist you first before anyone else. If the rule Bots, AllowCrossGroupRaidAssist is enabled bots will assist the group or raid main assists. Rewrites logic in handling of pull and returning to ensure bots make it back to their location.
This commit is contained in:
@@ -2221,6 +2221,8 @@ public:
|
||||
|
||||
bool GetBotPulling() { return m_bot_pulling; }
|
||||
void SetBotPulling(bool flag = true) { m_bot_pulling = flag; }
|
||||
uint32 GetAssistee() { return _assistee; }
|
||||
void SetAssistee(uint32 id = 0) { _assistee = id; }
|
||||
|
||||
bool GetBotPrecombat() { return m_bot_precombat; }
|
||||
void SetBotPrecombat(bool flag = true) { m_bot_precombat = flag; }
|
||||
@@ -2257,6 +2259,7 @@ private:
|
||||
uint8 cure_min_threshold;
|
||||
uint8 cure_threshold;
|
||||
bool illusion_block;
|
||||
uint32 _assistee;
|
||||
|
||||
bool CanTradeFVNoDropItem();
|
||||
void SendMobPositions();
|
||||
|
||||
Reference in New Issue
Block a user