public void UpdateAttribute(PlayerDynamicAttribute attribute) { dynamicType = attribute.dynamicType; refToStaticType = attribute.refToStaticType; currentValue = attribute.currentValue; maxValue = attribute.maxValue; }
public ItemAttribute(StaticAttributeType attributeType_, int min, int max) { attributeType = attributeType_; minValue = min; maxValue = max; value = Random.Range(min, max); }