summaryrefslogtreecommitdiff
path: root/src/map/atcommand.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-25 14:49:46 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-25 14:49:46 +0300
commit5d279bc95153b0785c844f88f02ef5239e9d9753 (patch)
treec81398fd0caa6edf9160bea880bfaaf5ebd219a0 /src/map/atcommand.h
parent92ba7ee3b19bc4151d69700e9b1b5484298cbcbf (diff)
downloadevol-hercules-5d279bc95153b0785c844f88f02ef5239e9d9753.tar.gz
evol-hercules-5d279bc95153b0785c844f88f02ef5239e9d9753.tar.bz2
evol-hercules-5d279bc95153b0785c844f88f02ef5239e9d9753.tar.xz
evol-hercules-5d279bc95153b0785c844f88f02ef5239e9d9753.zip
Add gm command for set player skill level. It also allow add/delete skills.
New gm command: @setskill skill level
Diffstat (limited to 'src/map/atcommand.h')
-rw-r--r--src/map/atcommand.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/atcommand.h b/src/map/atcommand.h
index bc3243a..ab970c6 100644
--- a/src/map/atcommand.h
+++ b/src/map/atcommand.h
@@ -7,4 +7,8 @@
const char* eatcommand_msgsd(struct map_session_data *sd, int *msgPtr);
const char* eatcommand_msgfd(int *fdPtr, int *msgPtr);
+#define ACMD2(x) bool atcommand_ ## x (const int fd, struct map_session_data* sd, const char* command __attribute__ ((unused)), const char* message, struct AtCommandInfo *info)
+
+ACMD2(setSkill);
+
#endif // EVOL_MAP_ATCOMMAND