From 838e87120758507b0be05b87af4a470f251e5bbd Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 20 Nov 2006 15:08:43 +0000 Subject: - Raised the amount of skills that can stack on a single cell before the "in-area/out-area" detection code breaks to 24 (from 8) - Fixed a crash in clif_SkillInfoBlock if the passed player already disconnected. - Added limiting drop rate to 100% from item-bonuses that depend on the mob's level so that "@autoloot 100" will catch them. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9270 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/mob.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/mob.c') diff --git a/src/map/mob.c b/src/map/mob.c index 36af27b17..3e5338654 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2020,6 +2020,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type) drop_rate = battle_config.item_drop_adddrop_min; else if (drop_rate > battle_config.item_drop_adddrop_max) drop_rate = battle_config.item_drop_adddrop_max; + if (drop_rate > 10000) drop_rate = 10000; } else //it's positive, then it goes as it is -- cgit v1.2.3-60-g2f50