Difference between revisions of "Talk:Minigun/Incorrect maximum DPS/reply (5)"

From RimWorld Wiki
Jump to navigation Jump to search
 
m
 
Line 1: Line 1:
 
You could use a really giant switch statement to test every accuracy to every other accuracy (16 comparisons total).
 
You could use a really giant switch statement to test every accuracy to every other accuracy (16 comparisons total).
  
I'd have to check, but it's possible the #max statement e.g. {{#max:4e3|3e4|35*450}} might be enabled, but I'd have to sandbox it first.
+
Mediawiki has some extended parser functions currently not enabled like #max (example: {{#max:10|100|1000}} result: 1000) would make it pretty simple.

Latest revision as of 08:27, 8 August 2016

You could use a really giant switch statement to test every accuracy to every other accuracy (16 comparisons total).

Mediawiki has some extended parser functions currently not enabled like #max (example: {{#max:10|100|1000}} result: 1000) would make it pretty simple.