summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index d850ed5f..9b4c7eb3 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -49,6 +49,7 @@ BASE_ATTR_BEGIN = 0,
BASE_ATTR_EVADE, /**< Ability to avoid hits. */
BASE_ATTR_HIT, /**< Ability to hit stuff. */
BASE_ATTR_HP, /**< Hit Points (Base value: maximum, Modded value: current) */
+ BASE_ATTR_HP_REGEN,/**< number of HP regenerated every 10 game ticks */
BASE_ATTR_END,
BASE_ATTR_NB = BASE_ATTR_END - BASE_ATTR_BEGIN,
@@ -150,34 +151,34 @@ class LocalPlayer : public Player
*/
virtual void
drawName(Graphics *, int, int) {};
-
+
/**
* Adds a guild to the local player.
*/
void addGuild(short guildId, bool inviteRights);
-
+
/**
* Removers a guild from the local player.
*/
void removeGuild(short guildId);
-
+
/**
* Finds a guild the local player belongs to, by the guildId
* @return returns the guild associated with the guildId
*/
Guild* findGuildById(short guildId);
-
+
/**
* Finds a guild the local player belongs to, by the guild's name.
* @return returns the guild with that name
*/
Guild* findGuildByName(const std::string &guildName);
-
+
/**
* Get number of guilds the player belongs to
*/
short getNumberOfGuilds();
-
+
/**
* Check the player has permission to invite users
*/
@@ -367,7 +368,7 @@ class LocalPlayer : public Player
protected:
void walk(unsigned char dir);
-
+
// Character guild information
std::vector<Guild*> mGuilds;