mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 19:51:29 +00:00
[Bots] Fix ^defensive from checking aggressive disciplines. (#3787)
Bots were checking for aggressive disciplines with both ^aggressive and ^defensive.
This commit is contained in:
parent
b3cd4e63f1
commit
933b83add6
@ -3302,7 +3302,7 @@ void bot_command_defensive(Client *c, const Seperator *sep)
|
|||||||
auto local_entry = list_iter->SafeCastToStance();
|
auto local_entry = list_iter->SafeCastToStance();
|
||||||
if (helper_spell_check_fail(local_entry))
|
if (helper_spell_check_fail(local_entry))
|
||||||
continue;
|
continue;
|
||||||
if (local_entry->stance_type != BCEnum::StT_Aggressive)
|
if (local_entry->stance_type != BCEnum::StT_Defensive)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
for (auto bot_iter = sbl.begin(); bot_iter != sbl.end(); ) {
|
for (auto bot_iter = sbl.begin(); bot_iter != sbl.end(); ) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user