I think this below code can help you something
Printable View
I think this below code can help you something
local ManaPotion = "Great Mana Potion"
Module.New("manabuy", function(module)
if(Self.ItemCount(ManaPotion)<50) then
Self.SayToNpc("Hi")
wait(200)
Self.SayToNpc("Trade")
wait(200)
Self.ShopBuyItemsUpTo(ManaPotion, 100)
wait(100)
end
module:Delay(1000)
end)
Module.New("manaburn", function(module)
if(Self.Mana()>1000) then
Self.Cast("Utana Vid")
Self.Cast("Exura Vita")
else
Self.UseItemWithMe(ManaPotion)
end
module:Delay(20)
end)