aboutsummaryrefslogtreecommitdiff
path: root/src/creature.h
diff options
context:
space:
mode:
authorYour Name <you@example.com>2022-01-03 16:25:45 -0500
committerYour Name <you@example.com>2022-01-03 16:25:45 -0500
commit3f78a7e1647ba94129236bd2bf4fc855c109628a (patch)
tree0a1538d44715738c8cbbae00bf1995777227b963 /src/creature.h
parentd222c5a39943ed9f83f11d63a42bdff4978179af (diff)
downloaddmtool-3f78a7e1647ba94129236bd2bf4fc855c109628a.tar.gz
dmtool-3f78a7e1647ba94129236bd2bf4fc855c109628a.tar.bz2
dmtool-3f78a7e1647ba94129236bd2bf4fc855c109628a.zip
Added command to force a saving throw
Diffstat (limited to 'src/creature.h')
-rw-r--r--src/creature.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/creature.h b/src/creature.h
index d8dbf29..09760e3 100644
--- a/src/creature.h
+++ b/src/creature.h
@@ -91,6 +91,8 @@ namespace creature {
void turnStart(void);
void turnEnd(void);
void applyDamage(int amount, const std::string& type, const std::vector<rules::Qualifier>& qualifiers);
+ // Returns the amount rolled
+ int saveOrDamage(const rules::Ability& ability, int DC, int amount, const std::string& type, const std::vector<rules::Qualifier>& qualifiers, bool saveHalves);
void applyHealing(int amount);
void opportunityAttack(const creature::Creature& other);