shurtup
08-30-2016, 12:02 AM
local MinMana = 25 --- Minimo de Mana para sair da hunt
local MaxMana = 230 --- Maximo de Mana para levar para hunt
elseif (labelName == Refill) then
Walker.Stop()
print([[ComprandoAgora...]])
if (Self.ItemCount(IDMana) < MaxMana) or (Self.ItemCount(IDHealth) < MaxHealth) then
Self.SayToNpc({"hi", "flasks", "yes", "yes", "yes", "yes", "yes", "yes", "trade"}, 65)
wait(2000)
if (Self.ItemCount(IDMana) < MaxMana) then
print([[ComprandoMana...]])
BuyItems(IDMana, MaxMana)
wait(500)
end
if (Self.ItemCount(IDHealth) < MaxHealth) then
BuyItems(IDHealth, MaxHealth)
wait(500)
end
wait(200, 500)
end
Walker.Start()
My script isn't buying manas. it just passes by. and i have the ID and MaxMana set.
What is going on?
local MaxMana = 230 --- Maximo de Mana para levar para hunt
elseif (labelName == Refill) then
Walker.Stop()
print([[ComprandoAgora...]])
if (Self.ItemCount(IDMana) < MaxMana) or (Self.ItemCount(IDHealth) < MaxHealth) then
Self.SayToNpc({"hi", "flasks", "yes", "yes", "yes", "yes", "yes", "yes", "trade"}, 65)
wait(2000)
if (Self.ItemCount(IDMana) < MaxMana) then
print([[ComprandoMana...]])
BuyItems(IDMana, MaxMana)
wait(500)
end
if (Self.ItemCount(IDHealth) < MaxHealth) then
BuyItems(IDHealth, MaxHealth)
wait(500)
end
wait(200, 500)
end
Walker.Start()
My script isn't buying manas. it just passes by. and i have the ID and MaxMana set.
What is going on?