mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 08:08:25 +00:00
Move toggleranged, togglehelm and illusionblock to new help window. Add actionable support
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user