November 3, 20169 yr how can i automatic heal with bandages the pets when they have finished one battle?
November 8, 20169 yr 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(); } } };
February 1, 20188 yr Where would you put this code? And I would like to use only if one or more pets is below say 50% thanks
Create an account or sign in to comment