Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div style="margin-left:11.25em;margin-top:-3.125em;margin-bottom:5em">
- <img src="https://i.imgur.com/D57lzSy.png"style="position:relative;top:5.3em;"/>
- <img src="https://i.imgur.com/2GzIT7A.png"style="position:relative;top:7.5em;left:-2.75em"/>
- <img src="https://i.imgur.com/M9A3nbI.png"style="position:relative;top:9.7em;left:-5.563em"/>
- <img src="https://i.imgur.com/ECQwqs4.png"style="position:relative;top:11.8em;left:-8.375em"/>
- <img src="https://i.imgur.com/jTtvK08.png"style="position:relative;top:14em;left:-11.063em"/>
- <img src="https://i.imgur.com/D57lzSy.png"style="position:relative;top:5.3em;"/>
- <img src="https://i.imgur.com/2GzIT7A.png"style="position:relative;top:7.5em;left:-2.750em"/>
- <img src="https://i.imgur.com/M9A3nbI.png"style="position:relative;top:9.7em;left:-5.563em"/>
- <img src="https://i.imgur.com/ECQwqs4.png"style="position:relative;top:11.8em;left:-8.375em"/>
- <img src="https://i.imgur.com/jTtvK08.png"style="position:relative;top:14em;left:-11.063em"/>
- <form>
- <div style="margin-bottom:1em;margin-left:-0.5em">
- <span>Current Levels</span>
- <span style="margin-left:4.4em">Desired Levels</span>
- </div>
- <div>
- <input type="number" id="attack1" value="1" min="1" max="99" style="width:30px;margin-left:40px;margin-top:1em">
- <input type="number" id="attack2" value="1" min="1" max="99" style="width:30px;margin-left:100px;margin-top:1em">
- </div>
- <div>
- <input type="number" id="strength1" value="1" min="1" max="99" style="width:30px;margin-left:40px;margin-top:1em">
- <input type="number" id="strength2" value="1" min="1" max="99" style="width:30px;margin-left:100px;margin-top:1em">
- </div>
- <div>
- <input type="number" id="defence1" value="1" min="1" max="99" style="width:30px;margin-left:40px;margin-top:1em">
- <input type="number" id="defence2" value="1" min="1" max="99" style="width:30px;margin-left:100px;margin-top:1em">
- </div>
- <div>
- <input type="number" id="range1" value="1" min="1" max="99" style="width:30px;margin-left:40px;margin-top:1em">
- <input type="number" id="range2" value="1" min="1" max="99" style="width:30px;margin-left:100px;margin-top:1em">
- </div>
- <div>
- <input type="number" id="magic1" value="1" min="1" max="99" style="width:30px;margin-left:40px;margin-top:1em">
- <input type="number" id="magic2" value="1" min="1" max="99" style="width:30px;margin-left:100px;margin-top:1em">
- </div>
- <div>
- <input type="checkbox" id="pure" name="pure" value="Pure" style="margin-left:3em;margin-top:3em;margin-bottom:1em">Is the account a pure?<br>
-           (Prayer potions required)
- </div>
- <input type=button onClick="compute()" value="Compute" style="margin-left:1em;margin-top:2em">
- <input type="text" id="result" value="0" style="width:8em;margin-left:3em" readonly>
- </form>
- <input onClick="payWithPayPal()" type="image" src="https://i.imgur.com/hnBQbpX.jpg" height="40" style="position:relative;left:-10px;top:30px"/>
- <input onClick="payWithBitcoin()" type="image" src="https://i.imgur.com/dTzo3Fa.png" height="40" style="position:relative;left:0px;top:30px"/>
- <input onClick="payWithGp()" type="image" src="https://i.imgur.com/KEtiG6J.png" height="40" style="position:relative;left:10px;top:30px"/>
- </div>
- <script>
- var xpTable = {
- 1: 0,
- 2: 83,
- 3: 174,
- 4: 276,
- 5: 388,
- 6: 512,
- 7: 650,
- 8: 801,
- 9: 969,
- 10: 1154,
- 11: 1358,
- 12: 1584,
- 13: 1833,
- 14: 2107,
- 15: 2411,
- 16: 2746,
- 17: 3115,
- 18: 3523,
- 19: 3973,
- 20: 4470,
- 21: 5018,
- 22: 5624,
- 23: 6291,
- 24: 7028,
- 25: 7842,
- 26: 8740,
- 27: 9730,
- 28: 10824,
- 29: 12031,
- 30: 13363,
- 31: 14833,
- 32: 16456,
- 33: 18247,
- 34: 20224,
- 35: 22406,
- 36: 24815,
- 37: 27473,
- 38: 30408,
- 39: 33648,
- 40: 37224,
- 41: 41171,
- 42: 45529,
- 43: 50339,
- 44: 55649,
- 45: 61512,
- 46: 67983,
- 47: 75127,
- 48: 83014,
- 49: 91721,
- 50: 101333,
- 51: 111945,
- 52: 123660,
- 53: 136594,
- 54: 150872,
- 55: 166636,
- 56: 184040,
- 57: 203254,
- 58: 224466,
- 59: 247886,
- 60: 273742,
- 61: 302288,
- 62: 333804,
- 63: 368599,
- 64: 407015,
- 65: 449428,
- 66: 496254,
- 67: 547953,
- 68: 605032,
- 69: 668051,
- 70: 737627,
- 71: 814445,
- 72: 899257,
- 73: 992895,
- 74: 1096278,
- 75: 1210421,
- 76: 1336443,
- 77: 1475581,
- 78: 1629200,
- 79: 1798808,
- 80: 1986068,
- 81: 2192818,
- 82: 2421087,
- 83: 2673114,
- 84: 2951373,
- 85: 3258594,
- 86: 3597792,
- 87: 3972294,
- 88: 4385776,
- 89: 4842295,
- 90: 5346332,
- 91: 5902831,
- 92: 6517253,
- 93: 7195629,
- 94: 7944614,
- 95: 8771558,
- 96: 9684577,
- 97: 10692629,
- 98: 11805606,
- 99: 13034431
- };
- function compute() {
- resultElement = document.getElementById("result");
- totalCost = 0;
- multiplier = 8;
- if (document.getElementById("pure").checked) {
- multiplier = 16;
- }
- attackXp = xpTable[parseInt(document.getElementById("attack2").value)] -
- xpTable[parseInt(document.getElementById("attack1").value)];
- if (attackXp > 0) {
- totalCost += attackXp * multiplier;
- }
- strengthXp = xpTable[parseInt(document.getElementById("strength2").value)] -
- xpTable[parseInt(document.getElementById("strength1").value)];
- if (strengthXp > 0) {
- totalCost += strengthXp * multiplier;
- }
- defenceXp = xpTable[parseInt(document.getElementById("defence2").value)] -
- xpTable[parseInt(document.getElementById("defence1").value)];
- if (defenceXp > 0) {
- totalCost += defenceXp * multiplier;
- }
- rangeXp = xpTable[parseInt(document.getElementById("range2").value)] -
- xpTable[parseInt(document.getElementById("range1").value)];
- if (rangeXp > 0) {
- totalCost += rangeXp * multiplier;
- }
- magicXp = xpTable[parseInt(document.getElementById("magic2").value)] -
- xpTable[parseInt(document.getElementById("magic1").value)];
- if (magicXp > 0) {
- totalCost += magicXp * multiplier;
- }
- millions = (totalCost / 1000000).toFixed(1) + "M ($" + (totalCost / 1000000 * 0.8).toFixed(1) + ")";
- resultElement.value = millions;
- }
- function payWithBitcoin() {
- alert("\tInstructions For Paying with Bitcoin\n\n" +
- "Contact us through email or discord for Bitcoin payment:\n" +
- "\tDiscord: nmzslavegod1990#4606\n" +
- "\tEmail: nmzlvling100@gmail.com");
- }
- function payWithPayPal() {
- alert("\tInstructions For Paying with PayPal\n\nLeave the required gear in your inventory.\n" +
- "Send $" + (totalCost / 1000000 * 0.80).toFixed(1) + " through PayPal to nmzlvling100@gmail.com\n" +
- "The payment should be sent as Friends & Family!\n" +
- "Add the following information in the payment note:\n" +
- "- current stats\n" +
- "- desired stats\n" +
- "- account login information\n\n" +
- "\tContact us for assistance\n" +
- "Discord: nmzslavegod1990#4606\n" +
- "Email: nmzlvling100@gmail.com");
- }
- function payWithGp() {
- alert("\tInstructions For Paying with RSGP\n\nLeave " + (totalCost / 1000000).toFixed(1) +
- "M in your inventory, as well as the required gear.\n" +
- "Contact us through email or discord with the following information:\n" +
- "- current stats\n" +
- "- desired stats\n" +
- "- account login information\n\n" +
- "\tContact us for assistance\n" +
- "Discord: nmzslavegod1990#4606\n" +
- "Email: nmzlvling100@gmail.com");
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement