Tumble files around a bit

This commit is contained in:
2025-05-16 10:20:19 +02:00
parent 0e3166a410
commit 003f90126d
1595 changed files with 75381 additions and 70006 deletions

View File

@@ -0,0 +1,24 @@
-- NAME_PLATE_UNIT_ADDED NAME_PLATE_UNIT_REMOVED
function(event, unit)
local name = UnitName(unit)
if name and UnitIsPlayer(unit) then
local race = UnitRace(unit)
local doNotify = true
if aura_env.config.allyOnly then
doNotify = false
if aura_env.raceMap[race] == "Alliance" then
doNotify = true
end
end
-- Stinkies overwrite allyOnly
if aura_env.config.stinkyOnly then
doNotify = false
if WeakAurasSaved.Cyka.stinkies[name] then
doNotify = true
end
end
if doNotify then
aura_env.NotifySpotted(name, race)
end
end
end