/ ‘grepolis.user.js’

This commit is contained in:
Jan Bader 2014-06-04 12:13:33 +02:00
parent e60c534582
commit c5abf90271

View File

@ -10,7 +10,7 @@
// //
// @match http://*.grepolis.com/game/* // @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 // @updateURL http://git.javil.eu/jan/userscripts/raw/master/grepolis.user.js
// ==/UserScript== // ==/UserScript==
@ -96,9 +96,8 @@
}); });
} }
function getWaresFromFarm(xGetWaresButton, xFarmId) { function getWaresFromFarm(xGetWaresButton, xFarmId, xMood) {
if(xMood > 80) if(xMood > 80) {
{
w(xGetWaresButton).call('claimLoad', xFarmId.toString(), 'double', 300); w(xGetWaresButton).call('claimLoad', xFarmId.toString(), 'double', 300);
} else { } else {
w(xGetWaresButton).call('claimLoad', xFarmId.toString(), 'normal', 300); w(xGetWaresButton).call('claimLoad', xFarmId.toString(), 'normal', 300);