Update afktimer to stop quacking after 60s

This commit is contained in:
2024-03-30 19:27:03 +01:00
parent c8af9f84eb
commit 66cb12ab93
3 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
-- TICKER_500
function(e)
local timeToKick = aura_env.KickTime - time()
if timeToKick > 0 and timeToKick < 60 then
if timeToKick > 0 and timeToKick < 20 * 60 then
WeakAuras.ScanEvents("PLAY_SOUND", "Interface\\Sounds\\quack.ogg")
-- SendChatMessage("QUACK", "WHISPER", nil, UnitName("player"))
end