public int GetCalculatedStatValue() { FinalValue = 0; BaseAdditives.ForEach(x => this.FinalValue += x.BonusValue); this.FinalValue += BaseValue; return(FinalValue); }
public float GetCalculatedStatValue() { FinalValue = 0; BaseAdditives.ForEach(x => FinalValue += x.BonusValue); FinalValue += BaseValue; BaseMods.ForEach(x => FinalValue *= (1 + x.BonusValue)); return(FinalValue); }