物品添加堆叠数量属性

This commit is contained in:
milimoe 2026-05-10 04:05:59 +08:00
parent aec0112358
commit 8d176bc2d7
Signed by: milimoe
GPG Key ID: 9554D37E4B8991D0

View File

@ -175,6 +175,11 @@ namespace Milimoe.FunGame.Core.Entity
/// </summary>
public bool IsRemoveAfterUse { get; set; } = true;
/// <summary>
/// 堆叠数量
/// </summary>
public int StackCount { get; set; } = 1;
/// <summary>
/// 物品所属的角色(只有装备物品,才需要设置)
/// </summary>