MuniMuni
Prepare for final version
This commit is contained in:
parent
d6429ff4c3
commit
20d039182b
22
muni.js
22
muni.js
@ -53,10 +53,10 @@ const MAXSTEPS= 10000
|
|||||||
return "Enable voltage & EP limits."
|
return "Enable voltage & EP limits."
|
||||||
}break;
|
}break;
|
||||||
case 12:{ //Label for setting the lowest EP where voltage is allowed.
|
case 12:{ //Label for setting the lowest EP where voltage is allowed.
|
||||||
return "Lowest EP to use Voltage:"
|
return "Use voltage until: "
|
||||||
}break;
|
}break;
|
||||||
case 13:{ //Label for setting the total amount of voltage the calculator may consume.
|
case 13:{ //Label for setting the total amount of voltage the calculator may consume.
|
||||||
return "Max Voltage to consume:"
|
return "Max Voltage to use:"
|
||||||
}break;
|
}break;
|
||||||
case 14:{ //Label for setting the Starting EP amount.
|
case 14:{ //Label for setting the Starting EP amount.
|
||||||
return "Starting EP:"
|
return "Starting EP:"
|
||||||
@ -67,6 +67,15 @@ const MAXSTEPS= 10000
|
|||||||
case 16:{ //The text for the button users click to run the calculator.
|
case 16:{ //The text for the button users click to run the calculator.
|
||||||
return "Calculate"
|
return "Calculate"
|
||||||
}break;
|
}break;
|
||||||
|
case 19:{ //Tip: Here's the Light on EX or Synchrogazer on Hard/EX difficulty are some of the highest scoring songs you can pick.
|
||||||
|
return "Here's the Light on EX or Synchrogazer on Hard/EX difficulty are some of the highest scoring songs you can pick."
|
||||||
|
}break;
|
||||||
|
case 20:{ //Tip: When you get close to the score you need in Free Live, purposely fail the song. Notes are worth 10% their normal value when you have 0 health so you can finish easily.
|
||||||
|
return "When you get close to the score you need in Free Live, purposely fail the song. Notes are worth 10% their normal value when you have 0 health so you can finish easily."
|
||||||
|
}break;
|
||||||
|
case 21:{ //Tip: The "Flexible Team" option gives you the fastest park, but at the expense of more voltage.
|
||||||
|
return "The <b>\"Flexible Team\"</b> option gives you the fastest park, but at the expense of more voltage."
|
||||||
|
}break;
|
||||||
case "%INITIAL%":{ //This message is the first thing to display for a normal calculation.
|
case "%INITIAL%":{ //This message is the first thing to display for a normal calculation.
|
||||||
//Sample message:
|
//Sample message:
|
||||||
/*
|
/*
|
||||||
@ -91,7 +100,7 @@ const MAXSTEPS= 10000
|
|||||||
*/
|
*/
|
||||||
//Variables for this message:
|
//Variables for this message:
|
||||||
/*
|
/*
|
||||||
Step %STEP%) Using %VOLTAGE% voltage w/%PERCENT%% team, score between %LOWSCORE~%HIGHSCORE% pts. EP +%EPGAIN%. Remaining:%REMAINING% EP
|
Step %STEP%) Using %VOLTAGE% voltage w/%PERCENT%% team, score between %LOWSCORE%~%HIGHSCORE% pts. EP +%EPGAIN%. Remaining:%REMAINING% EP
|
||||||
*/
|
*/
|
||||||
return "Step %STEP%) Using %VOLTAGE% voltage w/%PERCENT%% team, score between %LOWSCORE%~%HIGHSCORE% pts. EP +%EPGAIN%. Remaining:%REMAINING% EP"
|
return "Step %STEP%) Using %VOLTAGE% voltage w/%PERCENT%% team, score between %LOWSCORE%~%HIGHSCORE% pts. EP +%EPGAIN%. Remaining:%REMAINING% EP"
|
||||||
}break;
|
}break;
|
||||||
@ -156,6 +165,11 @@ const MAXSTEPS= 10000
|
|||||||
}
|
}
|
||||||
ConvertLanguage()
|
ConvertLanguage()
|
||||||
|
|
||||||
|
function toggle(){
|
||||||
|
//document.getElementById("console").value+=JSON.stringify(document.getElementById("advanced"))
|
||||||
|
document.getElementById("advanced2").style.visibility=document.getElementById("advanced").checked?"visible":"hidden"
|
||||||
|
}
|
||||||
|
|
||||||
function test(){
|
function test(){
|
||||||
|
|
||||||
var start = Math.abs(Math.max(0,Number(document.getElementById("starting").value)))
|
var start = Math.abs(Math.max(0,Number(document.getElementById("starting").value)))
|
||||||
@ -173,7 +187,7 @@ const MAXSTEPS= 10000
|
|||||||
|
|
||||||
var interval = (type=="Medley")?15000:10000
|
var interval = (type=="Medley")?15000:10000
|
||||||
|
|
||||||
var maxscore = Math.floor(Math.abs(Math.max(0,Number(document.getElementById("maxscore").value)))/interval)*interval
|
var maxscore = Math.floor(Math.abs(Math.min(5000000,Math.max(0,Number(document.getElementById("maxscore").value))))/interval)*interval
|
||||||
|
|
||||||
function EPCalc(voltage,score,bonus) {
|
function EPCalc(voltage,score,bonus) {
|
||||||
if (voltage>0) {
|
if (voltage>0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user