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

@@ -44,8 +44,5 @@ public class Item : UseableEntry
public float IntervalDamage;
public float IntervalDamageTime;
public override void Use()
{
throw new System.NotImplementedException();
}
public override IUseableRuntime CreateRuntime() => new ItemInstance(this);
}

View File

@@ -1,7 +1,7 @@
using UnityEngine;
[System.Serializable]
public class ItemInstance
public class ItemInstance : IUseableRuntime
{
public Item Data; // 원본 ScriptableObject 참조 (이름, 아이콘 등 불변 데이터)
@@ -18,4 +18,9 @@ public ItemInstance(Item sourceData, int stack = 1)
this.EnhancementLevel = -1;// 기본 강화 수치 (-1은 강화수치가 없는 아이템)
this.Durability = -1; // 기본 내구도 (-1은 내구도가 없는 아이템)
}
public void Execute(UseContext ctx)
{
throw new System.NotImplementedException();
}
}