diff options
author | rud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-10-30 07:30:36 +0000 |
---|---|---|
committer | rud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-10-30 07:30:36 +0000 |
commit | df5609c5d94b7967b5fd7857b6a80be366821280 (patch) | |
tree | e263466bd67d2f8112d6fd21336256217685832a /src/map/atcommand.c | |
parent | 3aa301531937846138b34654db101ee2916fe4f5 (diff) | |
download | hercules-df5609c5d94b7967b5fd7857b6a80be366821280.tar.gz hercules-df5609c5d94b7967b5fd7857b6a80be366821280.tar.bz2 hercules-df5609c5d94b7967b5fd7857b6a80be366821280.tar.xz hercules-df5609c5d94b7967b5fd7857b6a80be366821280.zip |
Fixed Level/Drop modifier based on level difference and created a db as suggested in pid:137564. (bugreport:6585)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16842 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 09a148a1b..0d92ef156 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -6752,10 +6752,7 @@ ACMD_FUNC(mobinfo) if (mob->dropitem[i].nameid <= 0 || mob->dropitem[i].p < 1 || (item_data = itemdb_exists(mob->dropitem[i].nameid)) == NULL) continue; droprate = mob->dropitem[i].p; -#ifdef RENEWAL_DROP - if( battle_config.atcommand_mobinfo_type ) - droprate = droprate * party_renewal_drop_mod(sd->status.base_level - mob->lv) / 100; -#endif + if (item_data->slot) sprintf(atcmd_output2, " - %s[%d] %02.02f%%", item_data->jname, item_data->slot, (float)droprate / 100); else |