Example #1
0
 public void ResetCurStats(CharStatMods mods, BaseStats baseStats)
 {
     this.SetPrimaryStats(baseStats.GetPrimaryStats().Clone());
     this.ResetPrimaryHelper(mods);
     this.SetSecondaryStats(new SStats(this.GetPrimaryStats()));
     this.ResetSecondaryHelper(mods);
 }
Example #2
0
        public BaseStats Clone()
        {
            var clone = new BaseStats();

            clone.SetPrimaryStats(this.GetPrimaryStats().Clone());
            clone.SetSecondaryStats(new SStats(clone.GetPrimaryStats()));
            return(clone);
        }
Example #3
0
 public void Init(BaseStats baseStats)
 {
     this.SetPrimaryStats(baseStats.GetPrimaryStats().Clone());
     this.SetSecondaryStats(new SStats(this.GetPrimaryStats()));
 }