diff options
author | Haru <haru@dotalux.com> | 2019-07-28 19:32:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-28 19:32:04 +0200 |
commit | 9034007595aa0ef58d28f09253ba15f405a011ab (patch) | |
tree | 8501bf59aebeae0989436d9d9b60c79f88c11704 /src/map/mob.c | |
parent | 65a7c731d228c059daf042c75d919453e4daa687 (diff) | |
parent | e06b782338e1356b42c80c80d6d59a36d833fcd8 (diff) | |
download | hercules-9034007595aa0ef58d28f09253ba15f405a011ab.tar.gz hercules-9034007595aa0ef58d28f09253ba15f405a011ab.tar.bz2 hercules-9034007595aa0ef58d28f09253ba15f405a011ab.tar.xz hercules-9034007595aa0ef58d28f09253ba15f405a011ab.zip |
Merge pull request #2505 from Emistry/autoloot_adjust
Added battle config autoloot_adjust
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 404a240c9..939d062af 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2570,7 +2570,7 @@ static int mob_dead(struct mob_data *md, struct block_list *src, int type) // Announce first, or else ditem will be freed. [Lance] // By popular demand, use base drop rate for autoloot code. [Skotlex] - mob->item_drop(md, dlist, ditem, 0, md->db->dropitem[i].p, homkillonly); + mob->item_drop(md, dlist, ditem, 0, battle_config.autoloot_adjust ? drop_rate : md->db->dropitem[i].p, homkillonly); } // Ore Discovery [Celest] |