2026-04-11 에러수정
This commit is contained in:
@@ -38,13 +38,8 @@
|
||||
*/
|
||||
|
||||
[CreateAssetMenu(menuName = "Skill/SkillData")]
|
||||
public class SkillData : ScriptableObject
|
||||
public class SkillData : UseableEntry
|
||||
{
|
||||
[Header("기본 정보")]
|
||||
public string SkillName;
|
||||
[TextArea] public string Description;
|
||||
public Sprite Icon;
|
||||
|
||||
[Header("스킬 분류")]
|
||||
public SkillType SkillType;
|
||||
public ActivationType ActivationType;
|
||||
@@ -75,6 +70,11 @@ 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();
|
||||
}
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
|
||||
@@ -9,7 +9,7 @@ public void Execute(SkillInstance skill, Transform caster, float chargeRatio)
|
||||
// PlayerStat에 버프 적용
|
||||
// caster.GetComponent<PlayerStat>()?.ApplyBuff(levelData);
|
||||
|
||||
Debug.Log($"버프 적용: {skill.Data.SkillName}, 지속시간 {levelData.Duration}초");
|
||||
Debug.Log($"버프 적용: {skill.Data.EntryName}, 지속시간 {levelData.Duration}초");
|
||||
}
|
||||
|
||||
public void ExecuteAtPosition(SkillInstance skill, Transform caster, Vector3 targetPos, float chargeRatio)
|
||||
|
||||
Reference in New Issue
Block a user