summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp1
-rw-r--r--src/being/being.h7
2 files changed, 8 insertions, 0 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index bca500fe8..58fb9b2b7 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -224,6 +224,7 @@ Being::Being(const BeingId id,
mCriticalHit(0),
mPvpRank(0),
mNumber(100),
+ mSpiritBalls(0U),
mUsageCounter(1),
mKarma(0),
mManner(0),
diff --git a/src/being/being.h b/src/being/being.h
index 461a8626f..10e1b8482 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -920,6 +920,12 @@ class Being notfinal : public ActorSprite,
std::string getBuyBoard() const A_WARN_UNUSED
{ return mBuyBoard; }
+
+ void setSpiritBalls(const unsigned int balls)
+ { mSpiritBalls = balls; }
+
+ unsigned int getSpiritBalls() const A_WARN_UNUSED
+ { return mSpiritBalls; }
#endif
void setKarma(const int karma)
@@ -1154,6 +1160,7 @@ class Being notfinal : public ActorSprite,
int mCriticalHit;
unsigned int mPvpRank;
unsigned int mNumber;
+ unsigned int mSpiritBalls;
int mUsageCounter;
int mKarma;
int mManner;