Jump to content

Use Item not working in fightclass


Recommended Posts

 

Im currently using my warlock fightclass in quester mode. Got the following setting for using healthstone in my fightclass.

But get this error when the bot should perform this action:

Am I missing something?

Link to comment
Share on other sites

Try using following lua script

for bag = 0,4,1 do for slot = 1, GetContainerNumSlots(bag), 1 do local name = GetContainerItemLink(bag,slot); if name and string.find(name,"Healthstone") then local st = GetContainerItemCooldown(bag, slot); if st == 0 then UseContainerItem(bag,slot); break; end; end; end; end

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...