[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
+3 -6
View File
@@ -171,8 +171,7 @@ void bot_command_depart(Client* c, const Seperator* sep)
}
}
Bot::RaidGroupSay(
bot_iter,
bot_iter->RaidGroupSay(
fmt::format(
"I can port you to {}.",
Saylink::Silent(
@@ -207,8 +206,7 @@ void bot_command_depart(Client* c, const Seperator* sep)
}
if (bot_iter->IsCommandedSpell() && bot_iter->IsCasting()) {
Bot::RaidGroupSay(
bot_iter,
bot_iter->RaidGroupSay(
fmt::format(
"Interrupting {}. I have been commanded to try to cast a [{}] spell, {} on {}.",
bot_iter->CastingSpellID() ? spells[bot_iter->CastingSpellID()].name : "my spell",
@@ -229,8 +227,7 @@ void bot_command_depart(Client* c, const Seperator* sep)
bot_iter->SetCastedSpellType(BotSpellTypes::Teleport);
}
Bot::RaidGroupSay(
bot_iter,
bot_iter->RaidGroupSay(
fmt::format(
"Casting {} [{}] on {}.",
GetSpellName(itr->SpellId),