Elden Ring Rune Calculator Level

elden ring rune calculator level

Elden Ring Level Cost Calculator

body {
padding: 15% 25% 25% 25%;
margin: 2em;
elden ring rune calculator level informational elden ring rune calculator level
}

button#btnCalc {
margin-top: 1em;
margin-left: 25%;
}

div#calcResults {
padding-top: 1em;
padding-bottom: 1em;
elden ring rune calculator level informational elden ring rune calculator level
}


elden ring rune calculator level best of elden ring rune calculator level

document.getElementById(‘btnCalc’).onclick = (e) => {
let startLvl = document.getElementById(‘inputStartLvl’).value;
let endLvl = document.getElementById(‘inputEndLvl’).value;
elden ring rune calculator level informational elden ring rune calculator level
var resultDiv = document.getElementById(‘calcResults’);
var verboseDiv = document.getElementById(‘verboseResults’);
if (startLvl > endLvl || startLvl < 12) return;
var sum = 0;
for (let index = startLvl; index <= endLvl; index++) {
let cost = getRuneCost(index);
sum += cost;
verboseDiv.innerHTML += `

Lvl ${index} will cost ${cost.toLocaleString(“en-US”)}

`;
}
resultDiv.innerHTML = `The total cost between levels ${startLvl} and ${endLvl} will be ${sum.toLocaleString(“en-US”)}`;
elden ring rune calculator level informational elden ring rune calculator level
}
function getRuneCost(level) {
//rune cost equation is, where x is target level
// y = 0.02(x^3) + 3.06(x^2) + 105.6(x) – 895
let y = 0; //rune cost
let x = level; //x ez 😉

let p1 = 0.02 * Math.pow(x, 3);
let p2 = 3.06 * Math.pow(x, 2);
let p3 = 105.6 * x;
elden ring rune calculator level check more elden ring rune calculator level
return Math.round((p1 + p2 + p3) – 895);
}

elden ring rune calculator level

323-203-5769

Where To Watch Ufc 272 Free