document.getElementById("console").value+="Step "+(step++)+") Use Rehearsal w/"+Math.round(tbonus*100)+"% team. EP +"+gain+". Remaining:"+(end-start)+" EP \n"
return false
}
return true
}
function TryRehearsal(tbonus) {
if (end==start) {
return false
}
@ -147,10 +158,11 @@
if ((end-start)%2!==0) {
return undefined
}
if (end-start>(10+Math.round(bonus*10))+10) {
var gain=(10+Math.round(bonus*10))
if (end-start>(10+Math.round(tbonus*10))+10) {
var gain=(10+Math.round(tbonus*10))
start+=gain
document.getElementById("console").value+="Step "+(step++)+") Use Rehearsal w/"+(bonus*100)+"% team. EP +"+gain+". Remaining:"+(end-start)+" EP \n"
document.getElementById("console").value+="Step "+(step++)+") Use Rehearsal w/"+(tbonus*100)+"% team. EP +"+gain+". Remaining:"+(end-start)+" EP \n"