X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcommon%2FSpell.h;h=e9befa900184ce499ba8135aea6a7e940a0a3bb6;hb=a66a2c0b644eed7535f5188d44f6065c0105957d;hp=d9601260a007e84ae482c5ffeedcf35d8ad2c99a;hpb=7bdb085319a41fc51658a086696ab81c6b18ae52;p=l2e.git diff --git a/src/common/Spell.h b/src/common/Spell.h index d960126..e9befa9 100644 --- a/src/common/Spell.h +++ b/src/common/Spell.h @@ -15,6 +15,9 @@ namespace common { class Spell { +public: + static const int TYPE_ID = 304; + public: Spell(); @@ -32,6 +35,8 @@ public: HeroGroup &UsableBy() { return usableBy; } const HeroGroup &UsableBy() const { return usableBy; } + static bool Less(const Spell *, const Spell *); + // temporary setters public: void SetName(const char *n) { name = n; }