Jump to content
  • Unit("Focus") specific conditions


    Ordush
    • Version: All Product: Fight Classes Type: Suggestion Status: Not a Bug

    It would be awesome sometime in the future to see focus in addition to target in the conditions
    Example:
    Focus Health Percent

    so that we can do focus specific conditions. :)

    I've alrdy done some manual stuff in lua, but it's getting harder and harder to keep up with your conditions.
    Like a simple thing as to check for buffs.
    In tbc you have to do

    for i=1,40 do
      if UnitBuff("focus",i) == "SPELLNAME" then
        n=1
      end
    end 

    then you can use n=1 to whatever, it gets even more complicated if we want to check timers. :P
    Anyway
    Ordush out!



    User Feedback

    Recommended Comments

    Hello, you can use c# condition like:

    (ObjectManager.Me.FocusObj.IsValid && ObjectManager.Me.FocusObj.HaveBuff("SPELLNAME"))
    (ObjectManager.Me.FocusObj.IsValid && ObjectManager.Me.FocusObj.BuffTimeLeft("SPELLNAME") < 1000)
    (ObjectManager.Me.FocusObj.IsValid && ObjectManager.Me.FocusObj.HealthPercent <= 50)

     

    Link to comment
    Share on other sites

    2 hours ago, Droidz said:

    Hello, you can use c# condition like:

    
    (ObjectManager.Me.FocusObj.IsValid && ObjectManager.Me.FocusObj.HaveBuff("SPELLNAME"))
    (ObjectManager.Me.FocusObj.IsValid && ObjectManager.Me.FocusObj.BuffTimeLeft("SPELLNAME") < 1000)
    (ObjectManager.Me.FocusObj.IsValid && ObjectManager.Me.FocusObj.HealthPercent <= 50)

     

    Hey Droidz!
    Yeah i'm aware, you can also use lua (all my fightclasses are made in lua). But it would be awesome to have them as a choice in the condition.
    That's just because i'm a perfectionist. :)

    Link to comment
    Share on other sites



    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 account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...