(client)feat:实现按武器释放技能
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user