public void ResetCurStats(CharStatMods mods, BaseStats baseStats) { this.SetPrimaryStats(baseStats.GetPrimaryStats().Clone()); this.ResetPrimaryHelper(mods); this.SetSecondaryStats(new SStats(this.GetPrimaryStats())); this.ResetSecondaryHelper(mods); }
public BaseStats Clone() { var clone = new BaseStats(); clone.SetPrimaryStats(this.GetPrimaryStats().Clone()); clone.SetSecondaryStats(new SStats(clone.GetPrimaryStats())); return(clone); }
public void Init(BaseStats baseStats) { this.SetPrimaryStats(baseStats.GetPrimaryStats().Clone()); this.SetSecondaryStats(new SStats(this.GetPrimaryStats())); }