Example #1
0
 public void RemoveModifier(StatMod modifier)
 {
     BaseBonus        -= modifier.BaseBonus;
     PercentBaseBonus -= modifier.PercentBaseBonus;
     FlatBonus        -= modifier.FlatBonus;
     PercentBonus     -= modifier.PercentBonus;
 }
Example #2
0
 public void ApplyModifier(StatMod modifier)
 {
     BaseBonus        += modifier.BaseBonus;
     PercentBaseBonus += modifier.PercentBaseBonus;
     FlatBonus        += modifier.FlatBonus;
     PercentBonus     += modifier.PercentBonus;
 }