Majsoul: Difference between revisions

4 bytes removed ,  24 July 2019
m
Line 114: Line 114:
<ol>
<ol>
<li> Calculate End Score based on final point results.
<li> Calculate End Score based on final point results.
<li> Calculate Copper-coin lost for negative End Scores based on the following table.
<li> Calculate Copper-coin lost for negative End Scores based on the exchange rate. The lost is always capped to a maximum lost if the result exceeded the limit.
{| class="wikitable" style="min-width:460px;"
{| class="wikitable" style="min-width:460px;"
|-
|-
Line 129: Line 129:
| Throne Room || East <br/> South || 10000 / 2000 <br/> 14000 / 2800 || 8000 <br/> 11200 || 200 <br/> 280
| Throne Room || East <br/> South || 10000 / 2000 <br/> 14000 / 2800 || 8000 <br/> 11200 || 200 <br/> 280
|}
|}
Copper-coin lost is bounded to maximum coin lost if the result exceeded the limit.
<p>Formula: <code><nowiki>
<p>Formula: <code><nowiki>
CoinLost = Abs(EndScore)>40 ? MaximumLost : EndScore*ExchangeRate
CoinsLost = Abs(EndScore)>40 ? MaximumLost : EndScore*ExchangeRate
</nowiki></code></p>
</nowiki></code></p>
<li> Sum up the total lost.
<li> Sum up the total lost.
<li> Distribute the coins proportionally to other players based on End Score.
<li> Distribute the coins proportionally to other players based on End Score.
<p>Formula: <code><nowiki>
<p>Formula: <code><nowiki>
CoinGain = Sum(CoinLosts) * EndScore / Sum(PositiveEndScores)
CoinsGain = Sum(CoinsLosts) * EndScore / Sum(PositiveEndScores)
</nowiki></code></p>
</nowiki></code></p>
</ol>
</ol>