mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Added bot command 'precombat' to manually set pre-combat mode rather than the 'assumption' process used before; Added rule Bot:AllowOwnerOptionAltCombat to allow admins control over its use
This commit is contained in:
+2
-2
@@ -2465,7 +2465,7 @@ void Bot::AI_Process()
|
||||
|
||||
//#pragma endregion
|
||||
|
||||
bool bo_alt_combat = bot_owner->GetBotOption(Client::booAltCombat);
|
||||
bool bo_alt_combat = (RuleB(Bots, AllowOwnerOptionAltCombat) && bot_owner->GetBotOption(Client::booAltCombat));
|
||||
|
||||
//#pragma region ATTACK FLAG
|
||||
|
||||
@@ -3402,7 +3402,7 @@ void Bot::AI_Process()
|
||||
// 'class Client' doesn't make use of hate_list...
|
||||
if (bot_owner->GetAggroCount() && bot_owner->GetBotOption(Client::booAutoDefend)) {
|
||||
|
||||
if (RuleB(Bots, AllowOwnerAutoDefend)) {
|
||||
if (RuleB(Bots, AllowOwnerOptionAutoDefend)) {
|
||||
|
||||
if (NOT_HOLDING && NOT_PASSIVE) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user