9
edits
m (Formatting and added example info at end.) |
m (grammer) |
||
Line 22: | Line 22: | ||
* SliderPosition is a value between 0 and 40 (fBarterHaggleMax) and represents the position in which the slider is located. | * SliderPosition is a value between 0 and 40 (fBarterHaggleMax) and represents the position in which the slider is located. | ||
* If the value returned by the formula is greater or equal | * If the value returned by the formula is greater than or equal to 0, the trade will be accepted by the merchant. | ||
* Note that sometimes the result of the formula may give 0 (arithmetically) and therefore the trade should be accepted but it is not. This is because of floating-point errors. The handling of these errors can be done but that would over complicate the representation of the formula on this page. | * Note that sometimes the result of the formula may give 0 (arithmetically) and therefore the trade should be accepted but it is not. This is because of floating-point errors. The handling of these errors can be done but that would over complicate the representation of the formula on this page. | ||
* Editor's note: it has yet to be found if and where fBarterHaggleCurve fits into the above formula. | * Editor's note: it has yet to be found if and where fBarterHaggleCurve fits into the above formula. |
edits