Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Drop used flasks
03-05-2018, 10:44 PM,
#1
Drop used flasks
Greetings,

How to automatically drop empty flasks after use. (Mana potions for example)

Tks
Reply
03-06-2018, 10:44 PM,
#2
RE: Drop used flasks
Use this script.

Quote:function dropVial()

local quantity = 10
local idVial = {283, 284, 285}

for i=1, #idVial do
local fVial = FindItem(idVial[i])
if fVial ~= nil and fVial.quantity >= quantity then
ThrowItemCtoG(fVial.num,fVial.slot,self.x,self.y,idVial[i],fVial.quantity)
end
end

end

SetTimerCallback("dropVial")
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)