Greasy Fork is available in English.

Neverwinter gateway - Profession Automation

Automatically selects professions for empty slots

< Neverwinter gateway - Profession Automationについてのフィードバック

レート:良 – スクリプトは良好に動作する

§
投稿日: 2015/05/23

try to avoid using higher rank assets needlessly

I have found code that works well for leadership people assets, wondering how I could adjust it to work with other professions, ex jewelcrafting, mailsmithing, leatherworking ect.

// 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();
}
}

example for mailsmithing would this work?

if (prof.taskName === "Mailsmithing") {
var prospector = $('div.modal-item-list a.Bronze img[src*="Crafting_Follower_Medarmor_Explorer_T1_01"]').parent().parent();
var blacksmith = $('div.modal-item-list a.Bronze img[src*="Crafting_Follower_Medarmor_Wiredrawer_T2_01"]').parent().parent();
var assistantmailsmith = $('div.modal-item-list a.Bronze img[src*="Crafting_Follower_Medarmor_Metalsmith_T3_01"]').parent().parent();

if (prospector.length) {
clicked = true;
prospector[0].click();
}
else if (blacksmith.length) {
clicked = true;
blacksmith[0].click();
}
else if (assistantmailsmith.length) {
clicked = true;
assistantmailsmith[0].click();
}
}

If not then what else would be needed to ensure functionality? if this would work, something similar could be added for the other professions?

Rotten_mind作者
§
投稿日: 2015/05/23

That code block can be used, if you like, you can try even per character settings... but grinding Gateway works best less you, must interfere it, IMHO.

Anyway if you can automate it, then it work for you and others so that way spending time for gateway automation is fun, ;).

§
投稿日: 2015/05/23

i tried to implement the mailsmithing code below the leadership code, however instead of working, it skipped doing mailsmithing all together!?!?

§
投稿日: 2015/05/23

The taskname is Armorsmithing_Med And not Mailsmithing

返信を投稿

返信を投稿するにはログインしてください。