From eb530677e51ebda4340c147d11d7d9ef2fb9fe1f Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sat, 7 Sep 2013 22:16:57 -0300 Subject: Fixed Bug #7689 Guild Aura affecting units when unit moves, thanks to purityz, kyeme for ability to reproduce. Solution found by Haruna (Thanks!) http://hercules.ws/board/tracker/issue-7689-guild-aura-bug/ Signed-off-by: shennetsind --- src/map/skill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/skill.c b/src/map/skill.c index c7c0cfcd3..0f52517c6 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -11201,7 +11201,7 @@ int skill_unit_onplace (struct skill_unit *src, struct block_list *bl, unsigned case UNT_GD_GLORYWOUNDS: case UNT_GD_SOULCOLD: case UNT_GD_HAWKEYES: - if ( !sce ) + if ( !sce && battle->check_target(&sg->unit->bl,bl,sg->target_flag) > 0 ) sc_start4(bl,type,100,sg->skill_lv,0,0,0,1000); break; } -- cgit v1.2.3-60-g2f50