-
Notifications
You must be signed in to change notification settings - Fork 6
/
item_purchase_death_prophet.lua
83 lines (63 loc) · 1.81 KB
/
item_purchase_death_prophet.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
-- 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_vitality_booster",
"item_energy_booster",
"item_point_booster",
"item_sobi_mask",
"item_ring_of_regen",
"item_recipe_soul_ring",
"item_recipe_bloodstone",
"item_belt_of_strength",
"item_staff_of_wizardry",
"item_recipe_necronomicon",
"item_recipe_necronomicon",
"item_recipe_necronomicon",
"item_platemail",
"item_mystic_staff",
"item_recipe_shivas_guard",
"item_vitality_booster",
"item_reaver",
"item_recipe_heart",
"item_boots",
"item_recipe_travel_boots",
"item_vitality_booster",
"item_energy_booster",
"item_point_booster",
"item_mystic_staff",
};
local abilities = {
"special_bonus_spell_amplify_4",
"special_bonus_unique_death_prophet_2",
"special_bonus_cooldown_reduction_10",
"special_bonus_hp_400",
"death_prophet_exorcism",
"death_prophet_carrion_swarm",
"death_prophet_spirit_siphon",
"death_prophet_silence",
}
----------------------------------------------------------------------------------------------------
function ItemPurchaseThink()
local npcBot = GetBot();
local buildTable = tableItemsToBuy;
Helper.AbilityUpgrade(npcBot, abilities);
Helper.PurchaseBootsAndTP(npcBot);
Helper.PurchaseItems(npcBot, buildTable);
end
----------------------------------------------------------------------------------------------------