Add ! above sniffable players
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
--- PLAYER_TARGET_CHANGED
|
--- PLAYER_TARGET_CHANGED
|
||||||
function()
|
function(allstates)
|
||||||
aura_env.TryInspect()
|
aura_env.TryInspect()
|
||||||
end
|
end
|
||||||
27
FreshShit/AchievementSniffer/event4.lua
Normal file
27
FreshShit/AchievementSniffer/event4.lua
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
--- TICKER_200
|
||||||
|
function(allstates)
|
||||||
|
for i = 0, 40 do
|
||||||
|
local unit = "nameplate" .. i
|
||||||
|
if UnitIsPlayer(unit) then
|
||||||
|
local name = UnitName(unit)
|
||||||
|
local seen = false
|
||||||
|
if WeakAurasSaved.Cyka.AchievementSniffer[name] then seen = true end
|
||||||
|
|
||||||
|
allstates[unit] = {
|
||||||
|
show = true,
|
||||||
|
changed = true,
|
||||||
|
name = name,
|
||||||
|
unit = unit,
|
||||||
|
seen = seen,
|
||||||
|
}
|
||||||
|
else
|
||||||
|
allstates[unit] = {
|
||||||
|
show = false,
|
||||||
|
changed = true,
|
||||||
|
seen = false,
|
||||||
|
}
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
return true
|
||||||
|
end
|
||||||
3
FreshShit/AchievementSniffer/event4_variables.lua
Normal file
3
FreshShit/AchievementSniffer/event4_variables.lua
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
seen = "bool",
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user