Jump to content

WoTLK fight classes healing party members.

Recommended Posts

Hey all,

I'm working on a Ret pally party bot for [email protected]@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-



Link to comment
Share on other sites

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
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...