summaryrefslogtreecommitdiff
path: root/src/emap/skill_ground.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-01 15:50:50 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-01 17:23:19 +0300
commit0d732b8e7959bc50b29874d816981d12859fb811 (patch)
tree7323d0a5266ef7182b54833392b0f65d47b3c94b /src/emap/skill_ground.c
parentfb398fe6dcc8ba797e133df3db3dcdfa1df9042b (diff)
downloadevol-hercules-0d732b8e7959bc50b29874d816981d12859fb811.tar.gz
evol-hercules-0d732b8e7959bc50b29874d816981d12859fb811.tar.bz2
evol-hercules-0d732b8e7959bc50b29874d816981d12859fb811.tar.xz
evol-hercules-0d732b8e7959bc50b29874d816981d12859fb811.zip
Add effects enum. Use provoke effect on provoked targets in EVOL_MASSPROVOKE skill.
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 f557009..7a4ebc2 100644
--- a/src/emap/skill_ground.c
+++ b/src/emap/skill_ground.c
@@ -12,6 +12,7 @@
#include "map/mob.h"
#include "map/skill.h"
+#include "emap/effects.h"
#include "emap/skill_ground.h"
static int eskill_massprovoke_sub(struct block_list *bl,
@@ -41,6 +42,7 @@ static int eskill_massprovoke_sub(struct block_list *bl,
{
dstmd->state.provoke_flag = src->id;
mob->target(dstmd, src, dist);
+ clif->misceffect(bl, EFFECT_PROVOKE);
(*cnt) ++;
}