/ ‘grepolis.user.js’

This commit is contained in:
2014-07-01 22:30:44 +02:00
parent dad025ecc9
commit 96d0c06881

View File

@ -10,7 +10,7 @@
//
// @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
// ==/UserScript==
@ -71,7 +71,7 @@
town_countdown.textContent = "" + towns[town_id] + ":";
timerWindow.append(town_countdown);
farm_ids[town_id].forEach(function(xFarmId) {
var tmout = 5000 + rand(5);
var tmout = 20000 + rand(10);
setTimeout(getWaresTick(town_id, xFarmId), tmout);
var tmoutId = 'farm-' + xFarmId
$(town_countdown).append('<span id="' + tmoutId + '"><script>j_countdown(' + Math.floor(tmout/1000) + ', "' + tmoutId + '");</script></span>, ');