2026-04-13 스킬시스템 진행중
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user