namespace Game { public enum BuffType { Buff, DeBuff, // None, // 加血, // 加蓝, // 加攻击力, // 加防御力, // 加攻击速度, // 加回蓝速度, // 加回血速度, } public class BuffConfig { /// /// Buff ID /// public int BuffId; /// /// Buff名字 /// public string BuffName; /// /// Buff类型 /// public BuffType BuffType; /// /// 持续时间 /// public float Duration; /// /// 每次Tick造成5点伤害 /// public float DamagePerTick = 5; /// /// 每1秒Tick一次 /// public float TickInterval = 1; /// /// 最大层数 /// public int MaxLayerNumber = 1; } }