diff options
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index f4ba3747..55e63d40 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -92,6 +92,16 @@ class LocalPlayer : public Player void useItem(Item *item); void dropItem(Item *item, int quantity); void pickUp(FloorItem *item); + + /** + * Sets the attack range. + */ + void setAttackRange(int range) { mAttackRange = range; } + + /** + * Gets the attack range. + */ + int getAttackRange() const { return mAttackRange; } /** * Sents a trade request to the given being. @@ -162,6 +172,8 @@ class LocalPlayer : public Player Uint32 mXpForNextLevel, mJobXpForNextLevel; Uint16 mHp, mMaxHp, mMp, mMaxMp; Uint32 mGp; + + Uint16 mAttackRange; Uint32 mTotalWeight, mMaxWeight; |