/ ‘grepolis.user.js’

This commit is contained in:
Jan Bader 2014-06-15 00:55:34 +02:00
parent cd342f7056
commit 77fcf2deff

View File

@ -10,7 +10,7 @@
//
// @match http://*.grepolis.com/game/*
//
// @version 1.0.73
// @version 1.0.74
// @updateURL http://git.javil.eu/jan/userscripts/raw/master/grepolis.user.js
// ==/UserScript==
@ -127,8 +127,9 @@
var mood = parseFloat($(wndElement).find('#mood1').siblings().last().text());
var ts = $(wndElement).find(".farm_next_claim_time").text();
if(ts != "bereit") {
var hours = ts.substring(0,1);
var minutes = ts.substring(2,4);
var seconds = minutes * 60 + ts.substring(5,7) * 1;
var seconds = hours * 60 * 60 + minutes * 60 + ts.substring(5,7) * 1;
log("Wait " + ts + " for Farm " + xFarmId);
wnd.close();