summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/skill.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 5d416aa39..41ed65342 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -788,6 +788,8 @@ int skill_get_range2(struct block_list *bl, int id, int lv) {
break;
}
+ if(!range && bl->type != BL_PC)
+ return 9; // Enable non players to use self skills on others. [Skotlex]
return range;
}