From RuneGlory
Jump to: navigation, search
Line 22: Line 22:
 
</h2>
 
</h2>
  
<!-- XP for all logs -->
 
 
<input type="hidden" id="reglog" value="1781">
 
<input type="hidden" id="reglog" value="1781">
 
<input type="hidden" id="oak" value="2250">
 
<input type="hidden" id="oak" value="2250">
Line 30: Line 29:
 
<input type="hidden" id="magic" value="6000">
 
<input type="hidden" id="magic" value="6000">
  
<!--  Coins obtained from chopping for each logs -->
+
<input type="hidden" id="coinreglog" value="1200">
<input type="hidden" id="coinreglog" value="1781">
+
<input type="hidden" id="coinoak" value="1800">
<input type="hidden" id="coinoak" value="2250">
+
<input type="hidden" id="coinwillow" value="2100">
<input type="hidden" id="coinwillow" value="3076">
+
<input type="hidden" id="coinmaple" value="2400">
<input type="hidden" id="coinmaple" value="4125">
+
<input type="hidden" id="coinyew" value="2700">
<input type="hidden" id="coinyew" value="5000">
+
<input type="hidden" id="coinmagic" value="3000">
<input type="hidden" id="coinmagic" value="6000">
 
  
 
<table>
 
<table>
Line 70: Line 68:
 
     var coinwillow = document.getElementById("coinwillow").value;
 
     var coinwillow = document.getElementById("coinwillow").value;
 
     var coinoak = document.getElementById("coinoak").value;
 
     var coinoak = document.getElementById("coinoak").value;
     var coinreglog = document.getElementById("coinreglog").value;
+
     var coinsreglog = document.getElementById("coinreglog").value;
 
   
 
   
 
// Calculate XP   
 
// Calculate XP   
Line 79: Line 77:
 
     document.getElementById("oakr").innerHTML = Math.ceil((y - x)/oak);
 
     document.getElementById("oakr").innerHTML = Math.ceil((y - x)/oak);
 
     document.getElementById("reglogr").innerHTML = Math.ceil((y - x)/reglog);
 
     document.getElementById("reglogr").innerHTML = Math.ceil((y - x)/reglog);
 
// Calculate coins made
 
    document.getElementById("magiccoin").innerHTML = Math.ceil(((y - x)/magic)*magiccoin);
 
    document.getElementById("yewcoin").innerHTML = Math.ceil(((y - x)/yew)*yewcoin);
 
    document.getElementById("maplecoin").innerHTML = Math.ceil(((y - x)/maple)*maplecoin);
 
    document.getElementById("willowcoin").innerHTML = Math.ceil(((y - x)/willow)*willowcoin);
 
    document.getElementById("oakcoin").innerHTML = Math.ceil(((y - x)/oak)*oakcoin);
 
    document.getElementById("reglogcoin").innerHTML = Math.ceil(((y - x)/reglog)*reglogcoin);
 
  
 
     document.getElementById("xpneeded").innerHTML = (y - x);
 
     document.getElementById("xpneeded").innerHTML = (y - x);
 
     document.getElementById("spobtained").innerHTML = Math.floor((y - x)/500000)*3;
 
     document.getElementById("spobtained").innerHTML = Math.floor((y - x)/500000)*3;
 +
 +
    document.getElementById("coinsmadereglog").innerHTML = (Math.ceil((y - x)/reglog))*coinsreglog;
 +
 
}
 
}
 
</script>
 
</script>
Line 107: Line 100:
 
<img id="next" src="https://i.imgur.com/V5hKi9L.png">  Regular log </td>
 
<img id="next" src="https://i.imgur.com/V5hKi9L.png">  Regular log </td>
 
     <td id="reglogr"> </td>
 
     <td id="reglogr"> </td>
     <td id="reglogcoin"> </td>
+
     <td id="coinsmadereglog"> </td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>

Revision as of 18:16, 19 January 2018

Test page from Cypher to make the build-in XP Calculator


Test Firemaking Tables:

Your firemaking XP
Target XP
Experience needed:
Skilling points you'll obtain:
Level Name Amount Coins made
1 Regular log
15 Oak log Dynamic input
30 Willow log Dynamic input
45 Maple log Dynamic input
60 Yew log Dynamic input
75 Magic log Dynamic input