-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathitem_purchase_shadow_shaman.lua
More file actions
77 lines (58 loc) · 1.67 KB
/
item_purchase_shadow_shaman.lua
File metadata and controls
77 lines (58 loc) · 1.67 KB
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
-- 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_courier",
"item_tango",
"item_tango",
"item_boots",
"item_energy_booster",
"item_flying_courier",
"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_ring_of_health",
"item_cloak",
"item_ring_of_regen",
"item_ring_of_regen",
"item_branches",
"item_recipe_headdress",
"item_recipe_pipe",
"item_boots",
"item_recipe_travel_boots",
"item_void_stone",
"item_ultimate_orb",
"item_mystic_staff",
};
local abilities = {
"special_bonus_hp_150",
"special_bonus_cast_range_100",
"special_bonus_respawn_reduction_30",
"special_bonus_unique_shadow_shaman_2",
"shadow_shaman_mass_serpent_ward",
"shadow_shaman_ether_shock",
"shadow_shaman_voodoo",
"shadow_shaman_shackles",
}
----------------------------------------------------------------------------------------------------
function ItemPurchaseThink()
local npcBot = GetBot();
local buildTable = tableItemsToBuy;
Helper.AbilityUpgrade(npcBot, abilities);
Helper.PurchaseBootsAndTP(npcBot);
Helper.PurchaseItems(npcBot, buildTable);
end
----------------------------------------------------------------------------------------------------