idle-survivors/Assets/Scripts/EnemyAttributesSO.cs
zephyr 51fabc12b6
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
feature-attributes (#7)
Updates #2.

Co-authored-by: Branden J Brown <zephyrtronium@gmail.com>
Reviewed-on: #7
2023-07-30 10:58:19 -05:00

19 lines
583 B
C#

using UnityEngine;
[CreateAssetMenu(fileName = "EnemyAttributes", menuName = "Enemy Attributes")]
public class EnemyAttributesSO : ScriptableObject
{
[SerializeField] private Attribute STR;
[SerializeField] private Attribute CON;
[SerializeField] private Attribute SPD;
[SerializeField] private Attribute RNG;
[SerializeField] private Attribute MND;
public long XP { get; private set; }
public long Threat { get; private set; }
public static EnemyAttributesSO New()
{
return ScriptableObject.CreateInstance<EnemyAttributesSO>();
}
}