Jump to content
FORUMS
Sign in to follow this  
PatrickDenver

Arcane Wrath Weak Aura

Recommended Posts

Looking for a weakaura that will show me the distance I am from targets with the Arcane wrath debuff similar to the Mark of Chaos weakaura. I've tried searching google but all I could find were weakauras that announced in /say what the range is which doesn't really help me. I've also tried modifying the Mark of Chaos weak aura spellid's to be the Branded spell id's instead but it doesn't show the distance. 

Share this post


Link to post
Share on other sites

I am sure someone with better coding skills could make a more simple solution, but this should work. 

 

Make a text weakaura with the trigger:
 

Aura:

Branded

or

Branded: Fortification

or

Branded: Displacement

or

Branded: Replication

 

Unit: Specific Unit

 

Specific Unit: raid1

 

Aura Type: Debuff

 

 

Then go to display. Under Text enter "%c". Use the following custom code:

 

function()

    local distanceSquared = select(1,UnitDistanceSquared("raid1"))
    local distance = distanceSquared^(0.5)
    local name = UnitName("raid1")
    return name .. (": ") .. distance .. (" yards")
end

 

 

Now duplicate this weakaura for as many raidmembers you have, replacing raid1 with raid2 etc in both the custom text and the trigger information.

Put all these weakauras in a dynamic group. When the brand(s) appear, you should see a text saying something like: "Patrick: 38 yards"

Share this post


Link to post
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.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...