diff options
author | DracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-27 12:33:57 +0000 |
---|---|---|
committer | DracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-27 12:33:57 +0000 |
commit | 27f15e3dc28ecacd43cc00ffa2d1abad1d5e0d0e (patch) | |
tree | f7364271fb0bbd7f7fe58aaee2748a5ca63e2613 | |
parent | d57579a58d5035d48fc1f7a42c833cb47ae571b9 (diff) | |
download | hercules-27f15e3dc28ecacd43cc00ffa2d1abad1d5e0d0e.tar.gz hercules-27f15e3dc28ecacd43cc00ffa2d1abad1d5e0d0e.tar.bz2 hercules-27f15e3dc28ecacd43cc00ffa2d1abad1d5e0d0e.tar.xz hercules-27f15e3dc28ecacd43cc00ffa2d1abad1d5e0d0e.zip |
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
-rw-r--r-- | src/map/skill.c | 4 |
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; |