]> git.localhorst.tv Git - l2e.git/blobdiff - src/common/Ikari.h
first scripting implementation
[l2e.git] / src / common / Ikari.h
index a5751063e7057472ee1d608d8e0c533c63151b89..979015b636ed318d8c08666117aea888934765fd 100644 (file)
@@ -28,8 +28,6 @@ public:
        bool IsMagical() const { return !isPhysical; }
        bool IsPhysical() const { return isPhysical; }
 
-       // TODO: add missing ikari properties
-
 // temporary setters
 public:
        void SetName(const char *n) { name = n; }
@@ -37,10 +35,13 @@ public:
        void SetMagical() { isPhysical = false; }
        void SetPhysical() { isPhysical = true; }
 
+       static void CreateTypeDescription();
+       static void Construct(void *);
+
 private:
        const char *name;
 
-       Uint8 cost;
+       int cost;
        TargetingMode targetingMode;
 
        bool isPhysical;