/ ‘grepolis.user.js’
This commit is contained in:
@ -10,7 +10,7 @@
|
|||||||
//
|
//
|
||||||
// @match http://*.grepolis.com/game/*
|
// @match http://*.grepolis.com/game/*
|
||||||
//
|
//
|
||||||
// @version 1.1.8
|
// @version 1.1.9
|
||||||
// @updateURL http://git.javil.eu/jan/userscripts/raw/master/grepolis.user.js
|
// @updateURL http://git.javil.eu/jan/userscripts/raw/master/grepolis.user.js
|
||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|
||||||
@ -71,7 +71,7 @@
|
|||||||
town_countdown.textContent = "" + towns[town_id] + ":";
|
town_countdown.textContent = "" + towns[town_id] + ":";
|
||||||
timerWindow.append(town_countdown);
|
timerWindow.append(town_countdown);
|
||||||
farm_ids[town_id].forEach(function(xFarmId) {
|
farm_ids[town_id].forEach(function(xFarmId) {
|
||||||
var tmout = 5000 + rand(5);
|
var tmout = 20000 + rand(10);
|
||||||
setTimeout(getWaresTick(town_id, xFarmId), tmout);
|
setTimeout(getWaresTick(town_id, xFarmId), tmout);
|
||||||
var tmoutId = 'farm-' + xFarmId
|
var tmoutId = 'farm-' + xFarmId
|
||||||
$(town_countdown).append('<span id="' + tmoutId + '"><script>j_countdown(' + Math.floor(tmout/1000) + ', "' + tmoutId + '");</script></span>, ');
|
$(town_countdown).append('<span id="' + tmoutId + '"><script>j_countdown(' + Math.floor(tmout/1000) + ', "' + tmoutId + '");</script></span>, ');
|
||||||
|
Reference in New Issue
Block a user