From 963beba0da94d8b4e3d4175599c570a0b1d77ad2 Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 29 Nov 2007 12:20:43 +0000 Subject: - Integrated the SG related info of hate_mob and feel_map into a single structure (sg_info). - Modified skill_blown and skill_attack so that reflected spells do not cause knockback. - SG Blessing skills now grant the extra experience to everyone when the SG killed the mob. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11840 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/clif.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/map/clif.c') diff --git a/src/map/clif.c b/src/map/clif.c index 609db72d5..adc45b069 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -10995,7 +10995,6 @@ void clif_parse_RankingPk(int fd,struct map_session_data *sd) *------------------------------------------*/ void clif_parse_FeelSaveOk(int fd,struct map_session_data *sd) { - char feel_var[3][NAME_LENGTH] = {"PC_FEEL_SUN","PC_FEEL_MOON","PC_FEEL_STAR"}; int i; if (sd->menuskill_id != SG_FEEL) return; @@ -11004,7 +11003,7 @@ void clif_parse_FeelSaveOk(int fd,struct map_session_data *sd) sd->feel_map[i].index = map_id2index(sd->bl.m); sd->feel_map[i].m = sd->bl.m; - pc_setglobalreg(sd,feel_var[i],sd->feel_map[i].index); + pc_setglobalreg(sd,sg_info[i].feel_var,sd->feel_map[i].index); //Are these really needed? Shouldn't they show up automatically from the feel save packet? // clif_misceffect2(&sd->bl, 0x1b0); -- cgit v1.2.3-70-g09d2