[Cleanup] Bot RaidGroupSay (#4653)

This commit is contained in:
nytmyr
2025-02-07 13:06:31 -06:00
committed by GitHub
parent 41009aa19b
commit 60ba76b39c
15 changed files with 38 additions and 90 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ void bot_command_pick_lock(Client *c, const Seperator *sep)
Bot* my_bot = sbl.front();
my_bot->InterruptSpell();
Bot::RaidGroupSay(my_bot, "Attempting to pick the lock.");
my_bot->RaidGroupSay("Attempting to pick the lock.");
std::list<Doors*> door_list;
entity_list.GetDoorsList(door_list);
@@ -51,7 +51,7 @@ void bot_command_pick_lock(Client *c, const Seperator *sep)
++open_count;
}
else {
Bot::RaidGroupSay(my_bot, "I am not skilled enough for this lock.");
my_bot->RaidGroupSay("I am not skilled enough for this lock.");
}
}
c->Message(Chat::White, "%i door%s attempted - %i door%s successful", door_count, ((door_count != 1) ? ("s") : ("")), open_count, ((open_count != 1) ? ("s") : ("")));