diff options
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 6303f3d4c..b40c18495 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -30,6 +30,8 @@ #include "atcommand.h"
#include "date.h"
+#include "irc.h"
+
#define MIN_MOBTHINKTIME 100
#define MIN_MOBLINKTIME 1000
@@ -2657,6 +2659,10 @@ int mob_damage(struct block_list *src,struct mob_data *md,int damage,int type) //end added [Lorky]
if(mexp < 1) mexp = 1;
+
+ if(use_irc && irc_announce_mvp_flag)
+ irc_announce_mvp(mvp_sd,md);
+
clif_mvp_effect(mvp_sd); // エフェクト
clif_mvp_exp(mvp_sd,mexp);
pc_gainexp(mvp_sd,mexp,0);
|