public void RemoveModifier(StatMod modifier) { BaseBonus -= modifier.BaseBonus; PercentBaseBonus -= modifier.PercentBaseBonus; FlatBonus -= modifier.FlatBonus; PercentBonus -= modifier.PercentBonus; }
public void ApplyModifier(StatMod modifier) { BaseBonus += modifier.BaseBonus; PercentBaseBonus += modifier.PercentBaseBonus; FlatBonus += modifier.FlatBonus; PercentBonus += modifier.PercentBonus; }