X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcommon%2FIkari.h;h=557e77d857baf9f2d8e63b00fa1ca7c565ebd3a7;hb=590f468d34edb704de415d05d51f087da106a547;hp=299953824df6374cff9e95f36e4f443e8fa22c9d;hpb=70641f2eb3f9fce8c89dcbf345e202050609a142;p=l2e.git diff --git a/src/common/Ikari.h b/src/common/Ikari.h index 2999538..557e77d 100644 --- a/src/common/Ikari.h +++ b/src/common/Ikari.h @@ -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;