]> git.localhorst.tv Git - l2e.git/blobdiff - src/common/Capsule.h
added upgrade items for capsule's final class
[l2e.git] / src / common / Capsule.h
index ef4caf687a36af03385b4f4726444da2105a6b93..bf99cfa1ad376660c322c97640515ec9b71f4dce 100644 (file)
@@ -54,6 +54,9 @@ public:
        bool IsHungry() const;
        void Feed(const common::Item *);
 
+       const common::Item *UpgradeItem() const;
+       void UpgradeSpecial();
+
        Uint16 MaxHealth() const;
 
        Stats GetStats() const;
@@ -88,6 +91,8 @@ private:
                graphics::Animation *attackAnimation;
                graphics::Animation *spellAnimation;
 
+               const common::Item *upgradeItem;
+               int upgradeClass;
                int hunger;
                int hungerFull;