X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcommon%2FSpell.h;fp=src%2Fcommon%2FSpell.h;h=9bf0a4b8c5b6b689d3f600db671be15ea162dd6d;hb=76bfe67c6f41be9c862213a3cba919e6c00955b0;hp=d32de4689e780044b14092628f06040b498ce750;hpb=06cdcf42d8f86955419bcf8ca3457f1d59a14707;p=l2e.git diff --git a/src/common/Spell.h b/src/common/Spell.h index d32de46..9bf0a4b 100644 --- a/src/common/Spell.h +++ b/src/common/Spell.h @@ -38,6 +38,8 @@ public: void SetCost(Uint8 c) { cost = c; } void SetUsableInBattle() { usability |= USABILITY_BATTLE; } + static void CreateTypeDescription(); + private: enum Usability { // USABILITY_UNUSED = 1, @@ -53,9 +55,9 @@ private: private: const char *name; - Uint16 value; + int value; - Uint8 cost; + int cost; Uint8 usability; TargetingMode targetingMode; HeroGroup usableBy;