diff --git a/grepolis.user.js b/grepolis.user.js index aa03ed9..d4d8abd 100644 --- a/grepolis.user.js +++ b/grepolis.user.js @@ -10,7 +10,7 @@ // // @match http://*.grepolis.com/game/* // -// @version 1.1.35 +// @version 1.1.36 // @updateURL http://git.javil.eu/jan/userscripts/raw/master/grepolis.user.js // ==/UserScript== @@ -193,7 +193,13 @@ if(Game.town_id != xTownId) { Game.townId = xTownId; } - if(xMood-6 > 80) { + + var town = ITowns.getTown(xTownId); + if(town.getCastedPower("forced_loyalty")) { + log("Plündere " + xFarmId + " @ forced_loyalty "); + xWindow.call('claimLoad', xFarmId.toString(), 'double', farmDuration); + return farmDuration; + } else if(xMood-6 > 80) { log("Plündere " + xFarmId + " @ Mood: " + xMood); xWindow.call('claimLoad', xFarmId.toString(), 'double', 300); return 300;