X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcommon%2FHero.h;h=dcbc7827547604a8f3a34a4541a51361e251a429;hb=5795ffa948c6e39a624c4fc7773a99afb87579e1;hp=70d21f202b7551dd11a45642a949871286036ba7;hpb=c5ee1039b4cc41615c2402ecd7a73f62f9a7d2f5;p=l2e.git diff --git a/src/common/Hero.h b/src/common/Hero.h index 70d21f2..dcbc782 100644 --- a/src/common/Hero.h +++ b/src/common/Hero.h @@ -50,6 +50,9 @@ public: int Experience() const { return experience; } int NextLevel() const; + bool CanEquip(const Item &) const; + bool CanInvoke(const Spell &) const; + Item *Weapon() { return weapon; } Item *Armor() { return armor; } Item *Shield() { return shield; } @@ -119,6 +122,8 @@ private: int *levelLadder; int numLevels; + int useMask; + Item *weapon; Item *armor; Item *shield;