StatMod class calculates cost of stat modifiers.