X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcommon%2FIkari.h;h=201c601f3c6a0d128df815a957ded710a9b69463;hb=cc3d698b8c1ad09d7a3f9e3f28bc84e0ac1735ea;hp=299953824df6374cff9e95f36e4f443e8fa22c9d;hpb=70641f2eb3f9fce8c89dcbf345e202050609a142;p=l2e.git diff --git a/src/common/Ikari.h b/src/common/Ikari.h index 2999538..201c601 100644 --- a/src/common/Ikari.h +++ b/src/common/Ikari.h @@ -1,10 +1,3 @@ -/* - * Ikari.h - * - * Created on: Aug 10, 2012 - * Author: holy - */ - #ifndef COMMON_IKARI_H_ #define COMMON_IKARI_H_ @@ -15,6 +8,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 +31,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;