diff options
Diffstat (limited to 'src/dmtool.cc')
-rw-r--r-- | src/dmtool.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dmtool.cc b/src/dmtool.cc index 90f7813..e84630b 100644 --- a/src/dmtool.cc +++ b/src/dmtool.cc @@ -9,6 +9,7 @@ const std::map<std::string, std::vector<int>> nargs({ {"cp", {2}}, {"mv", {2}}, {"attacks", {1}}, + {"attack", {3}}, {"damage", {2, 3}}, {"heal", {2}}, {"spellcasting", {2, 3, 4}}, @@ -64,6 +65,7 @@ int main(int argc, char *argv[]) { else if(cmd == "rm") std::cout << cmd::rm(args); else if(cmd == "attacks") std::cout << cmd::attacks(args); else if(cmd == "roll") std::cout << cmd::roll(args); + else if(cmd == "attack") std::cout << cmd::attack(args, flags); else if(cmd == "damage") std::cout << cmd::damage(args, flags); else if(cmd == "heal") std::cout << cmd::heal(args); else if(cmd == "reset") std::cout << cmd::reset(args); |