summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt4
-rw-r--r--src/map/mob.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 633a2506c..1368b99f6 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -3,6 +3,10 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
+2007/11/04
+ * Implemented official drop rate estimation [Playtester]
+ - estimation is rounded on 2 positions after decimal point
+ - this will effectively raise drop rates below 50% by 0.01%
2007/11/03
* Added jA script function 'strnpcinfo', for increased npc awareness
2007/11/02
diff --git a/src/map/mob.c b/src/map/mob.c
index ed25d4198..d6e330dde 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -3380,6 +3380,7 @@ static bool mob_parse_dbrow(char** str)
}
type = itemdb_type(db->dropitem[i].nameid);
rate = atoi(str[k+1]);
+ if (rate < 5000) rate += 1; //Official drop bug estimate
if (class_ >= 1324 && class_ <= 1363)
{ //Treasure box drop rates [Skotlex]
rate_adjust = battle_config.item_rate_treasure;