22 lines
531 B
C#
22 lines
531 B
C#
using System;
|
|
|
|
namespace OTGIntegrated.Stats
|
|
{
|
|
[Serializable]
|
|
public struct StatModifier
|
|
{
|
|
public StatType statType;
|
|
public ModifierType modifierType;
|
|
public float value;
|
|
public string sourceId;
|
|
|
|
public StatModifier(StatType statType, ModifierType modifierType, float value, string sourceId = "")
|
|
{
|
|
this.statType = statType;
|
|
this.modifierType = modifierType;
|
|
this.value = value;
|
|
this.sourceId = sourceId;
|
|
}
|
|
}
|
|
}
|