From 52b91a1aca6640b1797a63afc8a9e9a778b0964a Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 25 Dec 2021 16:52:34 -0500 Subject: Added capability to cause two npcs to attack each other --- src/weapon.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/weapon.h') 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 getAbilityOptions(const Weapon& w); std::vector 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& dmg); struct Damage { int dmg_die_count; -- cgit v1.2.3