diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-25 14:49:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-25 14:49:46 +0300 |
commit | 5d279bc95153b0785c844f88f02ef5239e9d9753 (patch) | |
tree | c81398fd0caa6edf9160bea880bfaaf5ebd219a0 /src/map/atcommand.h | |
parent | 92ba7ee3b19bc4151d69700e9b1b5484298cbcbf (diff) | |
download | plugin-5d279bc95153b0785c844f88f02ef5239e9d9753.tar.gz plugin-5d279bc95153b0785c844f88f02ef5239e9d9753.tar.bz2 plugin-5d279bc95153b0785c844f88f02ef5239e9d9753.tar.xz plugin-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.h | 4 |
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 |