(temporarily?) add a quack on battlepass to be claimed
This commit is contained in:
@@ -5,5 +5,12 @@ function(e)
|
|||||||
WeakAuras.ScanEvents("PLAY_SOUND", "Interface\\Sounds\\quack.ogg")
|
WeakAuras.ScanEvents("PLAY_SOUND", "Interface\\Sounds\\quack.ogg")
|
||||||
-- SendChatMessage("QUACK", "WHISPER", nil, UnitName("player"))
|
-- SendChatMessage("QUACK", "WHISPER", nil, UnitName("player"))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local rewardClaimed = WeakAurasSaved.Cyka.LoginInfo[Today][UnitName("player")].claimed
|
||||||
|
local onlineTime = WeakAurasSaved.Cyka.LoginInfo[Today][UnitName("player")].onlineTimeInMinutes
|
||||||
|
if rewardClaimed == 0 and onlineTime >= 120 then
|
||||||
|
WeakAuras.ScanEvents("PLAY_SOUND", "Interface\\Sounds\\quack.ogg")
|
||||||
|
end
|
||||||
|
|
||||||
return aura_env.KickTime > 0
|
return aura_env.KickTime > 0
|
||||||
end
|
end
|
||||||
@@ -1,4 +1,3 @@
|
|||||||
-- TICKER_500
|
|
||||||
function(e)
|
function(e)
|
||||||
return math.floor(time() - aura_env.AfkSince), math.floor(aura_env.KickTime - aura_env.AfkSince), 1
|
return math.floor(time() - aura_env.AfkSince), math.floor(aura_env.KickTime - aura_env.AfkSince), 1
|
||||||
end
|
end
|
||||||
Reference in New Issue
Block a user