diff --git a/ShadowShamanItemPurchase b/ShadowShamanItemPurchase new file mode 100644 index 0000000..adfcb61 --- /dev/null +++ b/ShadowShamanItemPurchase @@ -0,0 +1,72 @@ +-- 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_aether_lens_", + + "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_octarine_core", + +}; + +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 + + +----------------------------------------------------------------------------------------------------