What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Auto use Heal and Mana potions

Pasterke

Well-Known Member
Joined
Dec 12, 2011
Messages
1,228
Reaction score
48
Hi,

I always have different kind of mana potions or heal potions in my bags. The bot don't use it, and after a while you can drop it by the vendor because they are too low to use at your current lvl.

I wrote a plugin who will check your bags for potions and use it when mana or health is below 22%.
Every possible potion is in the list, also the new potions to use with Mist of Pandaria.

This is a plugin, so unpack it in the plugin folder.

--------------------Download-----------------
View attachment DrinkManager.zip
View attachment DrinkManager-v1.1.zip (new version with de suggestions of CodenameG)
View attachment DrinkManager-v1.2.zip improved version
----------------------------------------------
 
Last edited:
um guy
Code:
        public void useItem(WoWItem Item)
        {
            while (Item.Cooldown > 0)
            {
                Thread.Sleep(100);
            }
            Lua.DoString("UseItemByName(\"" + Item.Entry.ToString() + "\")");
        }
if you do that and say you already used a mana potion in combat, and its on cooldown, its going to get stuck and sleep the thread till the item comes off cooldown and wont allow it to get past it. your locking up the thread and thats bad.

also you dont need the Lua.DoString. you can just call
Item.Use();

since you already have it as a wow item.
 
Back
Top