summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am1
-rw-r--r--src/emap/effects.h12
-rw-r--r--src/emap/skill_ground.c2
3 files changed, 15 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 76f6140..a452554 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -42,6 +42,7 @@ MAP_SRC = emap/atcommand.c \
emap/craft.h \
emap/craftconf.c \
emap/craftconf.h \
+ emap/effects.h \
emap/hashtable.c \
emap/hashtable.h \
emap/horse.c \
diff --git a/src/emap/effects.h b/src/emap/effects.h
new file mode 100644
index 0000000..5d03b5b
--- /dev/null
+++ b/src/emap/effects.h
@@ -0,0 +1,12 @@
+// Copyright (c) Copyright (c) Hercules Dev Team, licensed under GNU GPL.
+// Copyright (c) 2014 - 2015 Evol developers
+
+#ifndef EVOL_MAP_EFFECTS
+#define EVOL_MAP_EFFECTS
+
+enum
+{
+ EFFECT_PROVOKE = 23
+};
+
+#endif // EVOL_MAP_EFFECTS
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) ++;
}