31 lines
576 B
C#
31 lines
576 B
C#
using UnityEngine;
|
|
|
|
public enum DebuffType
|
|
{
|
|
DamageOverTime,
|
|
Slow,
|
|
StatReduction,
|
|
Stun
|
|
}
|
|
|
|
[CreateAssetMenu(menuName = "Skill/DebuffData")]
|
|
public class DebuffData : ScriptableObject
|
|
{
|
|
[Header("기본 정보")]
|
|
public string DebuffName;
|
|
public Sprite Icon;
|
|
|
|
[Header("디버프 설정")]
|
|
public DebuffType DebuffType;
|
|
public float Duration;
|
|
public float TickInterval;
|
|
public float Value;
|
|
|
|
[Header("스택")]
|
|
public bool Stackable;
|
|
public int MaxStacks;
|
|
|
|
[Header("이펙트")]
|
|
public GameObject EffectPrefab;
|
|
}
|