From d7af6a74ec465f3e741cddeb222b208d4fd38f46 Mon Sep 17 00:00:00 2001 From: skotlex Date: Sun, 19 Feb 2006 20:53:36 +0000 Subject: - Fixed parsing of @kamic/@kamib to check for case. - Now you can hide from Pressure. - Weapon endowing will work on targets already endowed with the same element. - Now reseff cards will take effect even if the status change is passed with &8 flag. In short, now reseff are ALWAYS applied to the status change defense. - Removed a missing break that was making AM_TWILIGHT2/3 always fail. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5327 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index f39c63dc3..48157c3e2 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -2387,7 +2387,7 @@ int atcommand_kami( memset(atcmd_output, '\0', sizeof(atcmd_output)); - if(*(command + 5) != 'c') { + if(*(command + 5) != 'c' && *(command + 5) != 'C') { if (!message || !*message) { clif_displaymessage(fd, "Please, enter a message (usage: @kami )."); @@ -2395,7 +2395,7 @@ int atcommand_kami( } sscanf(message, "%199[^\n]", atcmd_output); - intif_GMmessage(atcmd_output, strlen(atcmd_output) + 1, (*(command + 5) == 'b') ? 0x10 : 0); + intif_GMmessage(atcmd_output, strlen(atcmd_output) + 1, (*(command + 5) == 'b' || *(command + 5) == 'B') ? 0x10 : 0); } else { -- cgit v1.2.3-70-g09d2