diff options
author | Your Name <you@example.com> | 2022-08-09 16:57:53 -0400 |
---|---|---|
committer | Your Name <you@example.com> | 2022-08-09 16:57:53 -0400 |
commit | 5937d893da5656be3f486c863ae54e08bbe66579 (patch) | |
tree | 15aedaf0753fcf73fe85e90e88a7d0af33036eca /src/weapon.h | |
parent | 947d83c59ea86615e3a81a2ec122d843b5eceee9 (diff) | |
download | dmtool-5937d893da5656be3f486c863ae54e08bbe66579.tar.gz dmtool-5937d893da5656be3f486c863ae54e08bbe66579.tar.bz2 dmtool-5937d893da5656be3f486c863ae54e08bbe66579.zip |
Added generic items, worked on features
Diffstat (limited to 'src/weapon.h')
-rw-r--r-- | src/weapon.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/weapon.h b/src/weapon.h index 49de396..dc81689 100644 --- a/src/weapon.h +++ b/src/weapon.h @@ -29,7 +29,7 @@ namespace entry { }; NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(Damage, dmg_die_count, dmg_die_sides, dmg_type, is_or); - class Weapon : public Item, public Substantial { + class Weapon : public Item { public: Weapon(); @@ -38,8 +38,6 @@ namespace entry { std::string getWeaponType(void) const; std::pair<int, int> getRange(void) const; int getReach(void) const; - int getCost(void) const; - double getWeight(void) const; int getToHitBonus(const creature::Creature& c) const; int getDamageBonus(const creature::Creature& c) const; |