summaryrefslogtreecommitdiff
path: root/src/game-server/being.hpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-19 08:05:45 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-19 08:05:45 +0000
commit31232e3a5702a7618fe40dc74f5d987a662cb081 (patch)
tree170b799b14dc950201eb7eec63c957e542e4c96d /src/game-server/being.hpp
parent2ae3f3a3ef5caee193138a3e5c1613403302089c (diff)
downloadmanaserv-31232e3a5702a7618fe40dc74f5d987a662cb081.tar.gz
manaserv-31232e3a5702a7618fe40dc74f5d987a662cb081.tar.bz2
manaserv-31232e3a5702a7618fe40dc74f5d987a662cb081.tar.xz
manaserv-31232e3a5702a7618fe40dc74f5d987a662cb081.zip
Added support for protective equipment.
Diffstat (limited to 'src/game-server/being.hpp')
-rw-r--r--src/game-server/being.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game-server/being.hpp b/src/game-server/being.hpp
index 1cceb303..6c5b2669 100644
--- a/src/game-server/being.hpp
+++ b/src/game-server/being.hpp
@@ -129,6 +129,11 @@ class Being : public MovingObject
~Being();
/**
+ * Cleans obsolete attribute modifiers.
+ */
+ void update();
+
+ /**
* Takes a damage structure, computes the real damage based on the
* stats, deducts the result from the hitpoints and adds the result to
* the HitsTaken list.