X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcommon%2FSpell.h;h=2cb14ef94d9ec3e5771e791472e77b95d2f31807;hb=f6548c2aabfb371bd81382d7800e6e2cdb826e06;hp=e9befa900184ce499ba8135aea6a7e940a0a3bb6;hpb=6a954cc1f6324d61282e21ec0d7dee6e6265f44f;p=l2e.git diff --git a/src/common/Spell.h b/src/common/Spell.h index e9befa9..2cb14ef 100644 --- a/src/common/Spell.h +++ b/src/common/Spell.h @@ -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,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 +44,7 @@ private: int cost; TargetingMode targetingMode; - HeroGroup usableBy; + int heroMask; bool status; bool battle; @@ -62,4 +53,4 @@ private: } -#endif /* COMMON_SPELL_H_ */ +#endif