From a09b779ee750a21c4e1e540bbe9fce70d869adf0 Mon Sep 17 00:00:00 2001 From: Komurka Date: Mon, 30 Jan 2006 12:36:11 +0000 Subject: [PATCH] Moved MVP log code so it can log all MVP, not only when player gets MVP item, thanks to Hatred_ git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5113 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 2 ++ src/map/mob.c | 7 +++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 89f6eb7776..1c4647a40c 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 b315c5c437..3fc896391d 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]