Automatically selects professions for empty slots
< Neverwinter gateway - Professions Robotについてのフィードバック
You need to add the levels as part of a profile
definedTask["SummerEvent"] = {
taskListName: "SummerEvent",
taskName: "SummerEvent",
taskDefaultPriority: 1,
taskDefaultSlotNum: 0,
taskActive: true,
taskDescription: "",
profiles: [{
profileName: "Altars",
isProfileActive: true,
level: {
0:["Event_Summer_Tier0_Intro"],
1:["Event_Summer_Tier1_Rankup","Event_Summer_Tier1_Caprese","Event_Summer_Tier1_Cornchowder","Event_Summer_Tier1_Watermelonsorbet"],
2:["Event_Summer_Tier2_Rankup","Event_Summer_Tier2_Summerfeast",
"Event_Summer_Tier2_Partypoppers","Event_Summer_Tier2_Fireworks",
"Event_Summer_Tier2_Festivalgarblower","Event_Summer_Tier2_Festivalgarbupper",
"Event_Summer_Tier2_Festivalgarbhead"],
3:["Event_Summer_Tier3_Sunite_Altar","Event_Summer_Tier3_Festivalgarb_Permanent"],
}
}]
};
Task list will be:
var tasklist = [
definedTask["Leadership"],
definedTask["Jewelcrafting"],
definedTask["Alchemy"],
definedTask["Weaponsmithing"],
definedTask["Artificing"],
definedTask["Mailsmithing"],
definedTask["Platesmithing"],
definedTask["Leatherworking"],
definedTask["Tailoring"],
definedTask["BlackIce"],
definedTask["WinterEvent"],
definedTask["SiegeEvent"],
definedTask["SummerEvent"],
];
All the rest can be left out. I've updated the git repository https://github.com/Phr33d0m/NW-Profession-Bot
Direct code link: https://raw.githubusercontent.com/Phr33d0m/NW-Profession-Bot/master/main.js
Thanks a lot.
Now I see my error, I wrote "Summer Event" instead of "SummerEvent".
I tried without last line, but doesn't work because my mistake.
Hahahaha, a little mistake and script does not work ^^
Thanks :)
Summer Event
Hi
How I can add profession task "Summer Event" to the script.
I have task list, but not have any idea how to add.
I try add this code line to script:
definedTask["Summer Event"] = {
taskListName: "SummerEvent",
taskName: "SummerEvent",
level: {
0:["Event_Summer_Tier0_Intro"],
1:["Event_Summer_Tier1_Rankup","Event_Summer_Tier1_Caprese","Event_Summer_Tier1_Cornchowder","Event_Summer_Tier1_Watermelonsorbet"],
2:["Event_Summer_Tier2_Rankup","Event_Summer_Tier2_Summerfeast",
"Event_Summer_Tier2_Partypoppers","Event_Summer_Tier2_Fireworks",
"Event_Summer_Tier2_Festivalgarblower","Event_Summer_Tier2_Festivalgarbupper",
"Event_Summer_Tier2_Festivalgarbhead"],
3:["Event_Summer_Tier3_Sunite_Altar","Event_Summer_Tier3_Festivalgarb_Permanent"],
},
};
And also, add this line:
definedTask["Summer Event"],
on
var tasklist = ....
And:
"Summer Event": { level: 0, workersUsed: [], workersUnused: [] },
on
var defaultCharStatistics = {
professions:{....
Thnx for replies.