diff options
author | Your Name <you@example.com> | 2021-12-25 16:52:34 -0500 |
---|---|---|
committer | Your Name <you@example.com> | 2021-12-25 16:52:34 -0500 |
commit | 52b91a1aca6640b1797a63afc8a9e9a778b0964a (patch) | |
tree | 0cfb8ebe6a0a511607b3acc6c67228b796cd9c90 /src/weapon.h | |
parent | d8d1056af0383f0ef67c6d70d1594bcb430d7281 (diff) | |
download | dmtool-52b91a1aca6640b1797a63afc8a9e9a778b0964a.tar.gz dmtool-52b91a1aca6640b1797a63afc8a9e9a778b0964a.tar.bz2 dmtool-52b91a1aca6640b1797a63afc8a9e9a778b0964a.zip |
Added capability to cause two npcs to attack each other
Diffstat (limited to 'src/weapon.h')
-rw-r--r-- | src/weapon.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/weapon.h b/src/weapon.h index fc58262..49de396 100644 --- a/src/weapon.h +++ b/src/weapon.h @@ -15,7 +15,10 @@ namespace entry { std::vector<rules::Ability> getAbilityOptions(const Weapon& w); std::vector<Damage> rollDmg(const Weapon& w, bool versatile=false); + // Prints for both versatile options (if applicable) std::string formatDmg(const Weapon& w, const creature::Creature& c); + // Prints for just the dmg provided + std::string formatDmg(const Weapon& w, const creature::Creature& c, const std::vector<Damage>& dmg); struct Damage { int dmg_die_count; |