From 1503afaa0a68776a36259d0f9e231830f87a26c0 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 25 十一月 2025 15:49:30 +0800
Subject: [PATCH] 0312 定制装备图标显示等级,定制tip显示统一接口,非掉落获得装备立即弹框
---
Main/System/KnapSack/New/ItemCell.cs | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/Main/System/KnapSack/New/ItemCell.cs b/Main/System/KnapSack/New/ItemCell.cs
index 6602211..2de7598 100644
--- a/Main/System/KnapSack/New/ItemCell.cs
+++ b/Main/System/KnapSack/New/ItemCell.cs
@@ -13,10 +13,13 @@
}
- public override void Init(ItemCellModel model)
+ public void Init(ItemCellModel model, int appointID = 0)
{
base.Init(model);
-
+ if (appointID > 0)
+ {
+ countText.text = Language.Get("L1113", AppointItemConfig.Get(appointID).ItemLV);
+ }
}
}
--
Gitblit v1.8.0