2025-02-17 18:00:01 +08:00
|
|
|
|
using System.Collections.Generic;
|
2025-02-12 17:53:59 +08:00
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
namespace Game
|
|
|
|
|
{
|
2025-02-17 18:00:01 +08:00
|
|
|
|
public class Buff
|
2025-02-12 17:53:59 +08:00
|
|
|
|
{
|
2025-02-17 18:00:01 +08:00
|
|
|
|
public string Name; // Buff的名称,例如"战士"、"游侠"等
|
|
|
|
|
public string Description; // Buff的描述
|
|
|
|
|
public List<BuffEffect> Effects; // Buff带来的效果(可以是多个效果)
|
2025-02-12 17:53:59 +08:00
|
|
|
|
|
2025-02-17 18:00:01 +08:00
|
|
|
|
public Buff(string name, string description, List<BuffEffect> effects)
|
2025-02-12 17:53:59 +08:00
|
|
|
|
{
|
2025-02-17 18:00:01 +08:00
|
|
|
|
Name = name;
|
|
|
|
|
Description = description;
|
|
|
|
|
Effects = effects;
|
2025-02-12 17:53:59 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|