-
Notifications
You must be signed in to change notification settings - Fork 6
/
item_purchase_keeper_of_the_light.lua
82 lines (62 loc) · 1.8 KB
/
item_purchase_keeper_of_the_light.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
-- Include this before require to fix Mac
local dir = GetScriptDirectory();
local function GetScriptDirectory()
if string.sub(dir, 1, 6) == "/Users" then
return string.match(dir, '.*/(.+)')
end
return dir;
end
-----------------------------------------
local Helper = require(GetScriptDirectory() .. "/helper");
local tableItemsToBuy = {
"item_circlet",
"item_tango",
"item_tango",
"item_mantle",
"item_boots",
"item_blades_of_attack",
"item_blades_of_attack",
"item_recipe_null_talisman",
"item_point_booster",
"item_staff_of_wizardry",
"item_ogre_axe",
"item_blade_of_alacrity",
"item_belt_of_strength",
"item_staff_of_wizardry",
"item_recipe_necronomicon",
"item_recipe_necronomicon",
"item_recipe_necronomicon",
"item_staff_of_wizardry",
"item_recipe_dagon",
"item_recipe_dagon",
"item_recipe_dagon",
"item_recipe_dagon",
"item_recipe_dagon",
"item_platemail",
"item_mystic_staff",
"item_recipe_shivas_guard",
"item_boots",
"item_recipe_travel_boots",
"item_vitality_booster",
"item_reaver",
"item_recipe_heart"
};
local abilities = {
"special_bonus_strength_6",
"special_bonus_respawn_reduction_25",
"special_bonus_armor_7",
"special_bonus_unique_keeper_of_the_light",
"keeper_of_the_light_chakra_magic",
"keeper_of_the_light_illuminate",
"keeper_of_the_light_mana_leak",
"keeper_of_the_light_spirit_form",
}
----------------------------------------------------------------------------------------------------
function ItemPurchaseThink()
local npcBot = GetBot();
local buildTable = tableItemsToBuy;
Helper.AbilityUpgrade(npcBot, abilities);
Helper.PurchaseBootsAndTP(npcBot);
Helper.PurchaseItems(npcBot, buildTable);
end
----------------------------------------------------------------------------------------------------