Jump to content
This site uses cookies! Learn More

This site uses cookies!

By continuing to use this site, you agree to allow us to store cookies on your computer. :)

  • 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)

     

    Share this comment


    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. :)

    Share this comment


    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.

    Guest
    Add a comment...

    ×   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...