]> git.localhorst.tv Git - l2e.git/blobdiff - src/common/Spell.h
removed stupid file headers that eclipse put in
[l2e.git] / src / common / Spell.h
index 0f864b81bda0c3c8bd42373e24cf324e82c9a3b1..2e2beb5226bf7952124df86f019b08a53f7e4057 100644 (file)
@@ -1,14 +1,6 @@
-/*
- * Spell.h
- *
- *  Created on: Aug 10, 2012
- *      Author: holy
- */
-
 #ifndef COMMON_SPELL_H_
 #define COMMON_SPELL_H_
 
-#include "HeroGroup.h"
 #include "TargetingMode.h"
 
 namespace common {
@@ -32,8 +24,9 @@ public:
        TargetingMode &GetTargetingMode() { return targetingMode; }
        const TargetingMode &GetTargetingMode() const { return targetingMode; }
 
-       HeroGroup &UsableBy() { return usableBy; }
-       const HeroGroup &UsableBy() const { return usableBy; }
+       int HeroMask() const { return heroMask; }
+
+       static bool Less(const Spell *, const Spell *);
 
 // temporary setters
 public:
@@ -51,7 +44,7 @@ private:
 
        int cost;
        TargetingMode targetingMode;
-       HeroGroup usableBy;
+       int heroMask;
 
        bool status;
        bool battle;