diff options
author | Inkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-05-07 23:50:11 +0000 |
---|---|---|
committer | Inkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-05-07 23:50:11 +0000 |
commit | 57522f5cb4cf9eb79a5630303e3801bc632fc0d1 (patch) | |
tree | ab949050f68c93de8e56dda52fa727ed37dc2ac7 /src/map | |
parent | 0264aeae76c468e595563322b7a87d16eff4e00d (diff) | |
download | hercules-57522f5cb4cf9eb79a5630303e3801bc632fc0d1.tar.gz hercules-57522f5cb4cf9eb79a5630303e3801bc632fc0d1.tar.bz2 hercules-57522f5cb4cf9eb79a5630303e3801bc632fc0d1.tar.xz hercules-57522f5cb4cf9eb79a5630303e3801bc632fc0d1.zip |
* Lv10 Waterball used by mobs should have 81 balls instead of 121
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13741 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/skill.c | 9 |
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 ) |