Rework battle pass timer into multiple weakauras

This commit is contained in:
2024-04-08 22:14:29 +02:00
parent 1a1e250e68
commit 02bde8ebb5
15 changed files with 170 additions and 46 deletions

View File

@@ -0,0 +1,21 @@
aura_env.BattlePass = {
Show = function()
if not uDailyRewFrame:IsVisible() then
-- uDailyRewFrame:Show()
udailyRewardIcon:Click()
end
end,
Hide = function()
if uDailyRewFrame:IsVisible() then
uDailyRewFrame:Hide()
end
end,
}
local aura_env = aura_env
aura_env.Tick = function()
aura_env.BattlePass.Show()
C_Timer.After(0.1, function()
WeakAuras.ScanEvents("PINKY_BPASS_OPEN")
end)
end