summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKomurka <Komurka@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-01-30 12:36:11 +0000
committerKomurka <Komurka@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-01-30 12:36:11 +0000
commit5d785af8d306ca511af52d49daf6b11ff0dc1f61 (patch)
tree05557c76b9c40fe1649322145fde7d9d9e159a87
parent3dbc82cb89e5fce90d2fbacdebfb8502a4469fb5 (diff)
downloadhercules-5d785af8d306ca511af52d49daf6b11ff0dc1f61.tar.gz
hercules-5d785af8d306ca511af52d49daf6b11ff0dc1f61.tar.bz2
hercules-5d785af8d306ca511af52d49daf6b11ff0dc1f61.tar.xz
hercules-5d785af8d306ca511af52d49daf6b11ff0dc1f61.zip
Moved MVP log code so it can log all MVP, not only when player gets MVP item, thanks to Hatred_
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5113 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/mob.c7
2 files changed, 5 insertions, 4 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 89f6eb777..1c4647a40 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -5,6 +5,8 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. EV
GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS
2006/01/30
+ * Moved MVP log code so it can log all MVP, not only when player gets MVP item,
+ thanks to Hatred_ [Komurka]
* One more small fix on 'bSPVanishRate' (hp -> sp) [Komurka]
* Added bSPVanishRate to const.txt - Dark Priest Card should work now ^^
* Implemented bonus2 bSPVanishRate for Dark Priest Card [Komurka]
diff --git a/src/map/mob.c b/src/map/mob.c
index b315c5c43..3fc896391 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2703,12 +2703,11 @@ int mob_damage(struct block_list *src,struct mob_data *md,int damage,int type)
log_pick(mvp_sd, "P", 0, item.nameid, 1, NULL);
}
- if(log_config.mvpdrop > 0)
- log_mvpdrop(mvp_sd, md->class_, log_mvp);
-
- break;
+ break;
}
+ if(log_config.mvpdrop > 0)
+ log_mvpdrop(mvp_sd, md->class_, log_mvp);
}
} // [MouseJstr]