diff options
Diffstat (limited to 'src/cmd.h')
-rw-r--r-- | src/cmd.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -19,6 +19,7 @@ namespace cmd { // Manipulators std::string heal(std::vector<std::string> args); std::string damage(std::vector<std::string> args, std::vector<std::string> flags); + std::string attack(std::vector<std::string> args, std::vector<std::string> flags); std::string reset(std::vector<std::string> args); std::string set(std::vector<std::string> args); std::string add(std::vector<std::string> args); @@ -36,4 +37,7 @@ namespace cmd { // Not idempotent: only do once! std::filesystem::path getTruePath(std::filesystem::path virtPath); std::vector<std::string> getVirtDirs(void); + + // Helper functions + std::string formatRoll(std::string name, std::string type, int rolled, int bonus); } |