From be333fef8f4e91bebd76d0fb1c6ca714915d5dbb Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 5 Jun 2006 18:35:41 +0000 Subject: - Fog of Wall won't affect the caster now in any way. - Added a missing status_calc_mob on mob_spawn_guardian_sub - Added clif_fixpos packets before attacking for the first time to clear any position sync issues with the client. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6985 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c index 25601dc56..b057f256b 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -6570,8 +6570,7 @@ int skill_unit_onplace(struct skill_unit *src,struct block_list *bl,unsigned int case UNT_SERVICEFORYOU: if (sg->src_id==bl->id && (!sc || sc->data[SC_SPIRIT].timer == -1 || sc->data[SC_SPIRIT].val2 != SL_BARDDANCER)) return 0; - if (!sc) - break; + if (!sc) return 0; if (sc->data[type].timer==-1) sc_start4(bl,type,100,sg->skill_lv,sg->val1,sg->val2,0,sg->limit); else if (sc->data[type].val4 == 1) { @@ -6582,6 +6581,8 @@ int skill_unit_onplace(struct skill_unit *src,struct block_list *bl,unsigned int } break; case UNT_FOGWALL: + if (sg->src_id==bl->id) + return 0; if (sc && sc->data[type].timer==-1) { sc_start4(bl, type, 100, sg->skill_lv, sg->val1, sg->val2, sg->group_id, sg->limit); -- cgit v1.2.3-70-g09d2