mirror of
http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite.git
synced 2025-11-20 04:37:11 +08:00
Co-authored-by: m0_75251201 <m0_75251201@noreply.gitcode.com> Reviewed-on: http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite/pulls/56
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 = 3;
|
||
public string[] textures;
|
||
public ItemRarity rarity = ItemRarity.Common;
|
||
public int maxStack = 10; // 最大堆叠数量,默认为10
|
||
public bool ssEquippable = false; // 是否可装备
|
||
}
|
||
|
||
} |