summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c4
1 files 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;