summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]