/ ‘grepolis.user.js’
This commit is contained in:
parent
b5ee4cdeda
commit
1f057184b6
@ -10,7 +10,7 @@
|
|||||||
//
|
//
|
||||||
// @match http://*.grepolis.com/game/*
|
// @match http://*.grepolis.com/game/*
|
||||||
//
|
//
|
||||||
// @version 1.1.42
|
// @version 1.1.43
|
||||||
// @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==
|
||||||
|
|
||||||
@ -83,11 +83,12 @@
|
|||||||
HelperTown.townSwitch(town_id);
|
HelperTown.townSwitch(town_id);
|
||||||
HelperTown.handleInfoWindowJumpToTownClick();
|
HelperTown.handleInfoWindowJumpToTownClick();
|
||||||
townCount++;
|
townCount++;
|
||||||
|
var town_id_c = town_id;
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
var farmtowns = $(".farmtown_owned_on_same_island");
|
var farmtowns = $(".farmtown_owned_on_same_island");
|
||||||
$.each(farmtowns, function(f, farmtown) {
|
$.each(farmtowns, function(f, farmtown) {
|
||||||
var farmtownId = farmtown["id"].split("_")[2];
|
var farmtownId = farmtown["id"].split("_")[2];
|
||||||
farm_ids[town_id].push(+farmtownId);
|
farm_ids[town_id_c].push(+farmtownId);
|
||||||
});
|
});
|
||||||
}, townCount*2000);
|
}, townCount*2000);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user