Welcome to the RuneGlory Wiki, where we do our best to make your life easier!

You can use the search menu on the right side of the wiki (or at the bottom if you are on mobile) to search for the page you are looking for. The most popular pages can be found on the right side of the wiki aswell (or again at the bottom if you are on mobile).

Difference between revisions of "Dannyx Test2"

From RuneGlory
Jump to: navigation, search
Line 25: Line 25:
 
     <th>Your Prayer XP</td>
 
     <th>Your Prayer XP</td>
 
     <td> <img id="prayer" src="https://i.imgur.com/Vq65Tdh.png">&nbsp;
 
     <td> <img id="prayer" src="https://i.imgur.com/Vq65Tdh.png">&nbsp;
     <input type="text" id="curxp" name="skill-xp" onkeyup="func()" maxlength="9" placeholder="Your XP"> &nbsp;<img id="prayer" src="https://i.imgur.com/Vq65Tdh.png">
+
     <input type="text" id="curxp" name="skill-xp" onkeyup="func()" maxlength="9" placeholder="Your XP"> &nbsp;
 
  </td>
 
  </td>
 
<tr>
 
<tr>
 
     <th>Target XP</td>
 
     <th>Target XP</td>
 
     <td> <img id="prayer" src="https://i.imgur.com/Vq65Tdh.png">&nbsp;
 
     <td> <img id="prayer" src="https://i.imgur.com/Vq65Tdh.png">&nbsp;
     <input type="text" id="tarxp" name="skill-xp" maxlength="9" value="13000000"> &nbsp; <img id="prayer" src="https://i.imgur.com/Vq65Tdh.png">
+
     <input type="text" id="tarxp" name="skill-xp" maxlength="9" value="13034431"> &nbsp;  
  
 
    
 
    
Line 40: Line 40:
 
   if (document.getElementById("curxp").value > 200000000) {
 
   if (document.getElementById("curxp").value > 200000000) {
 
     //alert("reached max limit");
 
     //alert("reached max limit");
     document.getElementById("curxp").value = "Invalid amount silly!";
+
     document.getElementById("curxp").value = "Invalid Amount!";
 
   }
 
   }
 
}
 
}
Line 66: Line 66:
 
const wyvernBoneXp = 4000;
 
const wyvernBoneXp = 4000;
 
const dagannothBoneXp = 5000;
 
const dagannothBoneXp = 5000;
 +
const frostdragonBoneXp = 7200;
 +
const zogreBoneXp = 60000;
 +
const ourgBoneXp = 80000;
  
 
// ***** Start of function to calculate everything *****
 
// ***** Start of function to calculate everything *****
Line 75: Line 78:
 
   
 
   
 
// ***** Calculate XP *****  
 
// ***** Calculate XP *****  
    document.getElementById("dagannothr").innerHTML = Math.ceil((y - x)/dagannothBoneXp);
+
 
 +
  document.getElementById("ourgr").innerHTML = Math.ceil((y - x)/ourgBoneXp);
 +
 
 +
  document.getElementById("zogrer").innerHTML = Math.ceil((y - x)/zogreBoneXp);
 +
 
 +
  document.getElementById("frostr").innerHTML = Math.ceil((y - x)/frostdragonBoneXp);
 +
 
 +
document.getElementById("dagannothr").innerHTML = Math.ceil((y - x)/dagannothBoneXp);
 
     document.getElementById("wyvernr").innerHTML = Math.ceil((y - x)/wyvernBoneXp);
 
     document.getElementById("wyvernr").innerHTML = Math.ceil((y - x)/wyvernBoneXp);
 
     document.getElementById("dragonr").innerHTML = Math.ceil((y - x)/dragonBoneXp);
 
     document.getElementById("dragonr").innerHTML = Math.ceil((y - x)/dragonBoneXp);
Line 124: Line 134:
 
<img id="next" src="https://i.imgur.com/nHiV3oL.png">  Dagannoth Bones </td>
 
<img id="next" src="https://i.imgur.com/nHiV3oL.png">  Dagannoth Bones </td>
 
     <td id="dagannothr"> </td>   
 
     <td id="dagannothr"> </td>   
 +
  </tr>
 +
  <tr>
 +
    <td>
 +
<img id="next" src="https://i.imgur.com/9p4qdFg.png">  Frost Dragon Bones </td>
 +
    <td id="frostr"> </td> 
 +
  </tr>
 +
  <tr>
 +
    <td>
 +
<img id="next" src="https://i.imgur.com/daQP1uy.png">  Zogre Bones </td>
 +
    <td id="zogrer"> </td> 
 +
  </tr>
 +
  <tr>
 +
    <td>
 +
<img id="next" src="https://i.imgur.com/HXjMCVh.png">  Ourg Bones </td>
 +
    <td id="ourgr"> </td> 
 
   </tr>
 
   </tr>
 
</table>
 
</table>

Revision as of 21:55, 6 June 2018

Prayer Table:

Your Prayer XP    
Target XP    
Name # required
Bones
Big Bones
Babydragon Bones
Dragon Bones
Wyvern Bones
Dagannoth Bones
Frost Dragon Bones
Zogre Bones
Ourg Bones