Commit d0ed5e4e authored by Tukz's avatar Tukz

Update oUF plugins.

parent 5b648395
......@@ -61,7 +61,7 @@ local function Enable(self, unit)
bar.ForceUpdate = ForceUpdate
self:RegisterEvent("UNIT_POWER_UPDATE", Path)
self:RegisterEvent("PLAYER_TALENT_UPDATE", Visibility)
self:RegisterEvent("PLAYER_TALENT_UPDATE", Visibility, true)
self:RegisterEvent("PLAYER_ENTERING_WORLD", Visibility)
for i = 1, 4 do
......
......@@ -68,7 +68,7 @@ local function Enable(self)
if Bar then
self:RegisterEvent("UNIT_AURA", Update)
self:RegisterEvent("PLAYER_TALENT_UPDATE", CheckSpec)
self:RegisterEvent("PLAYER_TALENT_UPDATE", CheckSpec, true)
self:RegisterEvent("PLAYER_ENTERING_WORLD", CheckSpec)
Bar:SetMinMaxValues(0, 15)
......
......@@ -309,8 +309,8 @@ local function Enable(self)
end
--Need to run these always
self:RegisterEvent("PLAYER_ENTERING_WORLD", CheckSpec)
self:RegisterEvent("PLAYER_TALENT_UPDATE", CheckSpec)
self:RegisterEvent("CHARACTER_POINTS_CHANGED", CheckSpec)
self:RegisterEvent("PLAYER_TALENT_UPDATE", CheckSpec, true)
self:RegisterEvent("CHARACTER_POINTS_CHANGED", CheckSpec, true)
end
local function Disable(self)
......
......@@ -191,7 +191,7 @@ function TukuiUnitFrames:Party()
self.Highlight = Highlight
self:Tag(Name, "[level] [Tukui:NameLong] [Tukui:Role]")
self:RegisterEvent("PLAYER_TARGET_CHANGED", TukuiUnitFrames.Highlight)
self:RegisterEvent("RAID_ROSTER_UPDATE", TukuiUnitFrames.Highlight)
self:RegisterEvent("PLAYER_FOCUS_CHANGED", TukuiUnitFrames.Highlight)
self:RegisterEvent("PLAYER_TARGET_CHANGED", TukuiUnitFrames.Highlight, true)
self:RegisterEvent("RAID_ROSTER_UPDATE", TukuiUnitFrames.Highlight, true)
self:RegisterEvent("PLAYER_FOCUS_CHANGED", TukuiUnitFrames.Highlight, true)
end
......@@ -226,7 +226,7 @@ function TukuiUnitFrames:Raid()
self.ThreatIndicator = Threat
self.Highlight = Highlight
self:RegisterEvent("PLAYER_TARGET_CHANGED", TukuiUnitFrames.Highlight)
self:RegisterEvent("RAID_ROSTER_UPDATE", TukuiUnitFrames.Highlight)
self:RegisterEvent("PLAYER_FOCUS_CHANGED", TukuiUnitFrames.Highlight)
self:RegisterEvent("PLAYER_TARGET_CHANGED", TukuiUnitFrames.Highlight, true)
self:RegisterEvent("RAID_ROSTER_UPDATE", TukuiUnitFrames.Highlight, true)
self:RegisterEvent("PLAYER_FOCUS_CHANGED", TukuiUnitFrames.Highlight, true)
end
......@@ -128,9 +128,9 @@ function TukuiUnitFrames:Nameplates()
insets = {left = T.Scale(4), right = T.Scale(4), top = T.Scale(4), bottom = T.Scale(4)},
})
self:RegisterEvent("PLAYER_TARGET_CHANGED", TukuiUnitFrames.HighlightPlate)
self:RegisterEvent("NAME_PLATE_UNIT_ADDED", TukuiUnitFrames.HighlightPlate)
self:RegisterEvent("NAME_PLATE_UNIT_REMOVED", TukuiUnitFrames.HighlightPlate)
self:RegisterEvent("PLAYER_TARGET_CHANGED", TukuiUnitFrames.HighlightPlate, true)
self:RegisterEvent("NAME_PLATE_UNIT_ADDED", TukuiUnitFrames.HighlightPlate, true)
self:RegisterEvent("NAME_PLATE_UNIT_REMOVED", TukuiUnitFrames.HighlightPlate, true)
-- Needed on nameplate else if will bug on AOE multi nameplates. (I'm not sure about this)
self:EnableMouse(false)
......
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