aboutsummaryrefslogtreecommitdiff
path: root/src/creature.h
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/creature.h
parent9e6936d325751a7e0670e8cc6aa61faf048cb241 (diff)
downloaddmtool-77b43093c7b157e8ff0b68af4efd0eff226da35a.tar.gz
dmtool-77b43093c7b157e8ff0b68af4efd0eff226da35a.tar.bz2
dmtool-77b43093c7b157e8ff0b68af4efd0eff226da35a.zip
Added damage and heal commands
Diffstat (limited to 'src/creature.h')
-rw-r--r--src/creature.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/creature.h b/src/creature.h
index e89978e..ee4d5ba 100644
--- a/src/creature.h
+++ b/src/creature.h
@@ -84,6 +84,7 @@ namespace creature {
// Setters (mutators)
void setGivenName(std::string name) {givenName = name;}
void applyDamage(int amount, const std::string& type, const std::vector<std::string>& qualifiers);
+ void applyHealing(int amount);
void setScore(const rules::Ability& ability, int score);
void setProfLevel(const rules::Skill& skill, int level);
void addInventoryItem(std::shared_ptr<entry::Item> item);