1. #1

    WeakAuras: Show buff on friendly target or player

    Hi folks,

    somehow I can't wrap my head around this. On my druid I'd like to track Lifebloom.

    So I have an icon aura with two triggers: One for "target" and one for "player".

    Now it would be nice to hide the player buff if my target is friendly but show the player buff as soon as I target an enemy target or nothing.

    Can anyone help?
    Last edited by Tasdru; 2023-03-29 at 08:11 PM.

  2. #2
    https://wago.io/Sy_TlikBm0

    If you don't like that particular one there's plenty more where it came from:
    https://wago.io/search/lifebloom

  3. #3
    Unfortunately I can't find any which does this:
    ... it would be nice to hide the player buff if my target is friendly but show the player buff as soon as I target an enemy target or nothing.
    Is this actualy hard to do with WeakAuras?

    - - - Updated - - -

    I was thinking about a custom function for the "Required for Activation".

    Something like this boilerplate code (which is not working):

    Code:
    function (triggers)
      return (triggers[1] and UnitIsFriendly) or triggers[2]
    end

    Given the fact that Trigger 1 is "target" and Trigger 2 is "player".

    How do I do this "UnitIsFriendly" with WeakAuras?

  4. #4
    Quote Originally Posted by Tasdru View Post
    How do I do this "UnitIsFriendly" with WeakAuras?
    You can make a trigger for target friendliness:

    Player/Unit info > Unit Characteristics
    +Unit > Target
    +Hostility > Friendly

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •