summaryrefslogtreecommitdiff
path: root/src/game-server/character.hpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2008-11-01 19:03:14 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2008-11-01 19:03:14 +0000
commit7cdecda38dc75dd855a45af6faad14d1c1e4e72f (patch)
tree9fe6a6b31afcc0a710e6c327ad29a5c91db959ef /src/game-server/character.hpp
parentad5efe104cd7639009622393f16bfd93075fcb34 (diff)
downloadmanaserv-7cdecda38dc75dd855a45af6faad14d1c1e4e72f.tar.gz
manaserv-7cdecda38dc75dd855a45af6faad14d1c1e4e72f.tar.bz2
manaserv-7cdecda38dc75dd855a45af6faad14d1c1e4e72f.tar.xz
manaserv-7cdecda38dc75dd855a45af6faad14d1c1e4e72f.zip
Magic implementation roadmap phase 1 and 2 (calling a script function on PGMSG_USE_SPECIAL)
Diffstat (limited to 'src/game-server/character.hpp')
-rw-r--r--src/game-server/character.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game-server/character.hpp b/src/game-server/character.hpp
index 03006712..6e31e33b 100644
--- a/src/game-server/character.hpp
+++ b/src/game-server/character.hpp
@@ -68,6 +68,12 @@ class Character : public Being
void respawn();
/**
+ * makes the character perform a special action
+ * when it is allowed to do so
+ */
+ void useSpecial(int id);
+
+ /**
* Gets client computer.
*/
GameClient *getClient() const