diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-06-08 18:31:30 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-08-26 22:56:47 +0200 |
commit | 1e5a15c0a5e24fb4b358fff75a7082d65496e1f9 (patch) | |
tree | 741756128a3587768fa02dbbdd9ba64820afe6cb /src/account-server/character.h | |
parent | 44ee071d7ece5a2023f79307f36e8a244c9e7b3a (diff) | |
download | manaserv-1e5a15c0a5e24fb4b358fff75a7082d65496e1f9.tar.gz manaserv-1e5a15c0a5e24fb4b358fff75a7082d65496e1f9.tar.bz2 manaserv-1e5a15c0a5e24fb4b358fff75a7082d65496e1f9.tar.xz manaserv-1e5a15c0a5e24fb4b358fff75a7082d65496e1f9.zip |
Readded level handling
Things done:
Wrote a entity:give_experience function (lua side only).
Renamed characterpoints to attributepoints (no db update. Did not want
to do one for a simple rename).
Temponary introduced a ATTR_LEVEL constant. TODO: dehardcode this.
Script binds for settings the correction and attribute points.
Diffstat (limited to 'src/account-server/character.h')
-rw-r--r-- | src/account-server/character.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/account-server/character.h b/src/account-server/character.h index 58e32dad..1fa0e975 100644 --- a/src/account-server/character.h +++ b/src/account-server/character.h @@ -245,11 +245,11 @@ class CharacterData Possessions &getPossessions() { return mPossessions; } - void setCharacterPoints(int points) - { mCharacterPoints = points; } + void setAttributePoints(int points) + { mAttributePoints = points; } - int getCharacterPoints() const - { return mCharacterPoints; } + int getAttributePoints() const + { return mAttributePoints; } void setCorrectionPoints(int points) { mCorrectionPoints = points; } @@ -283,7 +283,7 @@ class CharacterData unsigned char mGender; //!< Gender of the being. unsigned char mHairStyle; //!< Hair style of the being. unsigned char mHairColor; //!< Hair color of the being. - short mCharacterPoints; //!< Unused character points. + short mAttributePoints; //!< Unused character points. short mCorrectionPoints; //!< Unused correction points. unsigned char mAccountLevel; //!< Level of the associated account. |