General Changes ad Improvements

- Added: Details:IsInMythicPlus() return true if the player is on a mythic dungeon run.
- CombatObjects now have the key 'is_challenge' if the combat is a part of a challenge mode or mythic+ run.
- Evoker extra bar tooltip's, now also show the uptime of Black Attunement and Prescience applications.
- Breakdown Window now show Plater Npc Colors in the target box.
- Added event: "COMBAT_MYTHICPLUS_OVERALL_READY", trigger when the overall segment for the mythic+ is ready.
- Added event: "COMBAT_PLAYER_LEAVING", trigger at the beginning of the leave combat process.
- Library updates: Details! Framework and Lib Open Raid.
This commit is contained in:
Tercio Jose
2024-01-08 14:18:08 -03:00
parent 99aff93ba8
commit 9eb4d344e6
25 changed files with 1215 additions and 213 deletions
@@ -85,6 +85,24 @@ local updateTargetBar = function(targetBar, index, combatObject, scrollFrame, he
--statusbar color
targetBar.statusBar:SetStatusBarColor(1, 1, 1, 1)
local platerNameplates = _G.Plater
if (platerNameplates) then
local npcId = tonumber(targetActorObject.aID)
if (npcId) then
local platerProfile = platerNameplates.db.profile
local npcColors = platerProfile.npc_colors
local platerNpcColorTable = npcColors[npcId]
if (platerNpcColorTable) then
if (platerNpcColorTable[1] == true) then
local color = platerNpcColorTable[3]
local r, g, b, a = DF:ParseColors(color)
targetBar.statusBar:SetStatusBarColor(r, g, b, a)
end
end
end
end
targetBar.combatTime = combatTime
targetBar.actorName = bkTargetData.name