diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2008-03-04 06:08:39 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2008-03-04 06:08:39 +0000 |
commit | 41079fd0e69cde97fcb44d2e6fe03ad198764fea (patch) | |
tree | f773ef2f7084250501414b51eb7f6ec8f00eef0d /src/game-server/character.hpp | |
parent | 3cf2198e2485c80633f8d80d1a4c12843db86fde (diff) | |
download | manaserv-41079fd0e69cde97fcb44d2e6fe03ad198764fea.tar.gz manaserv-41079fd0e69cde97fcb44d2e6fe03ad198764fea.tar.bz2 manaserv-41079fd0e69cde97fcb44d2e6fe03ad198764fea.tar.xz manaserv-41079fd0e69cde97fcb44d2e6fe03ad198764fea.zip |
Added natural HP regeneration, capped HP at maximum and set HP to 1 after respawn.
Diffstat (limited to 'src/game-server/character.hpp')
-rw-r--r-- | src/game-server/character.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game-server/character.hpp b/src/game-server/character.hpp index 05834f7d..b90d2b3c 100644 --- a/src/game-server/character.hpp +++ b/src/game-server/character.hpp @@ -275,8 +275,8 @@ class Character : public Being Character(Character const &); Character &operator=(Character const &); - static const float EXPCURVE_EXPONENT = 5.0f; // should maybe be obtained - static const float EXPCURVE_FACTOR = 3.0f; // from the config file + static const float EXPCURVE_EXPONENT = 3.0f; // should maybe be obtained + static const float EXPCURVE_FACTOR = 10.0f; // from the config file static const float LEVEL_SKILL_PRECEDENCE_FACTOR = 0.75f; // I am taking suggestions for a better name static const int CHARPOINTS_PER_LEVELUP = 5; static const int CORRECTIONPOINTS_PER_LEVELUP = 2; |