From RuneGlory
Line 21: | Line 21: | ||
Test Firemaking Tables: | Test Firemaking Tables: | ||
</h2> | </h2> | ||
+ | |||
+ | <input type="hidden" id="magic" value="6000"> | ||
+ | |||
<table> | <table> | ||
<tr> | <tr> | ||
Line 37: | Line 40: | ||
function myFunction() { | function myFunction() { | ||
var x = document.getElementById("curxp").value; | var x = document.getElementById("curxp").value; | ||
− | document.getElementById("demo").innerHTML = x; | + | var y = document.getElementById("tarxp").value; |
+ | var magic = document.getElementById("magic").value; | ||
+ | document.getElementById("demo").innerHTML = (y - x)/magic; | ||
} | } | ||
</script> | </script> | ||
<button onclick="myFunction()">Calculate!</button> | <button onclick="myFunction()">Calculate!</button> | ||
− | |||
− | |||
<table> | <table> | ||
Line 88: | Line 91: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td> | + | <td id="demo"> </td> |
<td> | <td> | ||
<img id="next" src="https://i.imgur.com/H8nwdsU.png"> Magic log </td> | <img id="next" src="https://i.imgur.com/H8nwdsU.png"> Magic log </td> | ||
Line 94: | Line 97: | ||
<td> Dynamic input </td> | <td> Dynamic input </td> | ||
</tr> | </tr> | ||
+ | </table> | ||
− | |||
</body> | </body> | ||
</html> | </html> |
Revision as of 19:03, 18 January 2018
Test page from Cypher to make the build-in XP Calculator
Test Firemaking Tables:
Your firemaking XP | |
Target XP |
Amount required | Name | Level | XP |
Dynamic input |
![]() |
1 | Dynamic input |
Dynamic input |
![]() |
15 | Dynamic input |
Dynamic input |
![]() |
30 | Dynamic input |
Dynamic input |
![]() |
45 | Dynamic input |
Dynamic input |
![]() |
60 | Dynamic input |
![]() |
75 | Dynamic input |