* Reverted official drop rate estimation

- although it really exists we don't have enough information about it
- if server owners really want it they can implement it themselves (it's just a one-line fix anyways)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11658 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Playtester 2007-11-05 11:21:08 +00:00
parent f7d4427c1a
commit 9f7a8cb1e5
2 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,10 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2007/11/05 2007/11/05
* Reverted official drop rate estimation [Playtester]
- although it really exists we don't have enough information about it
- if server owners really want it they can implement it themselves
(it's just a one-line fix anyways)
* Cleaned up skill db lookup code * Cleaned up skill db lookup code
- added some well-behaved functions to replace macros (skill_get_index) - added some well-behaved functions to replace macros (skill_get_index)
- used skill_get_index() to replace often occuring blocks of code - used skill_get_index() to replace often occuring blocks of code

View File

@ -3380,7 +3380,6 @@ static bool mob_parse_dbrow(char** str)
} }
type = itemdb_type(db->dropitem[i].nameid); type = itemdb_type(db->dropitem[i].nameid);
rate = atoi(str[k+1]); rate = atoi(str[k+1]);
if (rate < 1000) rate += 1; //Official drop bug estimate
if (class_ >= 1324 && class_ <= 1363) if (class_ >= 1324 && class_ <= 1363)
{ //Treasure box drop rates [Skotlex] { //Treasure box drop rates [Skotlex]
rate_adjust = battle_config.item_rate_treasure; rate_adjust = battle_config.item_rate_treasure;