Majsoul: Difference between revisions

40 bytes added ,  22 July 2019
m
Line 111: Line 111:
==== Copper Coins ====
==== Copper Coins ====
[[Image:Majsoul Calculation Copper-coins.png|250px|right|thumb|An example of Copper-coin's calculation]]
[[Image:Majsoul Calculation Copper-coins.png|250px|right|thumb|An example of Copper-coin's calculation]]
The calculation of copper coins is done as follows:
The calculation of copper coins is a bit complex. The whole procedure is listed as follows:
<ol>
<ol>
<li> Calculate End Score based on final point results.
<li> Calculate End Score based on final point results.
Line 131: Line 131:
Copper-coin lost is bounded to maximum coin lost if the result exceeded the limit.
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
CoinLost = Abs(EndScore)>40 ? MaximumLost : EndScore*ExchangeRate
</nowiki></code></p>
</nowiki></code></p>
<li> Sum up the total lost.
<li> Sum up the total lost.