2023-07-30 09:33:19 -04:00
|
|
|
using UnityEngine;
|
|
|
|
|
2023-07-30 09:35:42 -04:00
|
|
|
[CreateAssetMenu(fileName = "EnemyAttributes", menuName = "Enemy Attributes")]
|
2023-07-30 09:33:19 -04:00
|
|
|
public class EnemyAttributesSO : ScriptableObject
|
|
|
|
{
|
|
|
|
[SerializeField] private Attribute STR;
|
|
|
|
[SerializeField] private Attribute CON;
|
|
|
|
[SerializeField] private Attribute SPD;
|
|
|
|
[SerializeField] private Attribute RNG;
|
|
|
|
[SerializeField] private Attribute MND;
|
2023-07-30 09:41:01 -04:00
|
|
|
public long XP { get; private set; }
|
|
|
|
public long Threat { get; private set; }
|
2023-07-30 09:33:19 -04:00
|
|
|
|
|
|
|
public static EnemyAttributesSO New()
|
|
|
|
{
|
|
|
|
return ScriptableObject.CreateInstance<EnemyAttributesSO>();
|
|
|
|
}
|
|
|
|
}
|