From 171b4e4bdf6e68391bfb2a22f4c71c751e7021ea Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期五, 21 九月 2018 22:50:47 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/Dogz/DogzModel.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/System/Dogz/DogzModel.cs b/System/Dogz/DogzModel.cs
index 128175f..9ca98b7 100644
--- a/System/Dogz/DogzModel.cs
+++ b/System/Dogz/DogzModel.cs
@@ -543,13 +543,13 @@
         }
 
         public List<ItemModel> selectEquipPlacelist { get; private set; }
-        public List<ItemModel> GetDogzItemListByIndex(int index)
+        public List<ItemModel> GetDogzItemListByIndex(int dogzId,int index)
         {
             SinglePackModel singlePack = playerPack.GetSinglePackModel(PackType.rptDogzItem);
             selectEquipPlacelist.Clear();
             if (singlePack == null) return selectEquipPlacelist;
 
-            var _itemColor = GetDogzEquipLimitByIndex(presentSelectDogz, index);
+            var _itemColor = GetDogzEquipLimitByIndex(dogzId, index);
             var _equipPlace = GetDogzEquipPlaceByIndex(index);
             Dictionary<int, ItemModel> pairs = singlePack.GetPackModelIndexDict();
             foreach (var value in pairs.Values)
@@ -762,7 +762,7 @@
                         bool _equiped = TryGetDogzEquip(spaceDogzId, i + 101, out _data);
                         if(!_equiped)
                         {
-                            GetDogzItemListByIndex(i);
+                            GetDogzItemListByIndex(spaceDogzId,i);
                             if (selectEquipPlacelist.Count > 0)
                             {
                                 Redpoint equipPlaceRedpoint = GetDogzEquipPlaceRedpointById(spaceDogzId,i);
@@ -802,7 +802,7 @@
                             bool _equiped = TryGetDogzEquip(dogzId, i + 101, out _data);
                             if (!_equiped)
                             {
-                                GetDogzItemListByIndex(i);
+                                GetDogzItemListByIndex(dogzId,i);
                                 if (selectEquipPlacelist.Count < 1)
                                 {
                                     isBetterDogz = false;

--
Gitblit v1.8.0