summaryrefslogtreecommitdiff
path: root/src/game-server/being.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/being.hpp')
-rw-r--r--src/game-server/being.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game-server/being.hpp b/src/game-server/being.hpp
index 44857dc1..27da220a 100644
--- a/src/game-server/being.hpp
+++ b/src/game-server/being.hpp
@@ -213,6 +213,7 @@ class Being : public MovingObject
virtual void modifiedAttribute(int) {}
protected:
+ static const int TICKS_PER_HP_REGENERATION = 100;
Action mAction;
std::vector< Attribute > mAttributes;
@@ -222,6 +223,7 @@ class Being : public MovingObject
Hits mHitsTaken; /**< List of punches taken since last update */
AttributeModifiers mModifiers; /**< Currently modified attributes. */
+ int mHpRegenTimer; /**< timer for hp regeneration*/
};
#endif // _TMWSERV_BEING_H_