summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorValaris <Valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-05 17:53:53 +0000
committerValaris <Valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-05 17:53:53 +0000
commitde5a209e56a3296e70b63a94e014fbc0485e38cc (patch)
treef1a8a679e2655f255cc5f5e79f91af097121677e /src/map/mob.c
parent88b47855338b6b8b25bd94522d9ee8c7fe3c6529 (diff)
downloadhercules-de5a209e56a3296e70b63a94e014fbc0485e38cc.tar.gz
hercules-de5a209e56a3296e70b63a94e014fbc0485e38cc.tar.bz2
hercules-de5a209e56a3296e70b63a94e014fbc0485e38cc.tar.xz
hercules-de5a209e56a3296e70b63a94e014fbc0485e38cc.zip
* Added some of eAIRC bot code, written by me and LittleWolf. It is disabled and has no configuration options yet, as it is not finished. [Valaris]
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5201 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c6
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);