aboutsummaryrefslogtreecommitdiff
path: root/src/weapon.h
diff options
context:
space:
mode:
authorYour Name <you@example.com>2021-12-23 20:43:29 -0500
committerYour Name <you@example.com>2021-12-23 20:43:29 -0500
commitd8d1056af0383f0ef67c6d70d1594bcb430d7281 (patch)
tree2a57e74603af6da70d0df2f4b91d68ac7830f482 /src/weapon.h
parent3632c99f94b762da6c069da10f830f63017dd1c8 (diff)
downloaddmtool-d8d1056af0383f0ef67c6d70d1594bcb430d7281.tar.gz
dmtool-d8d1056af0383f0ef67c6d70d1594bcb430d7281.tar.bz2
dmtool-d8d1056af0383f0ef67c6d70d1594bcb430d7281.zip
Fixed handling of ability override
Diffstat (limited to 'src/weapon.h')
-rw-r--r--src/weapon.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/weapon.h b/src/weapon.h
index 707edd9..fc58262 100644
--- a/src/weapon.h
+++ b/src/weapon.h
@@ -38,6 +38,9 @@ namespace entry {
int getCost(void) const;
double getWeight(void) const;
+ int getToHitBonus(const creature::Creature& c) const;
+ int getDamageBonus(const creature::Creature& c) const;
+
virtual std::string getText() const override;
virtual std::string getText(const creature::Creature& c) const override;