Using weakauras to monitor numbers of enemies within arcane explosion range

Anything mage specific not covered by any of the other subforums, like raid instance guides for mages.
User avatar
Zazzi
Posts: 4
Joined: Wed Jan 13, 2016 4:30 am

Using weakauras to monitor numbers of enemies within arcane explosion range

Unread postby Zazzi Tue Feb 27, 2018 2:18 pm

Here is a good example I found on wago.io.
https://wago.io/rycHBJxSG
He made a custom trigger to monitor how many enemies within 8 yard range (for whirlwind) by using lua langeuage "IsItemInrange".
An item's ( "burning torch" item ID:33278) use/cast range is exactly 8 yard which simply matchs whirlwind cast range.
This weakaura works even if you dont own that item.

I googled wow item range list. Only one item's (sturdy rope, id:33069) use/cast range 14 yard is by far the nearest range as arcane explosion 14 yard cast range.

If you just switch the item ID he used in the custom trigger code with this sturdy rope item ID 33069, you can make a weakaura monitoring how many enemies within 15 yard range.

However, Arcane explosion is 14 cast range. This weakaura is not perfect especially during the fight of the coven of shivarra where you may find yourself standing near the range limit of 14-15 yard.

Is there anything that's just 14 yard use/cast range? or Is there any data base such as wowhead/wowdb providing use/cast range data? I have tried to find the answer but in vain.

Or at least, is it possible to make another custom trigger mornitoring enemy numbers within 14 yard range by using lua "IsSpellInRange" or addon Librangecheck 2.0?
http://wowwiki.wikia.com/wiki/API_IsSpellInRange
https://www.wowace.com/projects/librang ... /pages/api

Many thanks if you reply
About me:
Image
Armory
WCL
Snikur
Posts: 1
Joined: Thu Apr 19, 2018 10:48 pm

Re: Using weakauras to monitor numbers of enemies within arcane explosion range

Unread postby Snikur Thu Apr 19, 2018 10:50 pm

Code: Select all

function() aura_env.count = 0 for i = 1, 40 do local unit = "nameplate"..i if UnitExists(unit) then if UnitCanAttack("player", unit) and WeakAuras.GetRange(unit) < 15 then aura_env.count = aura_env.count + 1 end end end if aura_env.count > 1 then return true end --[[ [15] = { 33069, -- Sturdy Rope }, [20] = { 10645, -- Gnomish Death Ray }, --]] return false end

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests