[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
+6
View File
@@ -12,6 +12,12 @@ void bot_command_max_melee_range(Client* c, const Seperator* sep)
BotCommandHelpParams p;
p.description = { "Toggles whether or not bots will stay at max melee range during combat."};
p.notes = {
fmt::format(
"- Bots {} use special abilities when set to max melee range (taunt, kick, bash, etc).",
RuleB(Bots, DisableSpecialAbilitiesAtMaxMelee) ? "will not" : "will"
)
};
p.example_format ={ fmt::format("{} [value] [actionable]", sep->arg[0]) };
p.examples_one =
{