Move toggleranged, togglehelm and illusionblock to new help window. Add actionable support

This commit is contained in:
nytmyr
2025-01-25 07:01:21 -06:00
parent b82ed57cd4
commit 2df4a4e436
3 changed files with 289 additions and 64 deletions
+2 -1
View File
@@ -54,7 +54,6 @@ void bot_command_illusion_block(Client* c, const Seperator* sep)
);
}
return;
}
@@ -94,6 +93,7 @@ void bot_command_illusion_block(Client* c, const Seperator* sep)
const int ab_mask = ActionableBots::ABM_Type1;
std::string class_race_arg = sep->arg[ab_arg];
bool class_race_check = false;
if (!class_race_arg.compare("byclass") || !class_race_arg.compare("byrace")) {
class_race_check = true;
}
@@ -131,6 +131,7 @@ void bot_command_illusion_block(Client* c, const Seperator* sep)
++success_count;
}
}
if (!current_check) {
if (success_count == 1 && first_found) {
c->Message(