Jump to content

Recommended Posts

Hello,

use c# code like:

wManager.Events.FightEvents.OnFightEnd += delegate(Int128 guid)
        {
            uint itemId = 86143; // Battle Pet Bandage
            if (ItemsManager.HasItemById(itemId))
            {
                if (PetBattles.PetJournalGetHealth(1) != PetBattles.PetJournalGetMaxHealth(1) || 
                PetBattles.PetJournalGetHealth(2) != PetBattles.PetJournalGetMaxHealth(2) ||
                PetBattles.PetJournalGetHealth(3) != PetBattles.PetJournalGetMaxHealth(3))
                {
                    ItemsManager.UseItem(itemId);
                    Usefuls.WaitIsCasting();
                }
            }
           
        };

 

  • 1 year later...

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...