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 "Main page/Test Suffer"

From RuneGlory
Jump to: navigation, search
Line 64: Line 64:
 
     var n = d.getTimezoneOffset();
 
     var n = d.getTimezoneOffset();
 
     n = n/60;
 
     n = n/60;
 +
    var time0 = (0-n)%12
 +
    var time1 = (1-n)%12
 +
    var time2 = (2-n)%12
 +
    var time3 = (3-n)%12
 +
    var time4 = (4-n)%12
 +
    var time5 = (5-n)%12
 +
    var time6 = (6-n)%12
 +
    var time7 = (7-n)%12
 +
    var time8 = (8-n)%12
 +
    var time9 = (9-n)%12
 +
    var time10 = (10-n)%12
 +
    var time11 = (11-n)%12
 +
 +
    time0 = check0(time0);
 +
    time1 = check0(time1);
 +
    time2 = check0(time2);
 +
    time3 = check0(time3);
 +
    time4 = check0(time4);
 +
    time5 = check0(time5);
 +
    time6 = check0(time6);
 +
    time7 = check0(time7);
 +
    time8 = check0(time8);
 +
    time9 = check0(time9);
 +
    time10 = check0(time10);
 +
    time11 = check0(time11);
 +
 
     document.getElementById("time0").innerHTML = (0-n)%12 +" Am and Pm";
 
     document.getElementById("time0").innerHTML = (0-n)%12 +" Am and Pm";
 
     document.getElementById("time1").innerHTML = (1-n)%12 +" Am and Pm";
 
     document.getElementById("time1").innerHTML = (1-n)%12 +" Am and Pm";
Line 76: Line 102:
 
     document.getElementById("time4a").innerHTML = (10-n)%12 +" Am and Pm";
 
     document.getElementById("time4a").innerHTML = (10-n)%12 +" Am and Pm";
 
     document.getElementById("time5a").innerHTML = (11-n)%12 +" Am and Pm";
 
     document.getElementById("time5a").innerHTML = (11-n)%12 +" Am and Pm";
 +
}
 +
function check0(time) {
 +
    if (time == 0) {
 +
        time = 12;
 +
    }
 
}
 
}
  

Revision as of 05:39, 22 May 2018

Boost Time Time 2
2x wilderness singles
2x wilderness multi
25% skilling xp
2x skill points
2x slayer points
2x shooting stars