Fixed Raid Check plugin position and shadow priest void eruption got merged with other spells of the same name
This commit is contained in:
@@ -232,6 +232,8 @@
|
||||
[32175] = 17364, -- shaman Stormstrike (from Turkar on github)
|
||||
[32176] = 17364, -- shaman Stormstrike
|
||||
[45284] = 188196, --shaman lightining bolt overloaded
|
||||
|
||||
[228361] = 228360, --shadow priest void erruption
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ function Details.CooldownTracking.EnableTracker()
|
||||
raidStatusLib.RegisterCallback(Details.CooldownTracking, "CooldownListWiped", "CooldownListWipedFunc")
|
||||
raidStatusLib.RegisterCallback(Details.CooldownTracking, "CooldownUpdate", "CooldownUpdateFunc")
|
||||
|
||||
Details.CooldownTracking.RefreshCooldownFrames()
|
||||
--Details.CooldownTracking.RefreshCooldownFrames()
|
||||
end
|
||||
|
||||
function Details.CooldownTracking.DisableTracker()
|
||||
@@ -58,23 +58,11 @@ function Details.CooldownTracking.DisableTracker()
|
||||
end
|
||||
|
||||
--unregister callbacks
|
||||
raidStatusLib.UnregisterCallback(Details.CooldownTracking, "CooldownListUpdate", "CooldownListUpdateFunc")
|
||||
raidStatusLib.UnregisterCallback(Details.CooldownTracking, "CooldownListWiped", "CooldownListWipedFunc")
|
||||
raidStatusLib.UnregisterCallback(Details.CooldownTracking, "CooldownListUpdate", "CooldownUpdateFunc")
|
||||
raidStatusLib.UnregisterCallback(Details.CooldownTracking, "CooldownListWiped", "CooldownUpdateFunc")
|
||||
raidStatusLib.UnregisterCallback(Details.CooldownTracking, "CooldownUpdate", "CooldownUpdateFunc")
|
||||
end
|
||||
|
||||
function Details.CooldownTracking.CooldownListUpdateFunc()
|
||||
--print("CooldownListUpdate")
|
||||
Details.CooldownTracking.RefreshCooldowns()
|
||||
end
|
||||
|
||||
function Details.CooldownTracking.CooldownListWipedFunc()
|
||||
--print("CooldownListWiped")
|
||||
Details.CooldownTracking.RefreshCooldowns()
|
||||
end
|
||||
|
||||
function Details.CooldownTracking.CooldownUpdateFunc()
|
||||
print("CooldownUpdate")
|
||||
Details.CooldownTracking.RefreshCooldowns()
|
||||
end
|
||||
|
||||
|
||||
@@ -10,6 +10,8 @@ local DF = DetailsFramework
|
||||
|
||||
local UnitGroupRolesAssigned = DF.UnitGroupRolesAssigned
|
||||
|
||||
local version = "95"
|
||||
|
||||
--> build the list of buffs to track
|
||||
local flask_list = DF.FlaskIDs
|
||||
|
||||
@@ -67,7 +69,6 @@ end
|
||||
tinsert (UISpecialFrames, "Details_RaidCheck")
|
||||
DetailsRaidCheck:SetPluginDescription (Loc ["STRING_RAIDCHECK_PLUGIN_DESC"])
|
||||
|
||||
local version = "v3.0.1"
|
||||
|
||||
local debugmode = false
|
||||
--local debugmode = true
|
||||
@@ -716,7 +717,18 @@ end
|
||||
DetailsRaidCheck.ToolbarButton:SetScript ("OnEnter", function (self)
|
||||
show_panel:Show()
|
||||
show_panel:ClearAllPoints()
|
||||
show_panel:SetPoint ("bottom", DetailsRaidCheck.ToolbarButton, "top", 0, 10)
|
||||
|
||||
local bottomPosition = self:GetBottom()
|
||||
local screenHeight = GetScreenHeight()
|
||||
|
||||
local positionHeightPercent = bottomPosition / screenHeight
|
||||
|
||||
if (positionHeightPercent > 0.7) then
|
||||
show_panel:SetPoint("top", DetailsRaidCheck.ToolbarButton, "bottom", 0, -10)
|
||||
else
|
||||
show_panel:SetPoint("bottom", DetailsRaidCheck.ToolbarButton, "top", 0, 10)
|
||||
end
|
||||
|
||||
show_panel.NextUpdate = UpdateSpeed
|
||||
update_panel (show_panel, 1)
|
||||
show_panel:SetScript ("OnUpdate", update_panel)
|
||||
|
||||
Reference in New Issue
Block a user