I want to know if their is any way to use food or potions on regular intervals. I don't really know which potions I want to use but I just want to know if you can tell the bot to scan for a certain item and use it on a regular basis?
thank you
using food and potions
Re: using food and potions
What do you mean by "regular intervals"? Do you want it time based or do you mean event triggered like onLeaveCombat for example?
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
-
oblivion2004
- Posts: 7
- Joined: Thu May 13, 2010 10:01 pm
Re: using food and potions
i want in regular time intervals. like every fifteen min or so
Re: using food and potions
I think I've read that others have set up a macro in an action bar button then created a fake "skill" in skills.xml then adding it to the character profile. Should work for potions too.
So, for instance, you could add something like this to skills.xml;Then add;
to your profile so it should use whatever potion or item that's in action bar 5 every 15 minutes.
Of course sometimes rombot fails to caste skills and doesn't realize it's failed. So if it doesn't drink the potion, it won't try again until another 15 minutes has passed.
Another idea is using buffs, assuming the potions you are talking about are for buffs.
You could, instead, check for the buff and if it isn't present then use the item. For that I think it would have to be event driven. If the buff is for battle, maybe before each skill caste.
So, for instance, you could add something like this to skills.xml;
Code: Select all
<skill name="MAGE_USEITEM" mana="1" cooldown="900" type="buff" target="self" />Code: Select all
<skill name="MAGE_USEITEM" hotkey="VK_5" priority="60" />Of course sometimes rombot fails to caste skills and doesn't realize it's failed. So if it doesn't drink the potion, it won't try again until another 15 minutes has passed.
Another idea is using buffs, assuming the potions you are talking about are for buffs.
You could, instead, check for the buff and if it isn't present then use the item. For that I think it would have to be event driven. If the buff is for battle, maybe before each skill caste.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
-
oblivion2004
- Posts: 7
- Joined: Thu May 13, 2010 10:01 pm
Re: using food and potions
thanks. it worked well