From 8d176bc2d7df15f0af489a4a3a8e77f4d374af06 Mon Sep 17 00:00:00 2001 From: milimoe Date: Sun, 10 May 2026 04:05:59 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E5=93=81=E6=B7=BB=E5=8A=A0=E5=A0=86?= =?UTF-8?q?=E5=8F=A0=E6=95=B0=E9=87=8F=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Entity/Item/Item.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Entity/Item/Item.cs b/Entity/Item/Item.cs index 2629157..a2dc687 100644 --- a/Entity/Item/Item.cs +++ b/Entity/Item/Item.cs @@ -175,6 +175,11 @@ namespace Milimoe.FunGame.Core.Entity /// public bool IsRemoveAfterUse { get; set; } = true; + /// + /// 堆叠数量 + /// + public int StackCount { get; set; } = 1; + /// /// 物品所属的角色(只有装备物品,才需要设置) ///