Originally Posted by
breadguy
good point
if you will indulge me
how does the logic for workers go?
this is what i imagine:
look for required asset
if not found, look for next best useable asset
if no asset found, create one
is that right?
and yeah, gateway has been pretty wonky over the past few weeks
i'm really starting to fear they're getting ready to launch something "new" that will screw us all over...and kill our leadership armies
About Gateway, Xbox got launch today so I think all users suffer "Bonky" gateway, . ...and I was thinking "anti_bot" too constant disconnection was relief...
Script selects only "extra assets", gateway selects first. This better this so first asset are not missing.
Extra assets selection is different way for leadership where it try use "merc./Guard/Foot." order.
Here is code, after that it fills what ever it has available, green blue etc.
Code:
// Try to avoid using up higher rank assets needlessly
if (prof.taskName === "Leadership") {
var mercenarys = $('div.modal-item-list a.Bronze img[src*="Crafting_Follower_Leader_Generic_T1_01"]').parent().parent();
var guards = $('div.modal-item-list a.Bronze img[src*="Crafting_Follower_Leader_Guard_T2_01"]').parent().parent();
var footmen = $('div.modal-item-list a.Bronze img[src*="Crafting_Follower_Leader_Private_T2_01"]').parent().parent();
if (mercenarys.length) {
clicked = true;
mercenarys[0].click();
}
else if (guards.length) {
clicked = true;
guards[0].click();
}
else if (footmen.length) {
clicked = true;
footmen[0].click();
}
}