Page 1 of 1

Problem with auto buff

Posted: Tue May 28, 2013 10:44 am
by BerndDasBrot
Hello.
I hope someone can help me. i can be possible that someone open a topic with the same problem but my english is not the best.

I have 2 bots.
NO 1 is my mainchar to get daily items.

NO 2 farms KS

Bot NO2 works fine but NO1 did not use the housemaid items (for faster runnig, more luck...). No2 use them.

What can i do that both use them?

I hope you can understand my problem. if not i try to explain again :D

thx.

Re: Problem with auto buff

Posted: Tue May 28, 2013 6:58 pm
by lisa
The bot doesn't use the housemaid pots by default, so the KS farmer will have code to handle it. Usually that is handled in your profile onleavecombat but if your character doing dailies doesn't kill anything then you never actually leave combat. So you may need to add the code into your WP that the dailiy character uses.

Code: Select all

	if not player:hasBuff(506684) then -- Unbridled Enthusiasm
		inventory:useItem(207200)
	end
	if not player:hasBuff(506686) then -- clear thought
		inventory:useItem(207202)
	end	
	if not player:hasBuff(506687) then -- housemaid luck
		inventory:useItem(207203)
	end