/ ‘grepolis.user.js’

This commit is contained in:
Jan Bader 2014-06-04 12:16:58 +02:00
parent 4135e1bfef
commit 7f1486de55

View File

@ -10,7 +10,7 @@
// //
// @match http://*.grepolis.com/game/* // @match http://*.grepolis.com/game/*
// //
// @version 1.0.26 // @version 1.0.27
// @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==
@ -96,7 +96,7 @@
} }
function getWaresFromFarm(xGetWaresButton, xMood, xFarmId) { function getWaresFromFarm(xGetWaresButton, xMood, xFarmId) {
if(xMood > 80) { if(xMood - 6 > 80) {
console.log("Plündere " + xFarmId + " @ Mood: " + xMood); console.log("Plündere " + xFarmId + " @ Mood: " + xMood);
w(xGetWaresButton).call('claimLoad', xFarmId.toString(), 'double', 300); w(xGetWaresButton).call('claimLoad', xFarmId.toString(), 'double', 300);
} else { } else {