summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-11 16:20:40 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-11 16:20:40 +0000
commit2a99ea9509dddcdafc85cc8348c44a5bd5d4e3eb (patch)
tree8929e6f2ad817b3c9866d9fa3b473489f49adb2e /src/map/clif.c
parent70afc9d7d00b346e3139363abd411a51874ce5b5 (diff)
downloadhercules-2a99ea9509dddcdafc85cc8348c44a5bd5d4e3eb.tar.gz
hercules-2a99ea9509dddcdafc85cc8348c44a5bd5d4e3eb.tar.bz2
hercules-2a99ea9509dddcdafc85cc8348c44a5bd5d4e3eb.tar.xz
hercules-2a99ea9509dddcdafc85cc8348c44a5bd5d4e3eb.zip
- Added a comment explaining what a comment is to login/char/map config files, as well as the main script config file.
- Modified SG_FEEL so that it works the same way that in Aegis (packet-wise) - Added a comment to explain how to "remove" a string variable from the msg_athena entries. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8707 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 73ab29e6b..569359049 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -11514,18 +11514,19 @@ void clif_parse_FeelSaveOk(int fd,struct map_session_data *sd)
return;
i = sd->menuskill_lv-1;
if (i<0 || i > 2) return; //Bug?
+
sd->feel_map[i].index = map[sd->bl.m].index;
sd->feel_map[i].m = sd->bl.m;
pc_setglobalreg(sd,feel_var[i],map[sd->bl.m].index);
-
+
+ clif_misceffect2(&sd->bl, 0x1b0);
+ clif_misceffect2(&sd->bl, 0x21f);
WFIFOHEAD(fd,packet_len_table[0x20e]);
WFIFOW(fd,0)=0x20e;
memcpy(WFIFOP(fd,2),map[sd->bl.m].name, MAP_NAME_LENGTH);
WFIFOL(fd,26)=sd->bl.id;
WFIFOW(fd,30)=i;
WFIFOSET(fd, packet_len_table[0x20e]);
-
- clif_skill_nodamage(&sd->bl,&sd->bl,sd->menuskill_id,sd->menuskill_lv,1);
sd->menuskill_lv = sd->menuskill_id = 0;
}