(client)feat:实现按武器释放技能

This commit is contained in:
m0_75251201
2025-08-27 19:08:27 +08:00
parent 63efa89ac1
commit 5315e29147
25 changed files with 1184 additions and 5106 deletions

View File

@ -100,5 +100,19 @@ namespace Item
/// 物品的帧率(如果适用)。
/// </summary>
public float FPS { get; protected set; }
public static ItemResource GetDefault()
{
ItemDef defaultDef = new()
{
defName = "default",
label = "错误物品",
description = "你看到这个物品表示加载出错了",
rarity = ItemRarity.Uncommon,
maxStack = 1,
ssEquippable = false
};
return new ItemResource(defaultDef);
}
}
}