diff options
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index a36f17368..faedbd39a 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -1373,6 +1373,9 @@ int skill_counter_additional_effect (struct block_list* src, struct block_list * else
tbl = src;
+ if (tbl != src && !battle_check_range(src, tbl, skill_get_range2(src, skillid, skilllv)))
+ continue; //Autoskills DO check for target-src range. [Skotlex]
+
switch (skill_get_casttype(skillid)) {
case CAST_GROUND:
skill_castend_pos2(bl, tbl->x, tbl->y, skillid, skilllv, tick, 0);
|