summaryrefslogtreecommitdiff
path: root/src/emap/skill_ground.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-01 19:51:01 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-01 19:51:01 +0300
commit7f6c805f25d34ba80ca86e53216e1d588ab1ea75 (patch)
tree615005bd9896aeb49f42b0eb0fbfc08957c4cab8 /src/emap/skill_ground.c
parent0d732b8e7959bc50b29874d816981d12859fb811 (diff)
downloadevol-hercules-7f6c805f25d34ba80ca86e53216e1d588ab1ea75.tar.gz
evol-hercules-7f6c805f25d34ba80ca86e53216e1d588ab1ea75.tar.bz2
evol-hercules-7f6c805f25d34ba80ca86e53216e1d588ab1ea75.tar.xz
evol-hercules-7f6c805f25d34ba80ca86e53216e1d588ab1ea75.zip
For evol skills use range 20000 - 20021s20160703release2016-07-04
For this add mapping to array index. Also rename skill into EVOL_MASS_PROVOKE.
Diffstat (limited to 'src/emap/skill_ground.c')
-rw-r--r--src/emap/skill_ground.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emap/skill_ground.c b/src/emap/skill_ground.c
index 7a4ebc2..4422a8d 100644
--- a/src/emap/skill_ground.c
+++ b/src/emap/skill_ground.c
@@ -64,6 +64,8 @@ bool eskill_massprovoke_castend(struct block_list* src,
map->foreachinarea(eskill_massprovoke_sub, src->m, *x - r, *y - r, *x + r, *y + r, BL_MOB,
src, dist, &cnt);
if (cnt == 0)
+ {
unit->skillcastcancel(src, 1);
+ }
return false;
}