From 5d279bc95153b0785c844f88f02ef5239e9d9753 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 25 Mar 2015 14:49:46 +0300 Subject: Add gm command for set player skill level. It also allow add/delete skills. New gm command: @setskill skill level --- src/map/atcommand.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/map/atcommand.h') 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 -- cgit v1.2.3-70-g09d2