X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2FSpell.h;h=f300197427c2d9567ec5c7b878675e7aed3006c4;hb=350055a7ff27c74882aff8a4d6af2014782f830b;hp=e9befa900184ce499ba8135aea6a7e940a0a3bb6;hpb=6a954cc1f6324d61282e21ec0d7dee6e6265f44f;p=l2e.git diff --git a/src/common/Spell.h b/src/common/Spell.h index e9befa9..f300197 100644 --- a/src/common/Spell.h +++ b/src/common/Spell.h @@ -8,7 +8,6 @@ #ifndef COMMON_SPELL_H_ #define COMMON_SPELL_H_ -#include "HeroGroup.h" #include "TargetingMode.h" namespace common { @@ -32,8 +31,7 @@ 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 *); @@ -53,7 +51,7 @@ private: int cost; TargetingMode targetingMode; - HeroGroup usableBy; + int heroMask; bool status; bool battle;