Template:Function uma/doc: Difference between revisions

From Japanese Mahjong Wiki
Jump to navigation Jump to search
(Created page with "<pre>{{function uma |rawscore = |targetpts = |startpts = |oka = |uma = }} </pre> result = (((rawscore + oka - (targetpts - startpts))/1000) + uma Category:Fu...")
 
No edit summary
Line 9: Line 9:


result = (((rawscore + oka - (targetpts - startpts))/1000) + uma
result = (((rawscore + oka - (targetpts - startpts))/1000) + uma
== Defaults ==
* rawscore = 25000
* oka = 5000
* targetpts = 30000
* startpts = 30000
* uma = 0


[[Category:Functions]]
[[Category:Functions]]
[[Category:Mahjong templates]]
[[Category:Mahjong templates]]

Revision as of 23:28, 17 January 2015

{{function uma
|rawscore  =
|targetpts =
|startpts  =
|oka       =
|uma       =
}}

result = (((rawscore + oka - (targetpts - startpts))/1000) + uma

Defaults

  • rawscore = 25000
  • oka = 5000
  • targetpts = 30000
  • startpts = 30000
  • uma = 0