* Follow-up to c154fe1. Bugged item drop rate increase also applies to renewal.
This commit is contained in:
parent
8427ddfdf2
commit
2b8b31a4d1
@ -110,7 +110,6 @@ drop_rate0item: no
|
||||
// Increase item drop rate +0.01%? (Note 1)
|
||||
// On official servers it is possible to get 0.00% drop chance so all items are increased by 0.01%.
|
||||
// NOTE: This is viewed as a bug to rAthena.
|
||||
// NOTE2: This only applies if RENEWAL_DROP (src/config/renewal.h) is disabled.
|
||||
// Default: no
|
||||
drop_rateincrease: no
|
||||
|
||||
|
@ -3805,10 +3805,8 @@ static bool mob_parse_dbrow(char** str)
|
||||
id = itemdb_search(db->dropitem[i].nameid);
|
||||
type = id->type;
|
||||
rate = atoi(str[k+1]);
|
||||
#ifndef RENEWAL_DROP
|
||||
if (battle_config.drop_rateincrease)
|
||||
if (rate < 5000) rate++;
|
||||
#endif
|
||||
if( (class_ >= 1324 && class_ <= 1363) || (class_ >= 1938 && class_ <= 1946) )
|
||||
{ //Treasure box drop rates [Skotlex]
|
||||
rate_adjust = battle_config.item_rate_treasure;
|
||||
|
Loading…
x
Reference in New Issue
Block a user