X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcommon%2FSpell.h;fp=src%2Fcommon%2FSpell.h;h=f300197427c2d9567ec5c7b878675e7aed3006c4;hb=5795ffa948c6e39a624c4fc7773a99afb87579e1;hp=e9befa900184ce499ba8135aea6a7e940a0a3bb6;hpb=c5ee1039b4cc41615c2402ecd7a73f62f9a7d2f5;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;