eeny 523 Posted June 15, 2018 Share Posted June 15, 2018 Hey all, I'm working on a Ret pally party bot for W@rm@ne 3.3.5 and im looking to get "Art of War" procs to be a bit more smart. The Art of war is a proc where he net Flash of Light or Exorcism becomes instant cast. At the moment im just writing the tank name into the Fight class and running a macro to target the tank when the bot has Art of War and cast FoL. Its effective, however some boss fights are a bit more party damage heavy and im seeing a lot of wasted heals landing on the tank which could go to the party. Does anyone have code or methods to check the health of party members and target / heal them in a DPS fight class. Currently im running this to keep the tank up... if ( ObjectManager.Me.ManaPercentage > 10 && ObjectManager.Me.HaveBuff("The Art of War") && ObjectManager.Me.HealthPercent > 85) { wManager.Wow.Helpers.Lua.RunMacroText("/cast [@Tank_name] Flash of Light "); } FC Attached- thanks Paladin_Ret_party_bot.cs Link to comment https://wrobot.eu/forums/topic/9595-wotlk-fight-classes-healing-party-members/ Share on other sites More sharing options...
sb360 17 Posted June 15, 2018 Share Posted June 15, 2018 Is it inefficient to check health of party1-4 with lua? UnitHealth("party1") / UnitHealthMax("party1"). And cast at party member with CastSpellByName("Flash of Light", "party1"); Thats all I know, sorry Link to comment https://wrobot.eu/forums/topic/9595-wotlk-fight-classes-healing-party-members/#findComment-44495 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