Author: alogwe
(2012/02/10 19:32) 3 months ago
NTBot: Added /libs/GambleControls.ext for ImprisonedPride
4
var sh = null;
5
var ConfigVar = false;
6
var configHook = false;
7
var ntbotRevision = 1671;
var ntbotRevision = 1676;
8
9
js_strict(true);
10
87
var NTC_AREA_ID_ACT_4 = 103;
88
var NTC_AREA_ID_ACT_5 = 109;
89
90
var NTC_ActNumberToTownID = new Array(5);
var NTC_ActNumberToTownID = [1, 40, 75, 103, 109];
91
NTC_ActNumberToTownID[0] = 1;
92
NTC_ActNumberToTownID[1] = 40;
93
NTC_ActNumberToTownID[2] = 75;
94
NTC_ActNumberToTownID[3] = 103;
95
NTC_ActNumberToTownID[4] = 109;
96
97
// COLOR types
98
var NTC_COLOR_BASE_WHITE = 0;
...
121
116
122
var NTC_DELAY_FRAME = 40;
117
123
118
124
var NTC_CharClassToNameList = new Array(7);
119
var NTC_CharClassToNameList = ["Amazon", "Sorceress", "Necromancer", "Paladin", "Barbarian", "Druid", "Assassin"];
125
NTC_CharClassToNameList[0] = "Amazon";
126
NTC_CharClassToNameList[1] = "Sorceress";
127
NTC_CharClassToNameList[2] = "Necromancer";
128
NTC_CharClassToNameList[3] = "Paladin";
129
NTC_CharClassToNameList[4] = "Barbarian";
130
NTC_CharClassToNameList[5] = "Druid";
131
NTC_CharClassToNameList[6] = "Assassin";
132
120
133
var NTConfig_AttackSkill =[];
var NTConfig_AttackSkill =
134
NTConfig_AttackSkill[0] = 0; // Cast your first spell once. Set to 0 if you won't
[ 0, // [0] Cast your first spell once. Set to 0 if you won't
135
NTConfig_AttackSkill[1] = 0; // The primary skill used to attack the boss.
0, // [1] The primary skill used to attack the boss.
136
NTConfig_AttackSkill[2] = 0; // Cast your primary spell to others.
0, // [2] Cast your primary spell to others.
137
NTConfig_AttackSkill[3] = 0; // Cast your primary untimed spell if primary spell is timed spell. Set to 0 if you won't
0, // [3] Cast your primary untimed spell if primary spell is timed spell. Set to 0 if you won't
138
NTConfig_AttackSkill[4] = 0; // Secondary untimed skill if boss is immune to primary untimed skill!
0, // [4] Secondary untimed skill if boss is immune to primary untimed skill!
139
NTConfig_AttackSkill[5] = 0; // Cast your secondary untimed spell if secondary spell is timed spell. Set to 0 if you won't
0 ]; // [5] Cast your secondary untimed spell if secondary spell is timed spell. Set to 0 if you won't
140
141
var NTC_ItemQualityToNameList = new Array(9);
var NTC_ItemQualityToNameList =
142
NTC_ItemQualityToNameList[0] = "None";
[ "None", //[0]
143
NTC_ItemQualityToNameList[1] = "Low Quality";
"Low Quality", //[1]
144
NTC_ItemQualityToNameList[2] = "Normal";
"Normal", //[2]
145
NTC_ItemQualityToNameList[3] = "Superior";
"Superior", //[3]
146
NTC_ItemQualityToNameList[4] = "Magic";
"Magic", //[4]
147
NTC_ItemQualityToNameList[5] = "Set";
"Set", //[5]
148
NTC_ItemQualityToNameList[6] = "Rare";
"Rare", //[6]
149
NTC_ItemQualityToNameList[7] = "Unique";
"Unique", //[7]
150
NTC_ItemQualityToNameList[8] = "Crafted";
"Crafted", ]; //[8]
151
152
function attackPrint(nString)
153
{
165
166
if(isIncluded(filepath))
154
167
return true;
155
168
//load("libs/" + filepath);
156
169
return include(filepath);
157
170
}
158
171
159
var ntbotRevision = 1671;var ntbotRevision = 1676;var NTC_ActNumberToTownID = new Array(5);var NTC_ActNumberToTownID = [1, 40, 75, 103, 109];NTC_ActNumberToTownID[0] = 1;NTC_ActNumberToTownID[1] = 40;NTC_ActNumberToTownID[2] = 75;NTC_ActNumberToTownID[3] = 103;NTC_ActNumberToTownID[4] = 109;var NTC_CharClassToNameList = new Array(7);var NTC_CharClassToNameList = ["Amazon", "Sorceress", "Necromancer", "Paladin", "Barbarian", "Druid", "Assassin"];NTC_CharClassToNameList[0] = "Amazon";NTC_CharClassToNameList[1] = "Sorceress";NTC_CharClassToNameList[2] = "Necromancer";NTC_CharClassToNameList[3] = "Paladin";NTC_CharClassToNameList[4] = "Barbarian";NTC_CharClassToNameList[5] = "Druid";NTC_CharClassToNameList[6] = "Assassin";var NTConfig_AttackSkill =[];NTConfig_AttackSkill[0] = 0; // Cast your first spell once. Set to 0 if you won't[ 0, // [0] Cast your first spell once. Set to 0 if you won'tNTConfig_AttackSkill[1] = 0; // The primary skill used to attack the boss.0, // [1] The primary skill used to attack the boss.NTConfig_AttackSkill[2] = 0; // Cast your primary spell to others.0, // [2] Cast your primary spell to others.NTConfig_AttackSkill[3] = 0; // Cast your primary untimed spell if primary spell is timed spell. Set to 0 if you won't0, // [3] Cast your primary untimed spell if primary spell is timed spell. Set to 0 if you won'tNTConfig_AttackSkill[4] = 0; // Secondary untimed skill if boss is immune to primary untimed skill!0, // [4] Secondary untimed skill if boss is immune to primary untimed skill!NTConfig_AttackSkill[5] = 0; // Cast your secondary untimed spell if secondary spell is timed spell. Set to 0 if you won't0 ]; // [5] Cast your secondary untimed spell if secondary spell is timed spell. Set to 0 if you won'tvar NTC_ItemQualityToNameList = new Array(9);NTC_ItemQualityToNameList[0] = "None";[ "None", //[0]NTC_ItemQualityToNameList[1] = "Low Quality";"Low Quality", //[1]NTC_ItemQualityToNameList[2] = "Normal";"Normal", //[2]NTC_ItemQualityToNameList[3] = "Superior";"Superior", //[3]NTC_ItemQualityToNameList[4] = "Magic";"Magic", //[4]NTC_ItemQualityToNameList[5] = "Set";"Set", //[5]NTC_ItemQualityToNameList[6] = "Rare";"Rare", //[6]NTC_ItemQualityToNameList[7] = "Unique";"Unique", //[7]NTC_ItemQualityToNameList[8] = "Crafted";"Crafted", ]; //[8]{{{{//load("libs/" + filepath);