From 27f15e3dc28ecacd43cc00ffa2d1abad1d5e0d0e Mon Sep 17 00:00:00 2001 From: DracoRPG Date: Sat, 27 Jan 2007 12:33:57 +0000 Subject: Fix for my previous change (already fixed once, yeah...) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9726 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/map/skill.c b/src/map/skill.c index e780d8208..54c66986a 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -1374,8 +1374,8 @@ int skill_additional_effect (struct block_list* src, struct block_list *bl, int if (!(sd->addeff[i].flag&ATF_LONG && sd->addeff[i].flag&ATF_SHORT)) { //Trigger has range consideration. - if ((sd->addeff[i].flag&ATF_LONG && !type) || - (sd->addeff[i].flag&ATF_SHORT && type)) + if ((sd->addeff[i].flag&ATF_LONG && !sd->state.arrow_atk) || + (sd->addeff[i].flag&ATF_SHORT && sd->state.arrow_atk)) continue; //Range Failed. } type = sd->addeff[i].id; -- cgit v1.2.3-70-g09d2