diff options
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index ff26e701..691307ba 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -35,6 +35,15 @@ class Inventory; class Item; class Map; + +struct Special +{ + int currentMana; + int neededMana; + int recharge; +}; + + /** * Attributes used during combat. Available to all the beings. */ @@ -172,6 +181,11 @@ class LocalPlayer : public Player void useSpecial(int id); + void setSpecialStatus(int id, int current, int max, int recharge); + + const std::map<int, Special> &getSpecialStatus() const + { return mSpecials; } + void attack(Being *target = NULL, bool keep = false); /** @@ -385,6 +399,9 @@ class LocalPlayer : public Player std::map<int, std::pair<int, int> > mSkillExp; int mCharacterPoints; int mCorrectionPoints; + int mLevelProgress; + std::map<int, Special> mSpecials; + char mSpecialRechargeUpdateNeeded; int mLevel; int mExp, mExpNeeded; int mMp, mMaxMp; |