X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcommon%2FIkari.h;h=557e77d857baf9f2d8e63b00fa1ca7c565ebd3a7;hb=95bbd3d0b18007bf8614b1bf16042949b12fc641;hp=a5751063e7057472ee1d608d8e0c533c63151b89;hpb=41983a2cd8dbbfe6adc02cdfccbf5c2887306e51;p=l2e.git diff --git a/src/common/Ikari.h b/src/common/Ikari.h index a575106..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(); @@ -28,8 +31,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 +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;