/trunk
local buff, expires |
timer:SetScript("OnLoop", function(t, requested) |
buff, expires, duration = self:Inspect() |
buff, expires = self:Inspect() |
if not buff and self.playerBuff then |
self.playerBuff = false |
self:Complain(self.messages.expired) |
-- Warn if entering combat without buff |
function BabySeal:PLAYER_REGEN_DISABLED() |
if not self:Inspect() then |
self.playerBuff = false |
self:Complain(self.messages.combat) |
end |
self.timer:Play() |