(client) feat:实现血条显示,实现攻击交互,添加碰撞体;fix:修复部分朝向贴图加载失败的问题;chore:规范工作类和行为获取类命名

This commit is contained in:
m0_75251201
2025-08-13 22:53:57 +08:00
parent 9922f06990
commit 35924f3695
37 changed files with 1006 additions and 183 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;
}
}