From 2ec252a98419cb8d1ab0a2cf22c94efda3ab6349 Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期一, 10 九月 2018 11:56:43 +0800
Subject: [PATCH] 3270 高低模及手臂逻辑接入

---
 Fight/GameActor/GActorPlayerBase.cs |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/Fight/GameActor/GActorPlayerBase.cs b/Fight/GameActor/GActorPlayerBase.cs
index d02a752..1306b06 100644
--- a/Fight/GameActor/GActorPlayerBase.cs
+++ b/Fight/GameActor/GActorPlayerBase.cs
@@ -517,6 +517,11 @@
         }
 
         int _resID = JobSetup.BaseEquip[2];
+        ItemConfig _clothesItemConfig = Config.Instance.Get<ItemConfig>((int)ClothesItemID);
+        if (_clothesItemConfig != null)
+        {
+            _resID = _clothesItemConfig.ChangeOrd + 2900;
+        }
 
         ItemConfig _itemConfig = null;
 
@@ -534,14 +539,19 @@
             _resID = _itemConfig.ChangeOrd;
         }
 
-
         // 鍒ゆ柇鏄惁涔嬪墠宸茬粡绌夸簡
         // 绌夸簡灏卞厛鑴辨帀
         if (m_SecondaryModel)
         {
             if (SecondaryID == 0)
             {
-                if (!TryRelease(JobSetup.BaseEquip[2], m_SecondaryModel))
+                int _baseHandResId = JobSetup.BaseEquip[2];
+                if (_clothesItemConfig != null)
+                {
+                    _baseHandResId = _clothesItemConfig.ChangeOrd + 2900;
+                }
+
+                if (!TryRelease(_baseHandResId, m_SecondaryModel))
                 {
                     return;
                 }

--
Gitblit v1.8.0