Commit 23f367c2 authored by Tukz's avatar Tukz
Browse files

oUF plugins update

parent 809b2e7a
...@@ -62,7 +62,7 @@ local function Enable(self, unit) ...@@ -62,7 +62,7 @@ local function Enable(self, unit)
self:RegisterEvent("UNIT_POWER_UPDATE", Path) self:RegisterEvent("UNIT_POWER_UPDATE", Path)
self:RegisterEvent("PLAYER_TALENT_UPDATE", Visibility, true) self:RegisterEvent("PLAYER_TALENT_UPDATE", Visibility, true)
self:RegisterEvent("PLAYER_ENTERING_WORLD", Visibility) self:RegisterEvent("PLAYER_ENTERING_WORLD", Visibility, true)
for i = 1, 4 do for i = 1, 4 do
if not bar[i]:GetStatusBarTexture() then if not bar[i]:GetStatusBarTexture() then
......
...@@ -69,7 +69,7 @@ local function Enable(self) ...@@ -69,7 +69,7 @@ local function Enable(self)
if Bar then if Bar then
self:RegisterEvent("UNIT_AURA", Update) self:RegisterEvent("UNIT_AURA", Update)
self:RegisterEvent("PLAYER_TALENT_UPDATE", CheckSpec, true) self:RegisterEvent("PLAYER_TALENT_UPDATE", CheckSpec, true)
self:RegisterEvent("PLAYER_ENTERING_WORLD", CheckSpec) self:RegisterEvent("PLAYER_ENTERING_WORLD", CheckSpec, true)
Bar:SetMinMaxValues(0, 15) Bar:SetMinMaxValues(0, 15)
Bar:SetValue(0) Bar:SetValue(0)
......
...@@ -95,7 +95,7 @@ local Enable = function(self, unit) ...@@ -95,7 +95,7 @@ local Enable = function(self, unit)
cpb.__owner = self cpb.__owner = self
cpb.ForceUpdate = ForceUpdate cpb.ForceUpdate = ForceUpdate
self:RegisterEvent('UNIT_POWER_UPDATE', Path, true) self:RegisterEvent('UNIT_POWER_UPDATE', Path)
self:RegisterEvent('PLAYER_TARGET_CHANGED', Path, true) self:RegisterEvent('PLAYER_TARGET_CHANGED', Path, true)
self:RegisterEvent('PLAYER_TALENT_UPDATE', SetMaxCombo, true) self:RegisterEvent('PLAYER_TALENT_UPDATE', SetMaxCombo, true)
......
...@@ -308,7 +308,7 @@ local function Enable(self) ...@@ -308,7 +308,7 @@ local function Enable(self)
return true return true
end end
--Need to run these always --Need to run these always
self:RegisterEvent("PLAYER_ENTERING_WORLD", CheckSpec) self:RegisterEvent("PLAYER_ENTERING_WORLD", CheckSpec, true)
self:RegisterEvent("PLAYER_TALENT_UPDATE", CheckSpec, true) self:RegisterEvent("PLAYER_TALENT_UPDATE", CheckSpec, true)
self:RegisterEvent("CHARACTER_POINTS_CHANGED", CheckSpec, true) self:RegisterEvent("CHARACTER_POINTS_CHANGED", CheckSpec, true)
end end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment