compartelo 0 Posted November 3, 2016 Share Posted November 3, 2016 how can i automatic heal with bandages the pets when they have finished one battle? Link to comment https://wrobot.eu/forums/topic/4313-heal-battle-pets-with-bands/ Share on other sites More sharing options...
Droidz 2739 Posted November 8, 2016 Share Posted November 8, 2016 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(); } } }; Link to comment https://wrobot.eu/forums/topic/4313-heal-battle-pets-with-bands/#findComment-20184 Share on other sites More sharing options...
Ruinit 11 Posted February 1, 2018 Share Posted February 1, 2018 Where would you put this code? And I would like to use only if one or more pets is below say 50% thanks Link to comment https://wrobot.eu/forums/topic/4313-heal-battle-pets-with-bands/#findComment-38789 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now