From f90bcf177217ad0e104bc811d576c1517b79758e Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期五, 09 一月 2026 11:04:57 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts
---
Main/System/ItemTip/BoxGetItemModel.cs | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/Main/System/ItemTip/BoxGetItemModel.cs b/Main/System/ItemTip/BoxGetItemModel.cs
index 407c53f..a508a9f 100644
--- a/Main/System/ItemTip/BoxGetItemModel.cs
+++ b/Main/System/ItemTip/BoxGetItemModel.cs
@@ -105,6 +105,8 @@
}
}
+ bool isMergeItem = true;
+ //绾﹀畾IsBind=10 涓哄彜瀹濋澶栧鍔�
if (netPack.ItemList.Length != 0)
{
for (int i = 0; i < netPack.ItemLen; i++)
@@ -112,6 +114,10 @@
showItems.Add(new Item((int)netPack.ItemList[i].ItemID,
netPack.ItemList[i].Count + netPack.ItemList[i].CountEx * Constants.ExpPointValue,
netPack.ItemList[i].IsBind));
+ if (isMergeItem && netPack.ItemList[i].IsBind >= 10)
+ {
+ isMergeItem = false;
+ }
}
}
@@ -123,7 +129,7 @@
if (showItems.Count == 0)
return;
- ItemLogicUtility.Instance.ShowGetItem(showItems, eventName);
+ ItemLogicUtility.Instance.ShowGetItem(showItems, eventName, isMergeItem:isMergeItem);
}
// public int GetUseCntByID(int itemId)
--
Gitblit v1.8.0