aboutsummaryrefslogtreecommitdiff
path: root/src/rules.cc
diff options
context:
space:
mode:
authorYour Name <you@example.com>2021-05-02 10:12:49 -0400
committerYour Name <you@example.com>2021-05-02 10:12:49 -0400
commit77b43093c7b157e8ff0b68af4efd0eff226da35a (patch)
treeaf051e78ebe6c26ea373b50fb266935e0b51f9fa /src/rules.cc
parent9e6936d325751a7e0670e8cc6aa61faf048cb241 (diff)
downloaddmtool-77b43093c7b157e8ff0b68af4efd0eff226da35a.tar.gz
dmtool-77b43093c7b157e8ff0b68af4efd0eff226da35a.tar.bz2
dmtool-77b43093c7b157e8ff0b68af4efd0eff226da35a.zip
Added damage and heal commands
Diffstat (limited to 'src/rules.cc')
-rw-r--r--src/rules.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/rules.cc b/src/rules.cc
index a9ca395..15dcb34 100644
--- a/src/rules.cc
+++ b/src/rules.cc
@@ -30,4 +30,14 @@ namespace rules {
{"Performance", "cha"},
{"Persuasion", "cha"}
};
+
+ std::ostream& operator<<(std::ostream& os, const Ability& a) {
+ os << std::string(a);
+ return os;
+ }
+
+ std::ostream& operator<<(std::ostream& os, const Skill& s) {
+ os << std::string(s);
+ return os;
+ }
}