2026-04-08 스킬시스템 진행중, 폴더구조 변경등
This commit is contained in:
30
Assets/02_Scripts/Skill/Data/DebuffData.cs
Normal file
30
Assets/02_Scripts/Skill/Data/DebuffData.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user