Template:Function uma/doc

From Japanese Mahjong Wiki
Jump to navigation Jump to search
{{function uma
|rawscore  = 
|targetpts = 30000
|oka       = 
|uma       = 
}}

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

Defaults

  • rawscore = 25000
  • oka = 5000
  • targetpts = 30000; for this line, always include a value as the expression produces an error when empty. Change the target value if needed.
  • uma = 0