summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-29 12:20:43 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-29 12:20:43 +0000
commit963beba0da94d8b4e3d4175599c570a0b1d77ad2 (patch)
tree0cd50931653f23d097fb3eef69151948bfcade07 /src/map/clif.c
parentd4f105021aa5678c771b2a6b72ab50baa61799ce (diff)
downloadhercules-963beba0da94d8b4e3d4175599c570a0b1d77ad2.tar.gz
hercules-963beba0da94d8b4e3d4175599c570a0b1d77ad2.tar.bz2
hercules-963beba0da94d8b4e3d4175599c570a0b1d77ad2.tar.xz
hercules-963beba0da94d8b4e3d4175599c570a0b1d77ad2.zip
- 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
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c3
1 files changed, 1 insertions, 2 deletions
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);