Co-authored-by: zzdxxz <2079238449@qq.com> Co-committed-by: zzdxxz <2079238449@qq.com>
20 lines
433 B
C#
20 lines
433 B
C#
namespace Data
|
||
{
|
||
public enum ItemRarity
|
||
{
|
||
Common,
|
||
Uncommon,
|
||
Rare,
|
||
Epic,
|
||
Legendary
|
||
}
|
||
public class ItemDef : Define
|
||
{
|
||
public float FPS = 0;
|
||
public string[] textures;
|
||
public ItemRarity rarity = ItemRarity.Common;
|
||
public int maxStack = 10; // 最大堆叠数量,默认为10
|
||
public bool ssEquippable = false; // 是否可装备
|
||
}
|
||
|
||
} |