Automatically selects professions for empty slots
< Neverwinter gateway - Profession Automationについてのフィードバック
...not broken, just set "one slot" to EXP/RP path and it will do it different way.
I'm not quite following, if I want to customize the "non" exp leadership tasks, shouldn't it perform any leadership task that is put in it's list? Patrol isn't just an exp task, it's also to collect mining claims.
Why would it be intentionally skipping that task?
I'm not quite following, if I want to customize the "non" exp leadership tasks, shouldn't it perform any leadership task that is put in it's list? Patrol isn't just an exp task, it's also to collect mining claims. Why would it be intentionally skipping that task?
Because if you dont use XP/RP -profile, its assumed that you need only small cache off mining claims so we then do other task if we are short off mining claims or we want XP then we use XP/RP profile, if we want BIG mining claim -cache but still use AD profile then we first do AD -jobs and if slots are left we try collect mining claims.
Simple logic, dont collect trash if you dont want trash. ;D
1.10.5PreMod6.02
+ added task selection if specific item not in inventory "Mining claim" by WloBep
+ added loop counter to prevent infinite loop when "Start task" -bugged
function searchForTask(taskname, profname, professionLevel) {
// Return first object that matches exact craft name
// skip task if proff.level20
if (settings['level_20_skip'] && profname != 'Leadership' && professionLevel > 19) {
//console.log(profname, "is level", professionLevel,"skipping.");
return false;
}if (settings['level_25_skip'] && profname != 'Leadership' && professionLevel > 24) {
//console.log(profname, "is level", professionLevel,"skipping.");
return false;
}
// edited by WloBeb - start Patrol the Mines task only if char has less than 7 Mining Claims if XP prifile limit 100 claims
var resource_limit = 10;
if (settings['Leadership_XP'] > 0) {
var resource_limit = 1000;}
if (taskname == "Leadership_Tier3_13_Patrol" && countResource("Crafting_Resource_Mining_Claim") >= resource_limit ) {
//console.log("Too many Mining Claims: skiping");
return false;
}
if (taskname == "Leadership_Tier4_21_Protectmagic" && countResource("Crafting_Resource_Clues_Bandit_Hq") >= resource_limit ) {
//console.log("Too many Clues: skiping");
return false;
}
I see now. So it's by design to allow patrol to be high on the list, but get skipped if you have more than enough mining claims. Thanks.
Leadership_Tier3_13_Patrol doesn't seem to work with the lastest versions
Not sure for which version it stopped working, but certainly the last 2 versions. It works fine in 1.05.0.1f (I went back to this for the time being)
When using this entry, it will never use Leadership_Tier3_13_Patrol even when all assets are available. I switched back to 1.05.0.1f and it works fine using the same leadership progression (cut and pasted it just to make sure I didn't have some typo)
13: ["Leadership_Tier3_13_Patrol","Leadership_Tier2_9_Chart","Leadership_Tier3_13_Training","Leadership_Tier2_10_Battle"],
....