|
Post by nefariis on Mar 3, 2021 20:32:10 GMT
have 10 exceptional weapons and as many poison potions as you can carry
-- LoA 1.4.0.0 -- LoU 1.2.1.0
function updateItems() FindItem("poison", BACKPACKID) potions = FINDITEM
FindItem("oil cloth", BACKPACKID) cloths = FINDITEM FindItem("exceptional", BACKPACKID) weapons = FINDITEM return weapons, potions, cloths end
function doThing(item, weapon) ContextMenu(item.ID, "Use") WaitForTarget() TargetDynamic(weapon.ID) sleep(500) end
while true do weapons, potions, cloths = updateItems() if not (potions and cloths and weapons) then return end for potion in potions do if HEALTH < 70 then Macro(healMacro) end item = math.random(1, #weapons) doThing(cloths[1], weapons[item]) doThing(potion, weapons[item]) sleep(1000) end end
|
|
vlast
New Member
Posts: 1 Likes: 0
|
Post by vlast on May 18, 2021 17:21:05 GMT
This script works awesome! Thanks so much.
|
|