Skip to content

Commit c2348a6

Browse files
Fix selling price formula for t0 (thanks Valen again)
1 parent 952b65e commit c2348a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/towns/ware-prices/selling-price.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ where \\(w\_i\\) is the amount being sold to \\(i\\) and \\(f\\) is defined as:
2424
\begin{aligned}
2525
f\_4 &= 0.5\\\\
2626
f\_{i} &= m_i - v_i \underbrace{\frac{w\_{relative\\_stock} + w\_{relative\\_new\\_stock}}{2 * \text{interval_width}}}\_{\in [0; 1]}\\\\
27-
f\_0 &= d\_{trade\\_difficulty} - (v\_i - d\_{trade\\_difficulty}) \underbrace{\frac{w\_{relative\\_stock} + w\_{relative\\_new\\_stock}}{2 * \text{interval_width}}}\_{\in [0; 1]}
27+
f\_0 &= d\_{trade\\_difficulty} - (d\_{trade\\_difficulty} - v\_i) \underbrace{\frac{w\_{relative\\_stock} + w\_{relative\\_new\\_stock}}{2 * \text{interval_width}}}\_{\in [0; 1]}
2828
\end{aligned}
2929
\\]
3030

0 commit comments

Comments
 (0)