From 7ee0e27d14d0181265a9c09050d055a97210523f Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 27 十月 2020 13:04:38 +0800
Subject: [PATCH] 0312 自动分解装备去除自动挂机的限制,格子小于5 每3秒检查一次

---
 System/SystemSetting/SettingEffectMgr.cs |   19 ++++++++-----------
 1 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/System/SystemSetting/SettingEffectMgr.cs b/System/SystemSetting/SettingEffectMgr.cs
index dfe3fcd..9507f99 100644
--- a/System/SystemSetting/SettingEffectMgr.cs
+++ b/System/SystemSetting/SettingEffectMgr.cs
@@ -118,7 +118,7 @@
             }
         }
 
-        if (secondTimer >= 1f)
+        if (secondTimer >= 3f)
         {
             secondTimer = 0f;
             RefreshBagItem();
@@ -175,10 +175,10 @@
 
     public void RefreshBagItem()
     {
-        if (!_isAutoHangUp)
-        {
-            return;
-        }
+        // if (!_isAutoHangUp)
+        // {
+        //     return;
+        // }
         DealBagItem();
     }
 
@@ -197,13 +197,10 @@
                 return;
             }
 
-            if (HangUpSetModel.Instance.GetBool(HangUpAutoBoolType.isAutoDevour) && !isStartDecompose)
+            if (HangUpSetModel.Instance.GetBool(HangUpAutoBoolType.isAutoDevour) && !isStartDecompose &&
+            FuncOpen.Instance.IsFuncOpen(123))
             {
-                if (playerPack.IsReachMinDecomposeNum())
-                {
-                    playerPack.SendEquipdevourQuest(true);
-                    return;
-                }
+                playerPack.SendEquipdevourQuest(true);
             }
         }
     }

--
Gitblit v1.8.0