summaryrefslogtreecommitdiff
path: root/src/game-server/character.hpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <mana@crushnet.org>2010-03-24 21:09:16 +0100
committerPhilipp Sehmisch <mana@crushnet.org>2010-04-11 18:27:21 +0200
commit88f8e20871fadc58bc69c5b1fca4b7c4d850fdb2 (patch)
treed52e8fc0d91de69cf6a9868c082bf44497c9b6c1 /src/game-server/character.hpp
parentf3ad48f5ce2b3b584870674e58a7265779b3836b (diff)
downloadmanaserv-88f8e20871fadc58bc69c5b1fca4b7c4d850fdb2.tar.gz
manaserv-88f8e20871fadc58bc69c5b1fca4b7c4d850fdb2.tar.bz2
manaserv-88f8e20871fadc58bc69c5b1fca4b7c4d850fdb2.tar.xz
manaserv-88f8e20871fadc58bc69c5b1fca4b7c4d850fdb2.zip
Implemented global event function call to on_chr_death
Reviewed-by: Jared Adams <Jaxad0127@gmail.com>
Diffstat (limited to 'src/game-server/character.hpp')
-rw-r--r--src/game-server/character.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game-server/character.hpp b/src/game-server/character.hpp
index 714df772..056b39f1 100644
--- a/src/game-server/character.hpp
+++ b/src/game-server/character.hpp
@@ -74,6 +74,11 @@ class Character : public Being
void perform();
/**
+ * Executes the global die script and calls the base class function
+ */
+ virtual void died();
+
+ /**
* makes the character respawn
*/
void respawn();