23 lines
968 B
C#
23 lines
968 B
C#
using Cielonos.MainGame.Characters;
|
|
using Sirenix.OdinInspector;
|
|
using SLSUtilities.General;
|
|
using UnityEngine;
|
|
|
|
namespace Cielonos.MainGame.Inventory
|
|
{
|
|
[CreateAssetMenu(fileName = "AttributeData", menuName = "Cielonos/Items/AttributeData")]
|
|
public class AttributeData : SerializedScriptableObject
|
|
{
|
|
[Title("Item Attributes")]
|
|
public SerializedDictionary<string, float> itemAttributes = new();
|
|
|
|
[Title("Character Attribute Changes")] [DictionaryTitle("Numeric")]
|
|
public SerializedDictionary<string, float, CharacterAttributePair> chaAttrNumericChange = new();
|
|
|
|
[DictionaryTitle("Percentage Accumulation")]
|
|
public SerializedDictionary<string, float, CharacterAttributePair> chaAttrPercentageChangeOfAccumulation = new();
|
|
|
|
[DictionaryTitle("Percentage Multiplication")]
|
|
public SerializedDictionary<string, float, CharacterAttributePair> chaAttrPercentageChangeOfMultiplication = new();
|
|
}
|
|
} |