From RuneGlory
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 86: Line 86:
 
function applyBonuses(xp) {
 
function applyBonuses(xp) {
 
   /* Boolean checks for calculations */
 
   /* Boolean checks for calculations */
   var ftfc = 0;
+
   var ftfc = 1;
   var donor1c = 0;
+
   var donorc = 1;
  var donor2c = 0;
+
   var bxpc = 0;
  var donor3c = 0;
+
   var typec = 1;
   var bxp1c = 0;
+
   var brawlc = 1;
   var type1c = 1;
 
   var type2c = 1;
 
  
 
   if (document.getElementById("ftf1").checked){
 
   if (document.getElementById("ftf1").checked){
   ftfc = 1;
+
   ftfc = 1.25;
 
   }
 
   }
 
   if (document.getElementById("brawl1").checked){
 
   if (document.getElementById("brawl1").checked){
   xp *=2;
+
   brawlc = 2;
 
   }
 
   }
 
   if (document.getElementById("donor1").checked){
 
   if (document.getElementById("donor1").checked){
   donor1c = 1;
+
   donorc = 1.75;
 
   }
 
   }
 
   if (document.getElementById("donor2").checked){
 
   if (document.getElementById("donor2").checked){
   donor2c = 1;
+
   donorc = 2;
 
   }
 
   }
 
   if (document.getElementById("donor3").checked){
 
   if (document.getElementById("donor3").checked){
   donor3c = 1;
+
   donorc = 2.1;
 
   }
 
   }
 
   if (document.getElementById("bxp1").checked){
 
   if (document.getElementById("bxp1").checked){
   bxp1c = 1;
+
   bxpc = 2;
 
   }
 
   }
 
   if (document.getElementById("type1").checked){
 
   if (document.getElementById("type1").checked){
   type1c = 3;
+
   typec = 3;
 
   }
 
   }
 
   if (document.getElementById("type2").checked){
 
   if (document.getElementById("type2").checked){
   type2c = 5;
+
   typec = 5;
 
   }
 
   }
   return(Math.floor((xp + (ftfc*0.25*xp) + (donor1c*xp*
+
   return(Math.floor((xp*(ftfc*donorc*brawlc))+(xp*bxpc))/typec)
  0.75) + (donor2c*xp) + (donor3c*xp*1.1) + (bxp1c*2*xp)) / (type1c*1)  
 
  / (type2c*1)));
 
 
}
 
}
  

Latest revision as of 23:33, 2 March 2018

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


Test Firemaking Tables:

Your firemaking XP    
Target XP    
Account Type Regular Ironman Hardcore ironman
Use knowledge totem No totem Regular Donator Super Donator Extreme Donator
Bonus days No bonus days Bonus days (1st-5th)
Brawlers No brawlers Brawlers
Bonus XP No Bonus XP Bonus XP
Experience needed:
Skilling points you'll obtain:
Level Name # required Coins made # of brawlers Skillpoint cost # of inventories
1 Regular log
15 Oak log
30 Willow log
45 Maple log
60 Yew log
75 Magic log