aboutsummaryrefslogtreecommitdiff
path: root/src/cmd_usage.cc
diff options
context:
space:
mode:
authorYour Name <you@example.com>2021-05-18 16:26:49 -0400
committerYour Name <you@example.com>2021-05-18 16:26:49 -0400
commit38e33d8756a5b652965be8ada478b5c4238b857c (patch)
treed4e3b166103c4c0cc8d3a4ed963333a2982bb366 /src/cmd_usage.cc
parente044fc4255aa64ef1dbc3d20ed87ed6e2f61a6bd (diff)
downloaddmtool-38e33d8756a5b652965be8ada478b5c4238b857c.tar.gz
dmtool-38e33d8756a5b652965be8ada478b5c4238b857c.tar.bz2
dmtool-38e33d8756a5b652965be8ada478b5c4238b857c.zip
Added spellcasting command
Diffstat (limited to 'src/cmd_usage.cc')
-rw-r--r--src/cmd_usage.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmd_usage.cc b/src/cmd_usage.cc
index 03dae56..53e9d01 100644
--- a/src/cmd_usage.cc
+++ b/src/cmd_usage.cc
@@ -40,6 +40,11 @@ namespace cmd {
text << indDesc << "Add entry to creature, where entry is an item or spell." << std::endl;
text << indOpt << "del path entry" << std::endl;
text << indDesc << "Delete entry from creature, where entry is an item or spell." << std::endl;
+ text << indOpt << "spellcasting path SUBCOMMAND" << std::endl;
+ text << indDesc << "Manipulate creature's spellcasting feature, where subcommand is any of:" << std::endl;
+ text << indDesc << " init; adds spellcasting to a creature which currently does not have spellcasting" << std::endl;
+ text << indDesc << " ability value; sets the spellcasting ability, where value is the ability name" << std::endl;
+ text << indDesc << " level l slots; sets the number of slots at spell level l to slots" << std::endl;
text << indOpt << "help" << std::endl;
text << indDesc << "Show this help." << std::endl;
return text.str();