• Visit Rebornbuddy
  • focus target?

    Discussion in 'Archives' started by deusx, Dec 22, 2011.

    1. deusx

      deusx Member

      Joined:
      Feb 1, 2010
      Messages:
      206
      Likes Received:
      5
      Trophy Points:
      18
      Ok i need a code that will check if my focus target is meeting specific conditions (casting, have buff/debuff, is/is not in range) and act accordingly.
      What i want to use this for is in arenas where while i am targeting the poor guy i am inflicting pain upon have the focus frame set to another target and bot constantly checking that target to see if he can interrupt/dispel/whatever
      i.e the similar code used for my target:
      Code:
      Spell.Cast("Dispel Magic", ret => StyxWoW.Me.CurrentTarget.HasAura("Innervate"))
      I need the code that does the same thing but to the focus target, while my target remains something/someone else
       

    Share This Page