Cleanup command format changes, remove hardcoded class IDs in examples.

This commit is contained in:
nytmyr
2025-01-22 16:41:48 -06:00
parent 42b4174861
commit 850e996b71
24 changed files with 101 additions and 186 deletions
+8 -12
View File
@@ -19,27 +19,23 @@ void bot_command_spell_engaged_priority(Client* c, const Seperator* sep)
};
p.example_format =
{
fmt::format(
"{} [Type Shortname] [value] [actionable]"
, sep->arg[0]
),
fmt::format(
"{} [Type ID] [value] [actionable]"
, sep->arg[0]
)
fmt::format("{} [Type Shortname] [value] [actionable]", sep->arg[0]),
fmt::format("{} [Type ID] [value] [actionable]", sep->arg[0])
};
p.examples_one =
{
"To set all Shaman to cast slows first:",
fmt::format(
"{} {} 1 byclass 10",
"{} {} 1 byclass {}",
sep->arg[0],
c->GetSpellTypeShortNameByID(BotSpellTypes::Slow)
c->GetSpellTypeShortNameByID(BotSpellTypes::Slow),
Class::Shaman
),
fmt::format(
"{} {} 1 byclass 10",
"{} {} 1 byclass {}",
sep->arg[0],
BotSpellTypes::Slow
BotSpellTypes::Slow,
Class::Shaman
)
};
p.examples_two =