Majsoul: Difference between revisions

240 bytes added ,  22 July 2019
Line 75: Line 75:
* Players will not be downgraded in Celestial rank. The ranking is sorted by the current points.
* Players will not be downgraded in Celestial rank. The ranking is sorted by the current points.


=== Calculation on Upgrading Points ===
=== Calculations ===
Uma Points:
==== End-Score Points ====
* 4P: 1st <code>+15</code>, 2nd <code>+5</code>, 3rd <code>-5</code>, 4th <code>-15</code>.
Uma Points: '''4P''': 1st <code>+15</code>, 2nd <code>+5</code>, 3rd <code>-5</code>, 4th <code>-15</code>; '''3P''': 1st <code>+15</code>, 2nd <code>±0</code>, 3rd <code>-15</code>.
* 3P: 1st <code>+15</code>, 2nd <code>±0</code>, 3rd <code>-15</code>.
Starting Points: 4P <code>25000</code>, 3P <code>35000</code>.


Starting Points: '''4P''' <code>25000</code>; '''3P''' <code>35000</code>.
Formula: <code><nowiki>
EndScore = (MatchResult - StartingPts) / 1000 + UmaPts
</nowiki></code>
==== Rank Points ====
Formula: <code><nowiki>
Formula: <code><nowiki>
PtsGain = (MatchResult - StartingPts) / 1000 + UmaPts + RankPts
PtsGain = EndScore + RankPts
</nowiki></code>
</nowiki></code>


Line 104: Line 109:
|}
|}


=== Calculation on 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 full calculation is done as follows:
The calculation of copper coins is done as follows:
<ol>
<ol>
<li> Calculate End Score based on final point results:
<li> Calculate End Score based on final point results.
<p><code><nowiki>
EndScore = (MatchResult - StartingPts) / 1000 + UmaPts
</nowiki></code></p>
 
<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 following table.
{| class="wikitable" style="min-width:460px;"
{| class="wikitable" style="min-width:460px;"
Line 129: Line 130:
|}
|}
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>
CoinLost = abs(EndScore)>40 ? MaximumLost : EndScore*ExchangeRate
</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>
CoinGain = Sum(CoinLosts) * EndScore / Sum(PositiveEndScores)
</nowiki></code></p>
</ol>
</ol>