MuniMuniMuniMuni%
This commit is contained in:
parent
0923863351
commit
4e05c05f08
12
muni.js
12
muni.js
@ -40,9 +40,13 @@ const MAXSTEPS= 10000
|
||||
document.getElementById("advanced2").style.visibility=document.getElementById("advanced").checked?"visible":"hidden"
|
||||
}
|
||||
|
||||
function toggleBingo(){
|
||||
setTimeout(() => { document.getElementById("hideBingo").style.visibility=document.getElementById("Bingo").checked?"visible":"hidden"},100)
|
||||
function toggleWarning() {
|
||||
setTimeout(() => { document.getElementById("warningparktext").style.visibility=document.getElementById("flexible").checked?"visible":"hidden"},100)
|
||||
}
|
||||
|
||||
/*function toggleBingo(){
|
||||
setTimeout(() => { document.getElementById("hideBingo").style.visibility=document.getElementById("Bingo").checked?"visible":"hidden"},100)
|
||||
}*/
|
||||
|
||||
function test(){
|
||||
|
||||
@ -71,10 +75,10 @@ const MAXSTEPS= 10000
|
||||
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)))
|
||||
return voltage * Math.floor((1 + bonus)*(10+Math.floor(score/interval))+Math.floor((1 + bonus)*Math.floor(parameter/600)))
|
||||
}break;
|
||||
case "Poker/Raid":{
|
||||
return voltage * Math.floor((1 + bonus)*(50 + Math.floor(score/interval)))
|
||||
return voltage * Math.floor((1 + bonus)*(50 + Math.floor(score/interval))+Math.floor((1 + bonus)*Math.floor(parameter/600)))
|
||||
}break;
|
||||
}
|
||||
} else {
|
||||
|
@ -15,14 +15,14 @@
|
||||
|
||||
<fieldset>
|
||||
<legend>Parking Configuration</legend>
|
||||
<input onClick="toggleBingo()" type="radio" id="Poker" name="type" value="Poker" checked />
|
||||
<label onClick="toggleBingo()" for="Poker">Poker/Raid</label>
|
||||
<input type="radio" id="Poker" name="type" value="Poker" checked />
|
||||
<label for="Poker">Poker/Raid</label>
|
||||
|
||||
<input onClick="toggleBingo()" type="radio" id="Bingo" name="type" value="Bingo" />
|
||||
<label onClick="toggleBingo()" for="Bingo">Bingo</label>
|
||||
<input type="radio" id="Bingo" name="type" value="Bingo" />
|
||||
<label for="Bingo">Bingo</label>
|
||||
|
||||
<input onClick="toggleBingo()" type="radio" id="Medley" name="type" value="Medley" />
|
||||
<label onClick="toggleBingo()" for="Medley">Medley</label>
|
||||
<input type="radio" id="Medley" name="type" value="Medley" />
|
||||
<label for="Medley">Medley</label>
|
||||
|
||||
<hr />
|
||||
<label for="team">Event Team Bonus:</label>
|
||||
@ -37,20 +37,21 @@
|
||||
<option value="1.4">140%</option>
|
||||
<option value="1.6" selected>160%</option>
|
||||
</select>
|
||||
<span class="tooltip"><label for="flexible" alt="Yes"
|
||||
<span onClick="toggleWarning()" class="tooltip"><label for="flexible" alt="Yes"
|
||||
><b>Flexible Team?</b></label
|
||||
><input id="flexible" type="checkbox" />
|
||||
<span class="tooltiptext">If turned on, calculates scoring options using lower % teams also.</span>
|
||||
</span>
|
||||
<span id="warningparktext" style="visibility:hidden;"><font color="red"><b>WARNING!</b> If your team% changes as you are parking you will have to recalculate the <font color="black"><b><u>PARAMETER</u></b></font> value in the middle of parking!</font></span>
|
||||
<br />
|
||||
<br />
|
||||
<span class="tooltip"><label for="maxscore"><b>Max Free Live Score: </b></label
|
||||
><input id="maxscore" min="0" type="number" value="620000" /> <span class="tooltiptext translate22">
|
||||
The maximum score you can get from playing a song using <font color="aqua">Free Live</font>.<br>
|
||||
<sub>(Use 0 for Rehearsals Only)</sub></span></span>
|
||||
<span id="hideBingo" style="visibility:hidden;"><label for="parameter"><b>Parameter: </b></label
|
||||
<label for="parameter"><b>Parameter: </b></label
|
||||
><input id="parameter" min="0" type="number" value="62000" />
|
||||
<i><a href="parameterbonus_instructions_small.png" target="_blank">How to find Parameter value???</a></i></span>
|
||||
<i><a href="parameterbonus_instructions_small.png" target="_blank">How to find Parameter value???</a></i>
|
||||
<hr />
|
||||
<label for="starting"><b>Starting EP: </b></label
|
||||
><input id="starting" min="0" type="number" value="100000" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user