2026-04-13 스킬시스템 진행중
This commit is contained in:
@@ -65,16 +65,16 @@ public class SkillData : UseableEntry
|
||||
[Header("레벨별 수치")]
|
||||
public SkillLevelData[] Levels;
|
||||
|
||||
[Header("키 액션 설정")]
|
||||
public string InputActionName;
|
||||
|
||||
public SkillLevelData GetLevelData(int level)
|
||||
{
|
||||
int idx = Mathf.Clamp(level - 1, 0, Levels.Length - 1);
|
||||
return Levels[idx];
|
||||
}
|
||||
|
||||
public override void Use()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
public override IUseableRuntime CreateRuntime() => new SkillInstance(this);
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
@@ -90,6 +90,7 @@ public class SkillLevelData
|
||||
public float ChannelDuration;
|
||||
public float TickInterval;
|
||||
public float TickDamage;
|
||||
public float ActionDuration; // Attack 상태 지속 시간 (스킬 발동 후 Idle 복귀까지)
|
||||
}
|
||||
|
||||
public enum SkillType { Active, Passive }
|
||||
|
||||
Reference in New Issue
Block a user