diff --git a/muni.js b/muni.js index 92ecb6b..8b2543e 100644 --- a/muni.js +++ b/muni.js @@ -45,6 +45,7 @@ const MAXSTEPS= 10000 var start = Math.abs(Math.max(0,Number(document.getElementById("starting").value))) var end = Math.abs(Math.max(0,Number(document.getElementById("ending").value))) var bonus = Number(document.getElementById("team").value) + var parameter = Math.abs(Math.max(0,Number(document.getElementById("parameter").value))) var type = (document.getElementById("Bingo").checked?"Bingo": document.getElementById("Poker").checked?"Poker/Raid": "Medley") @@ -63,7 +64,7 @@ const MAXSTEPS= 10000 if (voltage>0) { switch (type) { case "Bingo":{ - return voltage * Math.floor((1 + bonus)*Math.max(10,Math.floor(score/interval))) + return voltage * Math.floor((1 + bonus)*Math.max(10,Math.floor(score/interval))+Math.floor((1 + bonus)*Math.floor(parameter/600))) }break; case "Medley":{ return voltage * Math.floor((1 + bonus)*(10+Math.floor(score/interval))) diff --git a/parameterbonus_instructions_small.png b/parameterbonus_instructions_small.png new file mode 100644 index 0000000..e1877b3 Binary files /dev/null and b/parameterbonus_instructions_small.png differ diff --git a/parkingcalc.html b/parkingcalc.html index 6ded42f..6535630 100644 --- a/parkingcalc.html +++ b/parkingcalc.html @@ -45,9 +45,12 @@

+ > The maximum score you can get from playing a song using Free Live.
(Use 0 for Rehearsals Only)
+       + How to find Parameter value???