From c5abf90271186ebe8268a0c8ebae3ce361c20e00 Mon Sep 17 00:00:00 2001 From: Jan Bader Date: Wed, 4 Jun 2014 12:13:33 +0200 Subject: [PATCH] =?UTF-8?q?/=20=E2=80=98grepolis.user.js=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- grepolis.user.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/grepolis.user.js b/grepolis.user.js index 04e8ada..a7d5252 100644 --- a/grepolis.user.js +++ b/grepolis.user.js @@ -10,7 +10,7 @@ // // @match http://*.grepolis.com/game/* // -// @version 1.0.24 +// @version 1.0.25 // @updateURL http://git.javil.eu/jan/userscripts/raw/master/grepolis.user.js // ==/UserScript== @@ -96,9 +96,8 @@ }); } - function getWaresFromFarm(xGetWaresButton, xFarmId) { - if(xMood > 80) - { + function getWaresFromFarm(xGetWaresButton, xFarmId, xMood) { + if(xMood > 80) { w(xGetWaresButton).call('claimLoad', xFarmId.toString(), 'double', 300); } else { w(xGetWaresButton).call('claimLoad', xFarmId.toString(), 'normal', 300);