2026-04-13 스킬시스템 진행중

This commit is contained in:
2026-04-13 01:42:32 +09:00
parent ba93dc6d2f
commit b2cceb5b27
20 changed files with 1243 additions and 37 deletions

View File

@@ -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 }