From 3f78a7e1647ba94129236bd2bf4fc855c109628a Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 3 Jan 2022 16:25:45 -0500 Subject: Added command to force a saving throw --- src/creature.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/creature.h') 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& qualifiers); + // Returns the amount rolled + int saveOrDamage(const rules::Ability& ability, int DC, int amount, const std::string& type, const std::vector& qualifiers, bool saveHalves); void applyHealing(int amount); void opportunityAttack(const creature::Creature& other); -- cgit v1.2.3