[Bots] Command Cleanup (#4676)

- Fix ^discipline saying no bots were selected
- Adds more information to certain commands to explain how they function.
- Rewrote ^copysettings and ^defaultsettings to not be so bloated and accept arguments properly.
- Added long names for setting categories
- Add Spell ID output to ^spells
This commit is contained in:
nytmyr
2025-02-15 15:00:14 -06:00
committed by GitHub
parent 74b8cf8bd3
commit fd3f5cfd29
15 changed files with 369 additions and 719 deletions
+7 -7
View File
@@ -480,7 +480,7 @@ void bot_command_follow_distance(Client *c, const Seperator *sep)
p.description = { "Sets or resets the follow distance of the selected bots." };
p.notes =
{
fmt::format("[Default]: {}", RuleI(Bots, MaxFollowDistance)),
fmt::format("[Default]: {}", RuleI(Bots, DefaultFollowDistance)),
fmt::format("- You must use a value between 1 and {}.", RuleI(Bots, MaxFollowDistance))
};
p.example_format = { fmt::format("{} [reset]/[set [value]] [actionable]", sep->arg[0]) };
@@ -1154,7 +1154,7 @@ void bot_command_stance(Client *c, const Seperator *sep)
p.description = { "Change a bot's stance to control the way it behaves." };
p.notes =
{
"- <b>Changing a stance will reset all settings to match that stance type.</b>",
"- Changing a stance will reset all settings to match that stance type.",
"- Any changes made will only save to that stance for future use.",
fmt::format(
"- {} (#{}) will tell Non-Warrior classes to taunt automatically.",
@@ -1181,16 +1181,16 @@ void bot_command_stance(Client *c, const Seperator *sep)
Stance::AEBurn
),
"<br>",
fmt::format(
"- {} (#{}) [Default] - Overall balance and casts most spell types by default.",
Stance::GetName(Stance::Balanced),
Stance::Balanced
),
fmt::format(
"- {} (#{}) - Idle. Does not cast or engage in combat.",
Stance::GetName(Stance::Passive),
Stance::Passive
),
fmt::format(
"- {} (#{}) [Default] - Overall balance and casts most spell types by default.",
Stance::GetName(Stance::Balanced),
Stance::Balanced
),
fmt::format(
"- {} (#{}) - More mana and aggro efficient (SKs will still cast hate line). Longer delays between detrimental spells, thresholds adjusted to cast less often.",
Stance::GetName(Stance::Efficient),