From RuneGlory
Jump to: navigation, search
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>
 
<p id="demo"></p>
 
  
 
<table>
 
<table>
Line 88: Line 91:
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
     <td> Dynamic input </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>
  
</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 Regular log 1 Dynamic input
Dynamic input Oak log 15 Dynamic input
Dynamic input Willow log 30 Dynamic input
Dynamic input Maple log 45 Dynamic input
Dynamic input Yew log 60 Dynamic input
Magic log 75 Dynamic input