summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-01-07 00:23:22 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-01-07 00:23:22 +0000
commit3fe5d486bf33d4658ab75b49fe878a9a0394d835 (patch)
tree883a1912f751353c0f0d349b0077362b6e3f23f6 /src/localplayer.h
parentd818bc97c2d1b570ff11197f80d0b0ad471f0af7 (diff)
downloadmana-3fe5d486bf33d4658ab75b49fe878a9a0394d835.tar.gz
mana-3fe5d486bf33d4658ab75b49fe878a9a0394d835.tar.bz2
mana-3fe5d486bf33d4658ab75b49fe878a9a0394d835.tar.xz
mana-3fe5d486bf33d4658ab75b49fe878a9a0394d835.zip
Synchronized player attributes with wiki Attributes page and removed Job XP.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index 765b7cca..980b1aff 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -39,7 +39,7 @@ class LocalPlayer : public Player
{
public:
enum Attribute {
- STR = 0, AGI, VIT, INT, DEX, LUK
+ STR = 0, AGI, DEX, VIT, INT, WIL, CHR
};
/**
@@ -137,17 +137,16 @@ class LocalPlayer : public Player
Uint32 mCharId;
- Uint32 mXp, mJobXp;
+ Uint32 mXp;
Uint16 mLevel;
- Uint32 mJobLevel;
- Uint32 mXpForNextLevel, mJobXpForNextLevel;
+ Uint32 mXpForNextLevel;
Uint16 mHp, mMaxHp, mMp, mMaxMp;
Uint32 mMoney;
Uint32 mTotalWeight, mMaxWeight;
- Uint8 mAttr[6];
- Uint8 mAttrUp[6];
+ Uint8 mAttr[7];
+ Uint8 mAttrUp[7];
Sint16 ATK, MATK, DEF, MDEF, HIT, FLEE;
Sint16 ATK_BONUS, MATK_BONUS, DEF_BONUS, MDEF_BONUS, FLEE_BONUS;