From faeb58f3deeb68f919ac878d9e53106002bc59fb Mon Sep 17 00:00:00 2001
From: Client_PangDeRong <593317293@qq.com>
Date: 星期四, 06 十二月 2018 15:23:45 +0800
Subject: [PATCH] 2509 【1.3.100】绝版武器宝箱错误

---
 System/KnapSack/Logic/SelectBoxItemCell.cs |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/System/KnapSack/Logic/SelectBoxItemCell.cs b/System/KnapSack/Logic/SelectBoxItemCell.cs
index 91bb210..acb5cac 100644
--- a/System/KnapSack/Logic/SelectBoxItemCell.cs
+++ b/System/KnapSack/Logic/SelectBoxItemCell.cs
@@ -35,7 +35,11 @@
             nameText.text = itemConfig.ItemName;
             ItemCellModel cellModel = new ItemCellModel(id, false, (ulong)BoxModel.selectDict[id]);
             itemBaisc.Init(cellModel);
-            int haveCnt = playerPack.GetItemCountByID(PackType.rptItem, id);
+            if (itemConfig.Effect1 == 220)
+            {
+                id = itemConfig.EffectValueA1;
+            }
+            int haveCnt = playerPack.GetItemCountByID(PackType.rptItem,id);
             if(haveCnt <= 0)
             {
                 haveCnt = ModelCenter.Instance.GetModel<RuneModel>().GetRuneCountById(id);

--
Gitblit v1.8.0