# 玩家状态机枚举

public enum playerStateMenu
{
    None = -1,
    Idle = 0,
    Move = 1,
    Run = 2,
    Walk = 3,
    Attack = 4,
    Death = 5,
    Hurt = 6
};

# 物品类型枚举

public enum itemType
{
    item = 0, // 普通物品
    equip = 1, // 装备
    weapon = 2, // 武器
    food = 3 // 可食用物品
};

# 武器类型枚举

public enum weaponType
{
    stiletto = 0, // 短剑
    crossbow = 1, // 弩
    whip = 2, // 鞭
    watch = 3, // 怀表
    sword = 4 // 大剑
};

# 装备类型枚举

public enum equipType
{
    helmet = 0, // 头盔
    chest = 1, // 护甲
    leggings = 2, // 护腿 
    boots = 3 // 靴子
};

# 食物类型枚举

public enum foodType
{
    normal = 0 // 普通食物
};


# 玩家状态动画名

public class playerStateAni
    {
        private static string idle = "idle";
        private static string move = "move";
        private static string run = "move";
        private static string walk = "move";
        private static string attack = "attack";
        private static string death = "death";
        private static string hurt = "hurt";

        public static string Idle
        {
            get{ return idle;}
        }
        public static string Move
        {
            get{ return move;}
        }
        public static string Run
        {
            get{ return run;}
        }
        public static string Walk
        {
            get{ return walk;}
        }
        public static string Attack
        {
            get{ return attack;}
        }
        public static string Death
        {
            get{ return death;}
        }
        public static string Hurt
        {
            get{ return hurt;}
        }
    }

# 生物的基础数值枚举

public enum entityValueMenu
{
    hp = 0, // 生命值
    atk = 1, // 攻击力
    def = 2, // 防御力
    crhr = 3, // 暴击率
    crd = 4, // 暴击伤害
    mem = 5, // 记忆力
    ra = 6, // 理智
    resilience = 7, // 韧性
    lucky = 8, // 运气
    weapon_count = 9 // 最高携带武器数量
};

# 状态效果类型枚举

public enum effectMenu
{
    normal = 0, // 普通buff
    good = 1, // 好buff
    bad = 2 // 坏buff
};

# 状态效果枚举

public enum effectMenu
{
    lucky = 0, // 幸运
};

# 生物类型枚举

public enum entityType
{
    player = 0, // 玩家
    monster = 1, // 怪物
    animal = 3, // 动物
    npc = 4, // NPC
    item = 5 // 掉落物品
};
上次更新: 3/21/2025, 8:07:42 PM