shadowsight register AURA_GAIN
This commit is contained in:
parent
1c93e4ce4d
commit
dd8a35857d
@ -21,6 +21,7 @@ end
|
||||
function ShadowsightTimer:Initialize()
|
||||
self.locale = Gladdy:GetArenaTimer()
|
||||
self:RegisterMessage("JOINED_ARENA")
|
||||
self:RegisterMessage("AURA_GAIN")
|
||||
self:CreateTimerFrame()
|
||||
end
|
||||
|
||||
@ -32,6 +33,12 @@ function ShadowsightTimer:JOINED_ARENA()
|
||||
self.timerFrame:Show()
|
||||
end
|
||||
|
||||
function ShadowsightTimer:AURA_GAIN(unit, auraType, spellID)
|
||||
if (spellID == 34709) then
|
||||
--TODO reset timer after 15s
|
||||
end
|
||||
end
|
||||
|
||||
function ShadowsightTimer:CHAT_MSG_BG_SYSTEM_NEUTRAL(msg)
|
||||
for k,v in pairs(self.locale) do
|
||||
if str_find(msg, v) then
|
||||
|
Loading…
Reference in New Issue
Block a user