From d34df93e14582b1c2ad43763666d674b7e8440ca Mon Sep 17 00:00:00 2001
From: "Guilherme G. Menaldo" <guilherme.menaldo@outlook.com>
Date: Mon, 1 Oct 2018 13:52:15 -0300
Subject: Added support for mobs to drop items with Random Options

---
 conf/map/battle/drops.conf | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'conf')

diff --git a/conf/map/battle/drops.conf b/conf/map/battle/drops.conf
index eb7d94f13..51280702b 100644
--- a/conf/map/battle/drops.conf
+++ b/conf/map/battle/drops.conf
@@ -146,3 +146,8 @@ drops_by_luk2: 0
 // 1: Only marine spheres drop items.
 // 2: All alchemist summons drop items.
 alchemist_summon_reward: 1
+
+// The maximum number of full iterations that server can do when dropping an item with options.
+// When picking random options for a dropped item, it does lots of iterations to choose the option to be set,
+// this value limits the number of iterations to avoid making the server hang in a long loop.
+option_drop_max_loop: 10
-- 
cgit v1.2.3-70-g09d2