]> git.localhorst.tv Git - l2e.git/blobdiff - src/common/Spell.h
added partial type description of Spell
[l2e.git] / src / common / Spell.h
index d32de4689e780044b14092628f06040b498ce750..9bf0a4b8c5b6b689d3f600db671be15ea162dd6d 100644 (file)
@@ -38,6 +38,8 @@ public:
        void SetCost(Uint8 c) { cost = c; }
        void SetUsableInBattle() { usability |= USABILITY_BATTLE; }
 
+       static void CreateTypeDescription();
+
 private:
        enum Usability {
                // USABILITY_UNUSED = 1,
@@ -53,9 +55,9 @@ private:
 private:
        const char *name;
 
-       Uint16 value;
+       int value;
 
-       Uint8 cost;
+       int cost;
        Uint8 usability;
        TargetingMode targetingMode;
        HeroGroup usableBy;