Example #1
0
 public void Divide(StatValue other)
 {
     Nominal /= other.Nominal;
     if (other.Factor != 0)
     {
         Factor /= other.Factor;
     }
     if (other.Subtracted != 0)
     {
         Subtracted /= other.Subtracted;
     }
 }
Example #2
0
 public void Accumulate(StatValue other)
 {
     Nominal    += other.Nominal;
     Factor     += other.Factor;
     Subtracted += other.Subtracted;
 }