-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathitem_purchase_venomancer.lua
86 lines (67 loc) · 1.88 KB
/
item_purchase_venomancer.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
83
84
85
86
-- 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_ring_of_protection",
"item_sobi_mask",
"item_tango",
"item_tango",
"item_boots",
"item_blades_of_attack",
"item_blades_of_attack",
"item_belt_of_strength",
"item_staff_of_wizardry",
"item_recipe_necronomicon",
"item_recipe_necronomicon",
"item_recipe_necronomicon",
"item_point_booster",
"item_staff_of_wizardry",
"item_ogre_axe",
"item_blade_of_alacrity",
"item_platemail",
"item_mystic_staff",
"item_recipe_shivas_guard",
"item_shadow_amulet",
"item_claymore",
"item_ultimate_orb",
"item_recipe_silver_edge",
"item_boots",
"item_recipe_travel_boots",
"item_quarterstaff",
"item_robe",
"item_sobi_mask",
"item_quarterstaff",
"item_robe",
"item_sobi_mask",
"item_recipe_orchid",
"item_broadsword",
"item_blades_of_attack",
"item_recipe_lesser_crit",
"item_recipe_bloodthorn",
};
local abilities = {
"special_bonus_exp_boost_20",
"special_bonus_cast_range_150",
"special_bonus_magic_resistance_15",
"special_bonus_unique_venomancer",
"venomancer_poison_nova",
"venomancer_plague_ward",
"venomancer_poison_sting",
"venomancer_venomous_gale",
}
----------------------------------------------------------------------------------------------------
function ItemPurchaseThink()
local npcBot = GetBot();
local buildTable = tableItemsToBuy;
Helper.AbilityUpgrade(npcBot, abilities);
Helper.PurchaseBootsAndTP(npcBot);
Helper.PurchaseItems(npcBot, buildTable);
end
----------------------------------------------------------------------------------------------------