summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-19 20:53:36 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-19 20:53:36 +0000
commitd7af6a74ec465f3e741cddeb222b208d4fd38f46 (patch)
treedab314abfdc188b4d372e93a93b1a296c5c61e5b /src/map/atcommand.c
parentcba78be11327390da594bf212497e088cc42d8f6 (diff)
downloadhercules-d7af6a74ec465f3e741cddeb222b208d4fd38f46.tar.gz
hercules-d7af6a74ec465f3e741cddeb222b208d4fd38f46.tar.bz2
hercules-d7af6a74ec465f3e741cddeb222b208d4fd38f46.tar.xz
hercules-d7af6a74ec465f3e741cddeb222b208d4fd38f46.zip
- 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
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c4
1 files changed, 2 insertions, 2 deletions
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 <message>).");
@@ -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 {