From 933b83add6050e04ab3cb51165c8d9c7d237b67d Mon Sep 17 00:00:00 2001 From: nytmyr <53322305+nytmyr@users.noreply.github.com> Date: Mon, 18 Dec 2023 15:38:37 -0600 Subject: [PATCH] [Bots] Fix ^defensive from checking aggressive disciplines. (#3787) Bots were checking for aggressive disciplines with both ^aggressive and ^defensive. --- zone/bot_command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/bot_command.cpp b/zone/bot_command.cpp index 544a1bc14..04422233f 100644 --- a/zone/bot_command.cpp +++ b/zone/bot_command.cpp @@ -3302,7 +3302,7 @@ void bot_command_defensive(Client *c, const Seperator *sep) auto local_entry = list_iter->SafeCastToStance(); if (helper_spell_check_fail(local_entry)) continue; - if (local_entry->stance_type != BCEnum::StT_Aggressive) + if (local_entry->stance_type != BCEnum::StT_Defensive) continue; for (auto bot_iter = sbl.begin(); bot_iter != sbl.end(); ) {