6,366
editsAdd in max()
(Formalize price mod math) |
(Add in max()) |
||
Line 9: | Line 9: | ||
The price modifier is calculated as: | The price modifier is calculated as: | ||
: <tt>P = 2.5 - persuasion modifier - difficulty modifier - attitude modifier</tt> | : <tt>P = max(1.0, 2.5 - persuasion modifier - difficulty modifier - attitude modifier)</tt> | ||
An item's value is multiplied by the price modifier when buying, and divided by the modifier when selling. Favorable modifiers are negative and unfavorable ones positive. | An item's value is multiplied by the price modifier when buying, and divided by the modifier when selling. Favorable modifiers are negative and unfavorable ones positive. |