summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorgepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-31 20:06:57 +0000
committergepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-31 20:06:57 +0000
commit93c79a7017522d87e06b67af1959ecccff32cb7e (patch)
tree1ef1ed7b4a2c27499da24c7da7ecee67a3a1d760 /src/map/atcommand.c
parent2a3063c4e48c78fc4f778a06349a6e87dae89f50 (diff)
downloadhercules-93c79a7017522d87e06b67af1959ecccff32cb7e.tar.gz
hercules-93c79a7017522d87e06b67af1959ecccff32cb7e.tar.bz2
hercules-93c79a7017522d87e06b67af1959ecccff32cb7e.tar.xz
hercules-93c79a7017522d87e06b67af1959ecccff32cb7e.zip
* Fixes and improvements related to MVP rewards (bugreport:1259):
- removed obsolete (since r1!) ExpPer column from mob_db - official way to drop MVP rewards (always starts from first slot) - added MAX_MVP_DROP as define for max possible MVP reward slots * Updated mob_db SQL scripts. * Removed some renewal only monsters from pre-RE mob_db (were commented out anyway). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15531 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index c723d6d73..716eb8f74 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -7196,11 +7196,11 @@ ACMD_FUNC(mobinfo)
clif_displaymessage(fd, atcmd_output);
// mvp
if (mob->mexp) {
- sprintf(atcmd_output, " MVP Bonus EXP:%u %02.02f%%", mob->mexp, (float)mob->mexpper / 100);
+ sprintf(atcmd_output, " MVP Bonus EXP:%u", mob->mexp);
clif_displaymessage(fd, atcmd_output);
strcpy(atcmd_output, " MVP Items:");
j = 0;
- for (i = 0; i < 3; i++) {
+ for (i = 0; i < MAX_MVP_DROP; i++) {
if (mob->mvpitem[i].nameid <= 0 || (item_data = itemdb_exists(mob->mvpitem[i].nameid)) == NULL)
continue;
if (mob->mvpitem[i].p > 0) {