summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-30 17:01:46 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-30 17:01:46 +0000
commit564d2b8eb6dc46bbd60a97957d09bc231dbef745 (patch)
tree07dd41cfc0e8b75c7d7b12ab8e00130f03e91b12 /src/map/clif.c
parentc5674c9c91d2ebc3e503c48cce42fb4458561647 (diff)
downloadhercules-564d2b8eb6dc46bbd60a97957d09bc231dbef745.tar.gz
hercules-564d2b8eb6dc46bbd60a97957d09bc231dbef745.tar.bz2
hercules-564d2b8eb6dc46bbd60a97957d09bc231dbef745.tar.xz
hercules-564d2b8eb6dc46bbd60a97957d09bc231dbef745.zip
moved supernovice guardian angel messages
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@877 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 0f4746251..e0d76a756 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -7853,15 +7853,15 @@ void clif_parse_GlobalMessage(int fd, struct map_session_data *sd) { // S 008c <
int next = pc_nextbaseexp(sd)>0 ? pc_nextbaseexp(sd) : sd->status.base_exp;
if ((sd->status.base_exp*100/next)%10 == 0) {
estr_lower(RFIFOP(fd,4));
- if (sd->state.snovice_flag == 0 && strstr(RFIFOP(fd,4), "guardian angel, can you hear my voice? ^^;"))
+ if (sd->state.snovice_flag == 0 && strstr(RFIFOP(fd,4), msg_txt(540)))
sd->state.snovice_flag = 1;
else if (sd->state.snovice_flag == 1) {
- sprintf(message, "my name is %s, and i'm a super novice~", sd->status.name);
+ sprintf(message, msg_txt(541), sd->status.name);
estr_lower(message);
if (strstr(RFIFOP(fd,4), message))
sd->state.snovice_flag = 2;
}
- else if (sd->state.snovice_flag == 2 && strstr(RFIFOP(fd,4), "please help me~ t.t"))
+ else if (sd->state.snovice_flag == 2 && strstr(RFIFOP(fd,4), msg_txt(542)))
sd->state.snovice_flag = 3;
else if (sd->state.snovice_flag == 3) {
int i;