Spell ID mouseover macro ... or something like that
Is there a mouseover macro that puts out spellIDs to chat when you mouseover a buff?
Or an addon that adds spellIDs to your tooltip? Issue is, I'm using a Tag in my oUF layout to track some buff durations. Using Code:
UnitAura(u, GetSpellInfo()) Code:
UnitAura(u, "Enrage") All I care for is to keep track of the actual duration of the Sacred Shield buff so I can refresh it before it runs out. I tried using spellIDs (from wowhead): 20925 and 148039. Same issue with both of those. I mean it's kinda shit that the proc has the same name, but can it even have the same freakin spellID? -.- Any ideas? Btw, this is the whole Tag, just in case... Code:
local name, _,_,_,_,_, expirationTime, _ = UnitAura(u, GetSpellInfo(20925)) €: I supsect the issue lies within GetSpellInfo() itself, since it also checks for the freakin name to identify a buff. Code:
name, rank, icon, cost, isFunnel, powerType, castTime, minRange, maxRange |
You can't use a name argument with UnitAura then. You have to iterate over all buffs using index and then compare against the buff spell ID return.
|
Also, you really don't need half those variables you're defining... if you're only going to use a value once, just use it. You don't need to assign one variable's value to another variable before you can use it. I'm also extremely confused about the logic behind doing "-1 * (x - y)" instead of just "y - x" when that's what you really want... o_O
Code:
for i = 1, 40 do |
I just copy and pasted that, didnt give it another thought when it worked out of the box. Thanks for the heads up tho. ;)
|
All times are GMT -6. The time now is 03:51 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI