From 0ff6335bc5f38a0dfebca95853a8c2deac174807 Mon Sep 17 00:00:00 2001 From: ultramage Date: Mon, 1 Sep 2008 08:34:42 +0000 Subject: Skip woe:se treasure boxes when counting max. item droprate (followup to r13156). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13172 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/mob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map') diff --git a/src/map/mob.c b/src/map/mob.c index ff5ee6a8e..5c8875f88 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -3501,7 +3501,7 @@ static bool mob_parse_dbrow(char** str) db->dropitem[i].p = mob_drop_adjust(rate, rate_adjust, ratemin, ratemax); //calculate and store Max available drop chance of the item - if (db->dropitem[i].p && (class_ < 1324 || class_ > 1363)) { //Skip treasure chests. + if (db->dropitem[i].p && (class_ < 1324 || class_ > 1363) && (class_ < 1938 || class_ > 1946) { //Skip treasure chests. id = itemdb_search(db->dropitem[i].nameid); if (id->maxchance == 10000 || (id->maxchance < db->dropitem[i].p) ) { id->maxchance = db->dropitem[i].p; //item has bigger drop chance or sold in shops -- cgit v1.2.3-70-g09d2