feat(): 大量更新
This commit is contained in:
26
Assets/Script/Gameplay/Card/CardEffect/EffectData.cs
Normal file
26
Assets/Script/Gameplay/Card/CardEffect/EffectData.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gameplay
|
||||
{
|
||||
[System.Serializable]
|
||||
public class EffectData
|
||||
{
|
||||
public EffectType type; // 效果类型,例如攻击、治疗、抽卡
|
||||
public int value; // 参数值
|
||||
public TargetType target; // 可选参数:目标类型("self", "enemy", "all")
|
||||
}
|
||||
|
||||
public enum TargetType
|
||||
{
|
||||
Self,
|
||||
Enemy,
|
||||
All,
|
||||
None
|
||||
}
|
||||
|
||||
public enum EffectType
|
||||
{
|
||||
Damage,
|
||||
Heal,
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user