Command help cleanup

This commit is contained in:
nytmyr
2024-11-26 11:18:11 -06:00
parent 4702d74722
commit 3d67009de5
27 changed files with 300 additions and 315 deletions
+12 -1
View File
@@ -94,7 +94,8 @@ void bot_command_cast(Client* c, const Seperator* sep)
popup_text = DialogueWindow::Table(popup_text);
c->SendPopupToClient(sep->arg[0], popup_text.c_str());
c->CastToBot()->SendSpellTypesWindow(c, sep->arg[0], "", "", true);
SendSpellTypePrompts(c, true);
c->Message(
Chat::Yellow,
fmt::format(
@@ -103,6 +104,16 @@ void bot_command_cast(Client* c, const Seperator* sep)
).c_str()
);
if (RuleB(Bots, SendClassRaceOnHelp)) {
c->Message(
Chat::Yellow,
fmt::format(
"Use {} for information about race/class IDs.",
Saylink::Silent("^classracelist")
).c_str()
);
}
return;
}