2026-01-03 18:19:39 -05:00
|
|
|
using Cielonos.MainGame.Characters;
|
|
|
|
|
using Sirenix.OdinInspector;
|
2026-02-13 09:22:11 -05:00
|
|
|
using SLSUtilities.General;
|
2026-01-03 18:19:39 -05:00
|
|
|
using UnityEngine;
|
|
|
|
|
|
2026-05-23 08:27:50 -04:00
|
|
|
namespace Cielonos.MainGame.Inventory
|
2026-01-03 18:19:39 -05:00
|
|
|
{
|
|
|
|
|
[CreateAssetMenu(fileName = "AttributeData", menuName = "Cielonos/Items/AttributeData")]
|
|
|
|
|
public class AttributeData : SerializedScriptableObject
|
|
|
|
|
{
|
2026-04-18 13:57:19 -04:00
|
|
|
[Title("Item Attributes")]
|
|
|
|
|
public SerializedDictionary<string, float> itemAttributes = new();
|
2026-02-13 09:22:11 -05:00
|
|
|
|
|
|
|
|
[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();
|
2026-01-03 18:19:39 -05:00
|
|
|
}
|
|
|
|
|
}
|