viewing paste Unknown #6001 | Text

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Index: src/map/atcommand.c
===================================================================
--- src/map/atcommand.c (revision 17337)
+++ src/map/atcommand.c (working copy)
@@ -6726,8 +6822,11 @@
            droprate = mob->dropitem[i].p;
 
 #ifdef RENEWAL_DROP
-           if( battle_config.atcommand_mobinfo_type )
+           if( battle_config.atcommand_mobinfo_type ) {
                droprate = droprate * pc_level_penalty_mod(sd, mob->lv, mob->status.race, mob->status.mode, 2) / 100;
+               if (drop_rate <= 0 && !battle_config.drop_rate0item)
+                       drop_rate = 1;
+           }
 #endif
            if (item_data->slot)
                sprintf(atcmd_output2, " - %s[%d]  %02.02f%%", item_data->jname, item_data->slot, (float)droprate / 100);
Viewed 750 times, submitted by Guest.