From f9a83c98a8f3a91470f043b222e7114d65d3da46 Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期二, 11 九月 2018 11:45:12 +0800
Subject: [PATCH] 3270 高低模及手臂逻辑暂时只对龙魂生效

---
 Fight/GameActor/GActorPlayerBase.cs |   17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/Fight/GameActor/GActorPlayerBase.cs b/Fight/GameActor/GActorPlayerBase.cs
index 1306b06..b27dfd1 100644
--- a/Fight/GameActor/GActorPlayerBase.cs
+++ b/Fight/GameActor/GActorPlayerBase.cs
@@ -314,6 +314,7 @@
     private GameObject m_ClothesModel;
     private GameObject m_WeaponModel;
     private GameObject m_SecondaryModel;
+    private GameObject m_HandModel;
     private GameObject m_WingModel;
     private GameObject m_HorseModel;
     private GA_Guard m_Guard;
@@ -517,10 +518,14 @@
         }
 
         int _resID = JobSetup.BaseEquip[2];
+
         ItemConfig _clothesItemConfig = Config.Instance.Get<ItemConfig>((int)ClothesItemID);
-        if (_clothesItemConfig != null)
+        if (JobSetup.Job == 1)
         {
-            _resID = _clothesItemConfig.ChangeOrd + 2900;
+            if (_clothesItemConfig != null)
+            {
+                _resID = _clothesItemConfig.ChangeOrd + 2900;
+            }
         }
 
         ItemConfig _itemConfig = null;
@@ -546,9 +551,13 @@
             if (SecondaryID == 0)
             {
                 int _baseHandResId = JobSetup.BaseEquip[2];
-                if (_clothesItemConfig != null)
+
+                if (JobSetup.Job == 1)
                 {
-                    _baseHandResId = _clothesItemConfig.ChangeOrd + 2900;
+                    if (_clothesItemConfig != null)
+                    {
+                        _baseHandResId = _clothesItemConfig.ChangeOrd + 2900;
+                    }
                 }
 
                 if (!TryRelease(_baseHandResId, m_SecondaryModel))

--
Gitblit v1.8.0