diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/config/renewal.h | 4 | ||||
-rw-r--r-- | src/map/atcommand.c | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/config/renewal.h b/src/config/renewal.h index 4713cc185..339937adb 100644 --- a/src/config/renewal.h +++ b/src/config/renewal.h @@ -45,7 +45,7 @@ /// renewal level modifier on damage /// (disable by commenting the line) -/// +/// // leave this line to enable renewal base level modifier on skill damage (selected skills only) #define RENEWAL_LVDMG @@ -60,7 +60,7 @@ /// renewal ASPD [malufett] /// (disable by commenting the line) -/// +/// /// leave this line to enable renewal ASPD /// - shield penalty is applied /// - AGI has a greater factor in ASPD increase diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 5be76d36a..27329ae4a 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -2533,7 +2533,10 @@ ACMD_FUNC(zeny) clif_displaymessage(fd, msg_txt(1012)); // Please enter an amount (usage: @zeny <amount>). return -1; } - pc_getzeny(sd,zeny,LOG_TYPE_COMMAND,NULL); + if(zeny > 0) + pc_getzeny(sd,zeny,LOG_TYPE_COMMAND,NULL); + else + pc_payzeny(sd,zeny,LOG_TYPE_COMMAND,NULL); return 0; } |