Код:
[FieldSerialize] float ReductionBy = 1.0f;
Код:
[DefaultValue( 1.0f )] public float reductionBy { get { return ReductionBy; } set { ReductionBy = value; } }
Код:
float realDamage = damage * ReceiveDamageCoefficient * _type.reductionBy;