Cleanup and details

This commit is contained in:
2024-10-14 18:27:30 +02:00
parent 0ce3b54169
commit d4673d8f74
4 changed files with 35 additions and 28 deletions

View File

@@ -80,18 +80,21 @@ function(allstates, e, prefix, msg, ...)
return
end
if not allstates[name] then
PlaySoundFile("Interface\\Sounds\\Domination.ogg", "Master")
end
allstates[name] = {
show = true,
changed = true,
name = string.format("%-30s", name),
progressType = "timed",
duration = 60,
expirationTime = GetTime() + 60,
expirationTime = GetTime() + aura_env.config.alertThrottle,
autohide = true,
index = GetTime(),
progress = string.format("%20s", "0s"),
}
PlaySoundFile("Interface\\Sounds\\Domination.ogg", "Master")
return true
end