Neverwinter Gateway - Professions Robot

Automatically selects professions for empty slots

< 脚本Neverwinter Gateway - Professions Robot的反馈

提问/评论

§
发表于:2014-12-24
编辑于:2014-12-24

Scripting in general

HI. I was just wondering how to set specific tasks, it seems I automatically run 'Destroy Enemy Camp', 'Deliver metals', and 'Fighting Off Spellplagued' for my leadership professions.
I took an introductory compsci course about python and after looking over the script, I do recognize a few 'if' and 'for loops' and some variable namings but I can't get into setting the specific tasks which I want to run which is:
3x Destrroy Enemy Camp
3x FIghting Off Spellplagued
2x Patrol the Mines

And for my little characters, I would love to run just 3 Protect the Caravans. Any help would be appreciated. I don't need a step-by-step but that would be awesome. Pointers would be very welcomed.

It seems that I need to edit these
var tasklist;
var defaultTasklist = [
{
// modded to prioritize RAD production, added low level task for speeding up levelling up
taskName:"Leadership",
level: {
0:["Leadership_Tier0_Intro_1"],
1:["Leadership_Tier0_Intro_5", "Leadership_Tier0_Intro_4","Leadership_Tier0_Intro_3", "Leadership_Tier0_Intro_2"],
2:["Leadership_Tier1_Feedtheneedy","Leadership_Tier1_2_Guardduty","Leadership_Tier1_2_Training"],
3:["Leadership_Tier1_Feedtheneedy","Leadership_Tier1_2_Guardduty","Leadership_Tier1_2_Training"],
4:["Leadership_Tier1_Feedtheneedy","Leadership_Tier1_4_Protect","Leadership_Tier1_2_Guardduty","Leadership_Tier1_2_Training"],
5:["Leadership_Tier1_4_Protect","Leadership_Tier1_5_Explore","Leadership_Tier1_2_Guardduty"],
6:["Leadership_Tier1_4_Protect","Leadership_Tier1_5_Explore","Leadership_Tier1_2_Guardduty"],
7:["Leadership_Tier1_4_Protect","Leadership_Tier1_5_Explore","Leadership_Tier1_2_Guardduty"],
8:["Leadership_Tier1_4_Protect","Leadership_Tier1_5_Explore","Leadership_Tier1_2_Guardduty"],
9:["Leadership_Tier1_4_Protect","Leadership_Tier2_9_Chart","Leadership_Tier1_5_Explore"],
// Begin prioritizing "Battle Undead"
10:["Leadership_Tier2_10_Battle","Leadership_Tier1_4_Protect","Leadership_Tier2_9_Chart","Leadership_Tier1_5_Explore"],
11:["Leadership_Tier2_10_Battle","Leadership_Tier1_4_Protect","Leadership_Tier2_9_Chart","Leadership_Tier1_5_Explore"],
12:["Leadership_Tier2_10_Battle","Leadership_Tier1_4_Protect","Leadership_Tier2_9_Chart","Leadership_Tier1_5_Explore"],
// Add "protect diamonds rare" and the patrol quest as a backup
13:["Leadership_Tier3_13r_Protectdiamonds","Leadership_Tier2_10_Battle","Leadership_Tier1_4_Protect","Leadership_Tier3_13_Patrol","Leadership_Tier2_9_Chart","Leadership_Tier1_5_Explore"],
14:["Leadership_Tier3_13r_Protectdiamonds","Leadership_Tier2_10_Battle","Leadership_Tier1_4_Protect","Leadership_Tier3_13_Patrol","Leadership_Tier2_9_Chart","Leadership_Tier1_5_Explore"],
15:["Leadership_Tier3_13r_Protectdiamonds","Leadership_Tier2_10_Battle","Leadership_Tier1_4_Protect","Leadership_Tier3_13_Patrol","Leadership_Tier2_9_Chart","Leadership_Tier1_5_Explore"],
// AD Production mode: Spellplague + Battle Undead
16:["Leadership_Tier3_13r_Protectdiamonds","Leadership_Tier3_16_Fight","Leadership_Tier2_10_Battle","Leadership_Tier3_13_Patrol","Leadership_Tier2_9_Chart","Leadership_Tier1_5_Explore"],
17:["Leadership_Tier3_13r_Protectdiamonds","Leadership_Tier3_16_Fight","Leadership_Tier2_10_Battle","Leadership_Tier3_13_Patrol","Leadership_Tier3_17_Deliver","Leadership_Tier2_12_Taxes","Leadership_Tier2_9_Chart","Leadership_Tier1_5_Explore"],
18:["Leadership_Tier3_13r_Protectdiamonds","Leadership_Tier3_16_Fight","Leadership_Tier2_10_Battle","Leadership_Tier3_13_Patrol","Leadership_Tier3_17_Deliver","Leadership_Tier2_12_Taxes","Leadership_Tier2_9_Chart","Leadership_Tier1_5_Explore"],
19:["Leadership_Tier3_13r_Protectdiamonds","Leadership_Tier3_16_Fight","Leadership_Tier2_10_Battle","Leadership_Tier3_13_Patrol","Leadership_Tier3_17_Deliver","Leadership_Tier2_12_Taxes","Leadership_Tier2_9_Chart","Leadership_Tier1_5_Explore"],
// 20
20:["Leadership_Tier3_20r_Master2","Leadership_Tier3_20r_Master1","Leadership_Tier3_20r_Master3","Leadership_Tier3_20_Destroy","Leadership_Tier3_13r_Protectdiamonds","Leadership_Tier2_12_Taxes","Leadership_Tier3_16_Fight","Leadership_Tier2_10_Battle","Leadership_Tier3_13_Patrol","Leadership_Tier2_9_Chart","Leadership_Tier1_5_Explore"],
},
},

And the 1-20 number matches my profession level. But I can't seem to figure out how to set it

§
发表于:2014-12-27

Level 20 Leadership you want run,

["Leadership_Tier3_20r_Master2","Leadership_Tier3_20r_Master1","Leadership_Tier3_20r_Master3","Leadership_Tier3_20_Destroy","Leadership_Tier3_13r_Protectdiamonds","Leadership_Tier2_12_Taxes","Leadership_Tier3_16_Fight","Leadership_Tier2_10_Battle","Leadership_Tier3_13_Patrol"],

, even "patrolmines" so you get materials for other task.

Script looks,

1. Profession level
2. task wanted run
3. can task selected
4. run task

,something like that.

发表回复

登录以发表回复。