From 5937d893da5656be3f486c863ae54e08bbe66579 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 9 Aug 2022 16:57:53 -0400 Subject: Added generic items, worked on features --- src/weapon.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/weapon.h') 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 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; -- cgit v1.2.3