1. #1

    Weak Aura help - Boss name?

    So, I need help with a Weak Aura.

    By virtue of weird comp, my resto druid is now responsible for Weakened Armor via Faerie Fire. I want a Weak Aura to help me keep track of this. According to our rogue, who knows WA but keeps forgetting to get me anything, there should be a way to have a text showing the actual name of a unit by UID.

    What I have so far:

    Functioning WAs that shows the FF icon with 1/2/3 that triggers when there's 5 seconds left on Weakened Armor on boss1/boss2/boss3 or the debuff isn't on them at all.

    What I want:

    To have the text say the name of the boss. I don't know LUA to be able to get the name of a boss ID but what text would I put in the text field to get the name of boss1/boss2/boss3?

  2. #2
    The Patient
    15+ Year Old Account
    Join Date
    Apr 2008
    Location
    United Kingdom
    Posts
    319
    Code:
    if UnitExists("boss1") then
        local boss1 = UnitName("boss1")
        return(boss1)
    end
    I think you need to use the custom field, post your full aura.
    Last edited by suprep; 2014-01-08 at 01:41 AM.
    Retired in WoD

  3. #3
    you put %c in it and then in the box that pops up you do

    function()
    return UnitName("boss1") or ""
    end

  4. #4
    Field Marshal Arabus80's Avatar
    10+ Year Old Account
    Join Date
    Jan 2014
    Location
    Germany
    Posts
    55
    im not sure but i think it should work with a multitarget aura aswell

Posting Permissions

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