Originally Posted by Tim
Without any code posted it sounds like your addon is trying to grab information before it's available. Whenever people are in need of coding help it works best when you provide your code and your issues.
|
There isn't anything really special.
Similar to WeakAuras the addon has an array of trackable spells:
Code:
spells = {
[1] = GetSpellInfo(8921), -- Moonfire
}
and once the player enters combat it runs a 0.1s timer and check for the spell debuff on the target
Code:
spellName = spells[1]
_, _, _, _, _, buffDuration, buffExpire = UnitDebuff("target", spellName, nil, "PLAYER")
if buffExpire then
expire = buffExpire - GetTime()
timers[1]:SetText(expire)
else
timers[1]:SetText("")
end
I've noticed TidyPlates having the same issue - in timewalking it shows only some of the debuffs on the target nameplace. Moonfire by some reason is not displayed. Same spell - that's a strange coincidence.