Files
wow-weakauras/FreshShit/BattlePassTimer/event.lua
David Majdandžić d7796a1eac Finish work on battlepasstimer
Now auto claims when cooked :)
2024-04-09 11:01:29 +02:00

7 lines
172 B
Lua

-- CHAT_MSG_ADDON
function(e, opcode, msg)
if opcode ~= "UISMSG_TO_CLIENT" then return end
BattlepassInfo.ParseApi(msg)
return BattlepassInfo.dayRewardComplete == 0
end