zephyr
51fabc12b6
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Updates #2. Co-authored-by: Branden J Brown <zephyrtronium@gmail.com> Reviewed-on: #7
19 lines
583 B
C#
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>();
|
|
}
|
|
}
|