summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/skill.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index ab5d6cea6..4f89030f1 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -2832,8 +2832,13 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl, int
int x, y;
struct skill_unit* unit;
- if( skilllv > maxlv && (src->type == BL_PC || skilllv < 10) )
- range = maxlv / 2;
+ if( skilllv > maxlv )
+ {
+ if( src->type == BL_MOB && skilllv == 10 )
+ range = 4;
+ else
+ range = maxlv / 2;
+ }
for( y = src->y - range; y <= src->y + range; ++y )
for( x = src->x - range; x <= src->x + range; ++x )