X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcommon%2FHero.h;fp=src%2Fcommon%2FHero.h;h=70d21f202b7551dd11a45642a949871286036ba7;hb=5ff22859ee5966297862d3384206fa2cf52da7ca;hp=1905c815e9cac9cbb7549c0f276b8054a6c9a035;hpb=a66a2c0b644eed7535f5188d44f6065c0105957d;p=l2e.git diff --git a/src/common/Hero.h b/src/common/Hero.h index 1905c81..70d21f2 100644 --- a/src/common/Hero.h +++ b/src/common/Hero.h @@ -71,6 +71,13 @@ public: bool HasRing() const { return ring; } bool HasJewel() const { return jewel; } + void RemoveWeapon() { weapon = 0; } + void RemoveArmor() { armor = 0; } + void RemoveShield() { shield = 0; } + void RemoveHelmet() { helmet = 0; } + void RemoveRing() { ring = 0; } + void RemoveJewel() { jewel = 0; } + std::vector &Spells() { return spells; } const std::vector &Spells() const { return spells; }