What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Focus target?

Gnobiwan

Member
Joined
Jan 15, 2010
Messages
101
Reaction score
1
I have been reading the command documentation and have been unable to devise a method of getting your focus. Is there any method coded into HB to cast a spell on your focus?

I would like to code something for my RAF holy pally to cast beacon on its current focus.


Or even to get the LFD random "tank" position as my target of the spell.

Thanks all
 
Last edited:
As far as I've gotten for this, since there is no way of currently telling who does what. I just made it so if they have 100 percent aggro, then they'll get Beacon of Light.

Code:
            foreach (WoWPlayer findtank in ObjectManager.Me.PartyMembers)
            {
                if (findtank.ThreatInfo.ThreatValue == 100)
                {
                    SpellManager.CastSpell("Beacon of Light");
                }
            }

Tell me how that treats ya.

Mitch.
 
Back
Top