Fix for my previous change (already fixed once, yeah...)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9726 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
DracoRPG 2007-01-27 12:33:57 +00:00
parent bf98b03fb0
commit 91cbbb26bd

View File

@ -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;