mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 12:18:27 +00:00
[Bots] Add missing stance options (#4681)
- Moved stance check to function - Added check for Efficient and Assist stances. - Sets aggressive to ignore aggrochecks by default - Adds more types to default aggrocheck list - Sets Assist to hold CCs
This commit is contained in:
@@ -1263,12 +1263,7 @@ void bot_command_stance(Client *c, const Seperator *sep)
|
||||
if (sep->IsNumber(1)) {
|
||||
++ab_arg;
|
||||
value = atoi(sep->arg[1]);
|
||||
if (
|
||||
value < Stance::Passive ||
|
||||
value > Stance::AEBurn ||
|
||||
value == Stance::Reactive ||
|
||||
value == Stance::Assist
|
||||
) {
|
||||
if (!Bot::IsValidBotStance(value)) {
|
||||
c->Message(
|
||||
Chat::Yellow,
|
||||
fmt::format(
|
||||
|
||||
Reference in New Issue
Block a user