feature-attributes #7

Merged
zephyr merged 10 commits from feature-attributes into main 2023-07-30 10:58:19 -05:00
2 changed files with 6 additions and 3 deletions
Showing only changes of commit 3b0fc4481e - Show all commits

View File

@ -2,14 +2,17 @@ using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HeroAttributes : ScriptableObject
public class HeroAttributesSO : ScriptableObject
{
// TODO(zeph): does these being private make it hard to create a new hero?
// what about applying effects?
[SerializeField] private Attribute STR;
[SerializeField] private Attribute MAG;
[SerializeField] private Attribute DEX;
[SerializeField] private Attribute CON;
[SerializeField] private Attribute CHA;
[SerializeField] private Attribute FTH;
public static HeroAttributesSO New()
{
return ScriptableObject.CreateInstance<HeroAttributesSO>();
}
}