(client)feat:实现子弹定义以及生成,实现初始化动画,实现血条 (#43)

Co-authored-by: zzdxxz <2079238449@qq.com>
Co-committed-by: zzdxxz <2079238449@qq.com>
This commit is contained in:
2025-08-19 20:22:10 +08:00
committed by TheRedApricot
parent 670f778eee
commit d91210a6ff
119 changed files with 4797 additions and 2929 deletions

View File

@ -1,13 +1,23 @@
namespace Data
{
public enum ItemRarity
{
Common,
Uncommon,
Rare,
Epic,
Legendary
}
public class ItemDef:Define
{
public ImageDef texture;
public AttributesDef attributes;
public ItemRarity rarity = ItemRarity.Common;
public int maxStack = 1; // 最大堆叠数量默认为1
public bool ssEquippable = false; // 是否可装备
}
public class WeaponDef : ItemDef
{
public AttributesDef attributes;
}
}