14 lines
443 B
Lua
14 lines
443 B
Lua
--- INSPECT_ACHIEVEMENT_READY
|
|
function()
|
|
local targetGuid = UnitGUID("target")
|
|
if not targetGuid then return end
|
|
if not string.match(targetGuid, "Player") then return end
|
|
local targetName = UnitName("target")
|
|
|
|
local should = false
|
|
if not WeakAurasSaved.Cyka.AchievementSniffer[targetName] then should = true end
|
|
if aura_env.config.rescan then should = true end
|
|
if not should then return end
|
|
|
|
aura_env.Scan(targetName)
|
|
end |