]> git.localhorst.tv Git - l2e.git/blobdiff - src/common/Ikari.h
switched to hand-written makefiles
[l2e.git] / src / common / Ikari.h
index 299953824df6374cff9e95f36e4f443e8fa22c9d..557e77d857baf9f2d8e63b00fa1ca7c565ebd3a7 100644 (file)
@@ -15,6 +15,9 @@ namespace common {
 // TODO: looks like Ikari and Spell have _quite_ a lot in common…
 class Ikari {
 
+public:
+       static const int TYPE_ID = 302;
+
 public:
        Ikari();
 
@@ -35,10 +38,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;