add RaidRoleIcons (party leader, master looter, etc..)

This commit is contained in:
Crum
2019-01-13 18:38:08 -06:00
parent edc1e0f938
commit e8821e3b88
8 changed files with 509 additions and 302 deletions
@@ -18,6 +18,7 @@
<Script file="PvPIndicator.lua"/> <Script file="PvPIndicator.lua"/>
<Script file="RaidDebuffs.lua"/> <Script file="RaidDebuffs.lua"/>
<Script file="RaidIcon.lua"/> <Script file="RaidIcon.lua"/>
<Script file="RaidRoleIcons.lua"/>
<Script file="Range.lua"/> <Script file="Range.lua"/>
<Script file="RestingIndicator.lua"/> <Script file="RestingIndicator.lua"/>
<Script file="FrameGlow.lua"/> <Script file="FrameGlow.lua"/>
@@ -0,0 +1,131 @@
local E, L, V, P, G = unpack(ElvUI)
local UF = E:GetModule("UnitFrames")
local select, tonumber = select, tonumber
local match = string.match
local CreateFrame = CreateFrame
local GetNumRaidMembers = GetNumRaidMembers
local GetRaidRosterInfo = GetRaidRosterInfo
local IsPartyLeader = IsPartyLeader
local UnitInParty = UnitInParty
local UnitInRaid = UnitInRaid
local function CheckLeader(unit)
if unit == "player" then
return IsPartyLeader()
elseif unit ~= "player" and (UnitInParty(unit) or UnitInRaid(unit)) then
local gtype, index = match(unit, "(%D+)(%d+)")
index = tonumber(index)
if gtype == "party" and GetNumRaidMembers() == 0 then
return GetPartyLeaderIndex() == index
elseif gtype == "raid" and GetNumRaidMembers() > 0 then
return select(2, GetRaidRosterInfo(index)) == 2
end
end
end
local function UpdateOverride(self)
local element = self.LeaderIndicator
if element.PreUpdate then
element:PreUpdate()
end
local isLeader = CheckLeader(self.unit)
if isLeader then
element:Show()
else
element:Hide()
end
if element.PostUpdate then
return element:PostUpdate(isLeader)
end
end
function UF:Construct_RaidRoleFrames(frame)
local anchor = CreateFrame("Frame", nil, frame.RaisedElementParent)
frame.LeaderIndicator = anchor:CreateTexture(nil, "OVERLAY")
frame.AssistantIndicator = anchor:CreateTexture(nil, "OVERLAY")
frame.MasterLooterIndicator = anchor:CreateTexture(nil, "OVERLAY")
E:Size(anchor, 24, 12)
E:Size(frame.LeaderIndicator, 12)
E:Size(frame.AssistantIndicator, 12)
E:Size(frame.MasterLooterIndicator, 11)
frame.LeaderIndicator.Override = UpdateOverride
frame.LeaderIndicator.PostUpdate = UF.RaidRoleUpdate
frame.AssistantIndicator.PostUpdate = UF.RaidRoleUpdate
frame.MasterLooterIndicator.PostUpdate = UF.RaidRoleUpdate
return anchor
end
function UF:Configure_RaidRoleIcons(frame)
local raidRoleFrameAnchor = frame.RaidRoleFramesAnchor
if not raidRoleFrameAnchor then return end
if frame.db.raidRoleIcons.enable then
raidRoleFrameAnchor:Show()
if not frame:IsElementEnabled("LeaderIndicator") then
frame:EnableElement("LeaderIndicator")
frame:EnableElement("MasterLooterIndicator")
frame:EnableElement("AssistantIndicator")
end
raidRoleFrameAnchor:ClearAllPoints()
if frame.db.raidRoleIcons.position == "TOPLEFT" then
E:Point(raidRoleFrameAnchor, "LEFT", frame, "TOPLEFT", 2, 0)
else
E:Point(raidRoleFrameAnchor, "RIGHT", frame, "TOPRIGHT", -2, 0)
end
elseif frame:IsElementEnabled("LeaderIndicator") then
raidRoleFrameAnchor:Hide()
frame:DisableElement("LeaderIndicator")
frame:DisableElement("MasterLooterIndicator")
frame:DisableElement("AssistantIndicator")
end
end
function UF:RaidRoleUpdate()
local anchor = self:GetParent()
local frame = anchor:GetParent():GetParent()
local leader = frame.LeaderIndicator
local assistant = frame.AssistantIndicator
local masterLooter = frame.MasterLooterIndicator
if not leader or not masterLooter or not assistant then return end
local db = frame.db
local isLeader = leader:IsShown()
local isMasterLooter = masterLooter:IsShown()
local isAssist = assistant:IsShown()
leader:ClearAllPoints()
assistant:ClearAllPoints()
masterLooter:ClearAllPoints()
if db and db.raidRoleIcons then
if isLeader and db.raidRoleIcons.position == "TOPLEFT" then
E:Point(leader, "LEFT", anchor, "LEFT")
E:Point(masterLooter, "RIGHT", anchor, "RIGHT")
elseif isLeader and db.raidRoleIcons.position == "TOPRIGHT" then
E:Point(leader, "RIGHT", anchor, "RIGHT")
E:Point(masterLooter, "LEFT", anchor, "LEFT")
elseif isAssist and db.raidRoleIcons.position == "TOPLEFT" then
E:Point(assistant, "LEFT", anchor, "LEFT")
E:Point(masterLooter, "RIGHT", anchor, "RIGHT")
elseif isAssist and db.raidRoleIcons.position == "TOPRIGHT" then
E:Point(assistant, "RIGHT", anchor, "RIGHT")
E:Point(masterLooter, "LEFT", anchor, "LEFT")
elseif isMasterLooter and db.raidRoleIcons.position == "TOPLEFT" then
E:Point(masterLooter, "LEFT", anchor, "LEFT")
else
E:Point(masterLooter, "RIGHT", anchor, "RIGHT")
end
end
end
@@ -27,6 +27,7 @@ function UF:Construct_PartyFrames()
if self.isChild then if self.isChild then
self.Health = UF:Construct_HealthBar(self, true) self.Health = UF:Construct_HealthBar(self, true)
self.RaidRoleFramesAnchor = UF:Construct_RaidRoleFrames(self)
self.MouseGlow = UF:Construct_MouseGlow(self) self.MouseGlow = UF:Construct_MouseGlow(self)
self.TargetGlow = UF:Construct_TargetGlow(self) self.TargetGlow = UF:Construct_TargetGlow(self)
self.Name = UF:Construct_NameText(self) self.Name = UF:Construct_NameText(self)
@@ -223,6 +224,8 @@ function UF:Update_PartyFrames(frame, db)
UF:Configure_GPS(frame) UF:Configure_GPS(frame)
UF:Configure_RaidRoleIcons(frame)
UF:UpdateAuraWatch(frame) UF:UpdateAuraWatch(frame)
UF:Configure_CustomTexts(frame) UF:Configure_CustomTexts(frame)
+3
View File
@@ -38,6 +38,7 @@ function UF:Construct_RaidFrames()
self.AuraWatch = UF:Construct_AuraWatch(self) self.AuraWatch = UF:Construct_AuraWatch(self)
self.RaidDebuffs = UF:Construct_RaidDebuffs(self) self.RaidDebuffs = UF:Construct_RaidDebuffs(self)
self.DebuffHighlight = UF:Construct_DebuffHighlight(self) self.DebuffHighlight = UF:Construct_DebuffHighlight(self)
self.RaidRoleFramesAnchor = UF:Construct_RaidRoleFrames(self)
self.MouseGlow = UF:Construct_MouseGlow(self) self.MouseGlow = UF:Construct_MouseGlow(self)
self.TargetGlow = UF:Construct_TargetGlow(self) self.TargetGlow = UF:Construct_TargetGlow(self)
self.InfoPanel = UF:Construct_InfoPanel(self) self.InfoPanel = UF:Construct_InfoPanel(self)
@@ -155,6 +156,8 @@ function UF:Update_RaidFrames(frame, db)
UF:Configure_GPS(frame) UF:Configure_GPS(frame)
UF:Configure_RaidRoleIcons(frame)
UF:Configure_Range(frame) UF:Configure_Range(frame)
UF:UpdateAuraWatch(frame) UF:UpdateAuraWatch(frame)
@@ -38,6 +38,7 @@ function UF:Construct_Raid40Frames()
self.AuraWatch = UF:Construct_AuraWatch(self) self.AuraWatch = UF:Construct_AuraWatch(self)
self.RaidDebuffs = UF:Construct_RaidDebuffs(self) self.RaidDebuffs = UF:Construct_RaidDebuffs(self)
self.DebuffHighlight = UF:Construct_DebuffHighlight(self) self.DebuffHighlight = UF:Construct_DebuffHighlight(self)
self.RaidRoleFramesAnchor = UF:Construct_RaidRoleFrames(self)
self.MouseGlow = UF:Construct_MouseGlow(self) self.MouseGlow = UF:Construct_MouseGlow(self)
self.TargetGlow = UF:Construct_TargetGlow(self) self.TargetGlow = UF:Construct_TargetGlow(self)
self.InfoPanel = UF:Construct_InfoPanel(self) self.InfoPanel = UF:Construct_InfoPanel(self)
@@ -156,6 +157,8 @@ function UF:Update_Raid40Frames(frame, db)
UF:Configure_GPS(frame) UF:Configure_GPS(frame)
UF:Configure_RaidRoleIcons(frame)
UF:Configure_Range(frame) UF:Configure_Range(frame)
UF:UpdateAuraWatch(frame) UF:UpdateAuraWatch(frame)
@@ -38,6 +38,7 @@ function UF:Construct_PlayerFrame(frame)
frame.MouseGlow = self:Construct_MouseGlow(frame) frame.MouseGlow = self:Construct_MouseGlow(frame)
frame.TargetGlow = self:Construct_TargetGlow(frame) frame.TargetGlow = self:Construct_TargetGlow(frame)
frame.RaidTargetIndicator = self:Construct_RaidIcon(frame) frame.RaidTargetIndicator = self:Construct_RaidIcon(frame)
frame.RaidRoleFramesAnchor = self:Construct_RaidRoleFrames(frame)
frame.RestingIndicator = self:Construct_RestingIndicator(frame) frame.RestingIndicator = self:Construct_RestingIndicator(frame)
frame.CombatIndicator = self:Construct_CombatIndicator(frame) frame.CombatIndicator = self:Construct_CombatIndicator(frame)
frame.PvPText = self:Construct_PvPIndicator(frame) frame.PvPText = self:Construct_PvPIndicator(frame)
@@ -136,6 +137,8 @@ function UF:Update_PlayerFrame(frame, db)
UF:Configure_PVPIcon(frame) UF:Configure_PVPIcon(frame)
UF:Configure_RaidRoleIcons(frame)
UF:Configure_CustomTexts(frame) UF:Configure_CustomTexts(frame)
E:SetMoverSnapOffset(frame:GetName().."Mover", -(12 + db.castbar.height)) E:SetMoverSnapOffset(frame:GetName().."Mover", -(12 + db.castbar.height))
+163 -212
View File
@@ -8,19 +8,21 @@ P["general"] = {
["messageRedirect"] = DEFAULT_CHAT_FRAME:GetName(), ["messageRedirect"] = DEFAULT_CHAT_FRAME:GetName(),
["stickyFrames"] = true, ["stickyFrames"] = true,
["loginmessage"] = true, ["loginmessage"] = true,
["interruptAnnounce"] = "NONE",
["autoRepair"] = "NONE", ["autoRepair"] = "NONE",
["autoRoll"] = false, ["autoRoll"] = false,
["autoAcceptInvite"] = false, ["autoAcceptInvite"] = false,
["bottomPanel"] = true, ["bottomPanel"] = true,
["hideErrorFrame"] = true, ["hideErrorFrame"] = true,
["enhancedPvpMessages"] = true,
["watchFrameHeight"] = 480, ["watchFrameHeight"] = 480,
["afk"] = true, ["afk"] = true,
["enhancedPvpMessages"] = true,
["numberPrefixStyle"] = "ENGLISH", ["numberPrefixStyle"] = "ENGLISH",
["decimalLength"] = 1, ["decimalLength"] = 1,
["fontSize"] = 12, ["fontSize"] = 12,
["font"] = "PT Sans Narrow", ["font"] = "PT Sans Narrow",
["fontStyle"] = "NONE",
["bordercolor"] = {r = 0, g = 0, b = 0}, ["bordercolor"] = {r = 0, g = 0, b = 0},
["backdropcolor"] = {r = 0.1, g = 0.1, b = 0.1}, ["backdropcolor"] = {r = 0.1, g = 0.1, b = 0.1},
@@ -40,7 +42,7 @@ P["general"] = {
["locationFont"] = "PT Sans Narrow", ["locationFont"] = "PT Sans Narrow",
["resetZoom"] = { ["resetZoom"] = {
["enable"] = false, ["enable"] = false,
["time"] = 3, ["time"] = 3
}, },
["icons"] = { ["icons"] = {
["calendar"] = { ["calendar"] = {
@@ -61,46 +63,42 @@ P["general"] = {
["position"] = "BOTTOMRIGHT", ["position"] = "BOTTOMRIGHT",
["xOffset"] = 3, ["xOffset"] = 3,
["yOffset"] = 0, ["yOffset"] = 0,
},
["difficulty"] = {
["scale"] = 1,
["position"] = "TOPLEFT",
["xOffset"] = 0,
["yOffset"] = 0,
} }
} }
} }
} }
-- Data Bars --DataBars
P["databars"] = { P["databars"] = {
["experience"] = { ["experience"] = {
["enable"] = true, ["enable"] = true,
["width"] = 10, ["width"] = 10,
["height"] = 180, ["height"] = 180,
["textFormat"] = "NONE", ["textFormat"] = "NONE",
["textSize"] = 12, ["textSize"] = 11,
["font"] = "PT Sans Narrow", ["font"] = "PT Sans Narrow",
["fontOutline"] = "NONE", ["fontOutline"] = "NONE",
["mouseover"] = false, ["mouseover"] = false,
["orientation"] = "VERTICAL", ["orientation"] = "VERTICAL",
["hideAtMaxLevel"] = true, ["hideAtMaxLevel"] = true,
["hideInCombat"] = false
}, },
["reputation"] = { ["reputation"] = {
["enable"] = true, ["enable"] = false,
["width"] = 10, ["width"] = 10,
["height"] = 180, ["height"] = 180,
["textFormat"] = "NONE", ["textFormat"] = "NONE",
["textSize"] = 12, ["textSize"] = 11,
["font"] = "PT Sans Narrow", ["font"] = "PT Sans Narrow",
["fontOutline"] = "NONE", ["fontOutline"] = "NONE",
["mouseover"] = false, ["mouseover"] = false,
["orientation"] = "VERTICAL", ["orientation"] = "VERTICAL",
}, ["hideInCombat"] = false
}
} }
--Bags --Bags
P["bags"] = { P["bags"] = {
["sortInverted"] = true, ["sortInverted"] = true,
["bagSize"] = 34, ["bagSize"] = 34,
["bankSize"] = 34, ["bankSize"] = 34,
@@ -198,8 +196,9 @@ P["databars"] = {
["mouseover"] = false, ["mouseover"] = false,
["visibility"] = "", ["visibility"] = "",
} }
} }
--NamePlate
P["nameplates"] = { P["nameplates"] = {
["statusbar"] = "ElvUI Norm", ["statusbar"] = "ElvUI Norm",
["font"] = "PT Sans Narrow", ["font"] = "PT Sans Narrow",
@@ -217,7 +216,7 @@ P["nameplates"] = {
["stackFontOutline"] = "OUTLINE", ["stackFontOutline"] = "OUTLINE",
["useTargetScale"] = true, ["useTargetScale"] = true,
["targetScale"] = 1.15, ["targetScale"] = 1.15,
["nonTargetTransparency"] = 0.35, ["nonTargetTransparency"] = 0.40,
["motionType"] = "OVERLAP", ["motionType"] = "OVERLAP",
["lowHealthThreshold"] = 0.4, ["lowHealthThreshold"] = 0.4,
["showFriendlyCombat"] = "DISABLED", ["showFriendlyCombat"] = "DISABLED",
@@ -256,12 +255,21 @@ P["nameplates"] = {
["badScale"] = 1.2, ["badScale"] = 1.2,
["useThreatColor"] = true, ["useThreatColor"] = true,
}, },
["comboBar"] = {
["colors"] = {
[1] = {r = 0.69, g = 0.31, b = 0.31},
[2] = {r = 0.69, g = 0.31, b = 0.31},
[3] = {r = 0.65, g = 0.63, b = 0.35},
[4] = {r = 0.65, g = 0.63, b = 0.35},
[5] = {r = 0.33, g = 0.59, b = 0.33}
}
},
["filters"] = { ["filters"] = {
["Boss"] = { ["Boss"] = {
["triggers"] = { ["triggers"] = {
["enable"] = true, ["enable"] = false,
}, }
}, }
}, },
["clickableWidth"] = 150, ["clickableWidth"] = 150,
@@ -304,7 +312,7 @@ P["nameplates"] = {
["minDuration"] = 0, ["minDuration"] = 0,
["maxDuration"] = 0, ["maxDuration"] = 0,
["priority"] = "Blacklist,blockNoDuration,Personal,TurtleBuffs" --NamePlate FriendlyPlayer Buffs ["priority"] = "Blacklist,blockNoDuration,Personal,TurtleBuffs" --NamePlate FriendlyPlayer Buffs
}, }
}, },
["debuffs"] = { ["debuffs"] = {
["enable"] = true, ["enable"] = true,
@@ -314,14 +322,22 @@ P["nameplates"] = {
["minDuration"] = 0, ["minDuration"] = 0,
["maxDuration"] = 0, ["maxDuration"] = 0,
["priority"] = "Blacklist,blockNoDuration,Personal,CCDebuffs" --NamePlate FriendlyPlayer Debuffs ["priority"] = "Blacklist,blockNoDuration,Personal,CCDebuffs" --NamePlate FriendlyPlayer Debuffs
}, }
}, },
["name"] = { ["name"] = {
["useClassColor"] = true, ["useClassColor"] = true,
}, }
}, },
["ENEMY_PLAYER"] = { ["ENEMY_PLAYER"] = {
["markHealers"] = true, ["markHealers"] = true,
["comboPoints"] = {
["enable"] = true,
["width"] = 8,
["height"] = 4,
["spacing"] = 5,
["xOffset"] = 0,
["yOffset"] = 0
},
["healthbar"] = { ["healthbar"] = {
["enable"] = true, ["enable"] = true,
["height"] = 10, ["height"] = 10,
@@ -352,9 +368,9 @@ P["nameplates"] = {
["baseHeight"] = 18, ["baseHeight"] = 18,
["filters"] = { ["filters"] = {
["minDuration"] = 0, ["minDuration"] = 0,
["maxDuration"] = 0, ["maxDuration"] = 120,
["priority"] = "Blacklist,PlayerBuffs,TurtleBuffs" --NamePlate EnemyPlayer Buffs ["priority"] = "Blacklist,PlayerBuffs,TurtleBuffs" --NamePlate EnemyPlayer Buffs
}, }
}, },
["debuffs"] = { ["debuffs"] = {
["enable"] = true, ["enable"] = true,
@@ -364,11 +380,11 @@ P["nameplates"] = {
["minDuration"] = 0, ["minDuration"] = 0,
["maxDuration"] = 0, ["maxDuration"] = 0,
["priority"] = "Blacklist,blockNoDuration,Personal,CCDebuffs,RaidDebuffs" --NamePlate EnemyPlayer Debuffs ["priority"] = "Blacklist,blockNoDuration,Personal,CCDebuffs,RaidDebuffs" --NamePlate EnemyPlayer Debuffs
}, }
}, },
["name"] = { ["name"] = {
["useClassColor"] = true, ["useClassColor"] = true,
}, }
}, },
["FRIENDLY_NPC"] = { ["FRIENDLY_NPC"] = {
["healthbar"] = { ["healthbar"] = {
@@ -402,7 +418,7 @@ P["nameplates"] = {
["minDuration"] = 0, ["minDuration"] = 0,
["maxDuration"] = 0, ["maxDuration"] = 0,
["priority"] = "Blacklist,blockNoDuration,Personal,TurtleBuffs" --NamePlate FriendlyNPC Buffs ["priority"] = "Blacklist,blockNoDuration,Personal,TurtleBuffs" --NamePlate FriendlyNPC Buffs
}, }
}, },
["debuffs"] = { ["debuffs"] = {
["enable"] = true, ["enable"] = true,
@@ -412,7 +428,7 @@ P["nameplates"] = {
["minDuration"] = 0, ["minDuration"] = 0,
["maxDuration"] = 0, ["maxDuration"] = 0,
["priority"] = "Blacklist,CCDebuffs,RaidDebuffs" --NamePlate FriendlyNPC Debuffs ["priority"] = "Blacklist,CCDebuffs,RaidDebuffs" --NamePlate FriendlyNPC Debuffs
}, }
}, },
["eliteIcon"] = { ["eliteIcon"] = {
["enable"] = false, ["enable"] = false,
@@ -420,9 +436,17 @@ P["nameplates"] = {
["position"] = "RIGHT", ["position"] = "RIGHT",
["xOffset"] = 15, ["xOffset"] = 15,
["yOffset"] = 0, ["yOffset"] = 0,
}, }
}, },
["ENEMY_NPC"] = { ["ENEMY_NPC"] = {
["comboPoints"] = {
["enable"] = true,
["width"] = 8,
["height"] = 4,
["spacing"] = 5,
["xOffset"] = 0,
["yOffset"] = 0
},
["healthbar"] = { ["healthbar"] = {
["enable"] = true, ["enable"] = true,
["height"] = 10, ["height"] = 10,
@@ -431,7 +455,7 @@ P["nameplates"] = {
["text"] = { ["text"] = {
["enable"] = false, ["enable"] = false,
["format"] = "CURRENT", ["format"] = "CURRENT",
}, }
}, },
["showName"] = true, ["showName"] = true,
["showLevel"] = true, ["showLevel"] = true,
@@ -454,7 +478,7 @@ P["nameplates"] = {
["minDuration"] = 0, ["minDuration"] = 0,
["maxDuration"] = 0, ["maxDuration"] = 0,
["priority"] = "Blacklist,blockNoDuration,PlayerBuffs,TurtleBuffs" --NamePlate EnemyNPC Buffs ["priority"] = "Blacklist,blockNoDuration,PlayerBuffs,TurtleBuffs" --NamePlate EnemyNPC Buffs
}, }
}, },
["debuffs"] = { ["debuffs"] = {
["enable"] = true, ["enable"] = true,
@@ -464,7 +488,7 @@ P["nameplates"] = {
["minDuration"] = 0, ["minDuration"] = 0,
["maxDuration"] = 0, ["maxDuration"] = 0,
["priority"] = "Blacklist,Personal,CCDebuffs" --NamePlate EnemyNPC Debuffs ["priority"] = "Blacklist,Personal,CCDebuffs" --NamePlate EnemyNPC Debuffs
}, }
}, },
["eliteIcon"] = { ["eliteIcon"] = {
["enable"] = false, ["enable"] = false,
@@ -472,10 +496,10 @@ P["nameplates"] = {
["position"] = "RIGHT", ["position"] = "RIGHT",
["xOffset"] = 15, ["xOffset"] = 15,
["yOffset"] = 0, ["yOffset"] = 0,
}, }
}, }
}, }
}; }
--Auras --Auras
P["auras"] = { P["auras"] = {
@@ -524,11 +548,11 @@ P["chat"] = {
["fontOutline"] = "NONE", ["fontOutline"] = "NONE",
["sticky"] = true, ["sticky"] = true,
["keywordSound"] = "None", ["keywordSound"] = "None",
["whisperSound"] = "Whisper Alert", ["whisperSound"] = "ElvUI Aska",
["noAlertInCombat"] = false, ["noAlertInCombat"] = false,
["chatHistory"] = true, ["chatHistory"] = true,
["timeStampFormat"] = "NONE", ["timeStampFormat"] = "NONE",
["keywords"] = "ElvUI", ["keywords"] = "%MYNAME%, ElvUI",
["separateSizes"] = false, ["separateSizes"] = false,
["panelWidth"] = 412, ["panelWidth"] = 412,
["panelHeight"] = 180, ["panelHeight"] = 180,
@@ -544,7 +568,7 @@ P["chat"] = {
["fadeTabsNoBackdrop"] = true, ["fadeTabsNoBackdrop"] = true,
["useAltKey"] = false, ["useAltKey"] = false,
["classColorMentionsChat"] = true, ["classColorMentionsChat"] = true,
["numAllowedCombatRepeat"] = 5, ["numAllowedCombatRepeat"] = 3,
["useCustomTimeColor"] = true, ["useCustomTimeColor"] = true,
["customTimeColor"] = {r = 0.7, g = 0.7, b = 0.7}, ["customTimeColor"] = {r = 0.7, g = 0.7, b = 0.7},
["numScrollMessages"] = 3, ["numScrollMessages"] = 3,
@@ -613,6 +637,7 @@ P["tooltip"] = {
["itemPrice"] = true, ["itemPrice"] = true,
["itemCount"] = "BAGS_ONLY", ["itemCount"] = "BAGS_ONLY",
["spellID"] = true, ["spellID"] = true,
["itemLevel"] = true,
["font"] = "PT Sans Narrow", ["font"] = "PT Sans Narrow",
["fontOutline"] = "NONE", ["fontOutline"] = "NONE",
["headerFontSize"] = 12, ["headerFontSize"] = 12,
@@ -631,7 +656,7 @@ P["tooltip"] = {
["font"] = "Homespun", ["font"] = "Homespun",
["fontSize"] = 10, ["fontSize"] = 10,
["fontOutline"] = "OUTLINE", ["fontOutline"] = "OUTLINE",
["statusPosition"] = "BOTTOM", ["statusPosition"] = "BOTTOM"
}, },
["useCustomFactionColors"] = false, ["useCustomFactionColors"] = false,
["factionColors"] = { ["factionColors"] = {
@@ -642,10 +667,11 @@ P["tooltip"] = {
[5] = {r = 0, g = 0.6, b = 0.1}, [5] = {r = 0, g = 0.6, b = 0.1},
[6] = {r = 0, g = 0.6, b = 0.1}, [6] = {r = 0, g = 0.6, b = 0.1},
[7] = {r = 0, g = 0.6, b = 0.1}, [7] = {r = 0, g = 0.6, b = 0.1},
[8] = {r = 0, g = 0.6, b = 0.1}, [8] = {r = 0, g = 0.6, b = 0.1}
} }
} }
--UnitFrames
P["unitframe"] = { P["unitframe"] = {
["smoothbars"] = false, ["smoothbars"] = false,
["smoothSpeed"] = 0.3, ["smoothSpeed"] = 0.3,
@@ -691,11 +717,15 @@ P["unitframe"] = {
["customhealthbackdrop"] = false, ["customhealthbackdrop"] = false,
["useDeadBackdrop"] = false, ["useDeadBackdrop"] = false,
["classbackdrop"] = false, ["classbackdrop"] = false,
["healthmultiplier"] = 0.6, ["healthmultiplier"] = 0,
["bgUseBarTexture"] = false, ["bgUseBarTexture"] = false,
["auraBarByType"] = true,
["auraBarTurtle"] = true,
["auraBarTurtleColor"] = {r = 143/255, g = 101/255, b = 158/255},
["transparentHealth"] = false, ["transparentHealth"] = false,
["transparentPower"] = false, ["transparentPower"] = false,
["transparentCastbar"] = false, ["transparentCastbar"] = false,
["transparentAurabars"] = false,
["castColor"] = {r = .31, g = .31, b = .31}, ["castColor"] = {r = .31, g = .31, b = .31},
["castClassColor"] = false, ["castClassColor"] = false,
["castReactionColor"] = false, ["castReactionColor"] = false,
@@ -705,6 +735,8 @@ P["unitframe"] = {
["health_backdrop_dead"] = {r = .8, g = .01, b = .01}, ["health_backdrop_dead"] = {r = .8, g = .01, b = .01},
["tapped"] = {r = 0.55, g = 0.57, b = 0.61}, ["tapped"] = {r = 0.55, g = 0.57, b = 0.61},
["disconnected"] = {r = 0.84, g = 0.75, b = 0.65}, ["disconnected"] = {r = 0.84, g = 0.75, b = 0.65},
["auraBarBuff"] = {r = .31, g = .31, b = .31},
["auraBarDebuff"] = {r = 0.8, g = 0.1, b = 0.1},
["power"] = { ["power"] = {
["MANA"] = {r = 0.31, g = 0.45, b = 0.63}, ["MANA"] = {r = 0.31, g = 0.45, b = 0.63},
["RAGE"] = {r = 0.78, g = 0.25, b = 0.25}, ["RAGE"] = {r = 0.78, g = 0.25, b = 0.25},
@@ -827,6 +859,10 @@ P["unitframe"] = {
["size"] = 22, ["size"] = 22,
["texture"] = "DEFAULT" ["texture"] = "DEFAULT"
}, },
["raidRoleIcons"] = {
["enable"] = true,
["position"] = "TOPLEFT"
},
["CombatIcon"] = { ["CombatIcon"] = {
["enable"] = true, ["enable"] = true,
["defaultColor"] = true, ["defaultColor"] = true,
@@ -884,6 +920,7 @@ P["unitframe"] = {
["useBlacklist"] = true, ["useBlacklist"] = true,
["useWhitelist"] = false, ["useWhitelist"] = false,
["noDuration"] = false, ["noDuration"] = false,
["onlyDispellable"] = false,
["useFilter"] = "", ["useFilter"] = "",
["xOffset"] = 0, ["xOffset"] = 0,
["yOffset"] = 0 ["yOffset"] = 0
@@ -1036,12 +1073,13 @@ P["unitframe"] = {
["fontSize"] = 10, ["fontSize"] = 10,
["clickThrough"] = false, ["clickThrough"] = false,
["minDuration"] = 0, ["minDuration"] = 0,
["maxDuration"] = 300, ["maxDuration"] = 0,
["sortMethod"] = "TIME_REMAINING", ["sortMethod"] = "TIME_REMAINING",
["sortDirection"] = "DESCENDING", ["sortDirection"] = "DESCENDING",
["useBlacklist"] = {friendly = true, enemy = true}, ["useBlacklist"] = {friendly = true, enemy = true},
["useWhitelist"] = {friendly = false, enemy = false}, ["useWhitelist"] = {friendly = false, enemy = false},
["noDuration"] = {friendly = false, enemy = false}, ["noDuration"] = {friendly = false, enemy = false},
["onlyDispellable"] = {friendly = false, enemy = false},
["useFilter"] = "", ["useFilter"] = "",
["xOffset"] = 0, ["xOffset"] = 0,
["yOffset"] = 0 ["yOffset"] = 0
@@ -1156,7 +1194,7 @@ P["unitframe"] = {
["fontSize"] = 10, ["fontSize"] = 10,
["clickThrough"] = false, ["clickThrough"] = false,
["minDuration"] = 0, ["minDuration"] = 0,
["maxDuration"] = 300, ["maxDuration"] = 0,
["sortMethod"] = "TIME_REMAINING", ["sortMethod"] = "TIME_REMAINING",
["sortDirection"] = "DESCENDING", ["sortDirection"] = "DESCENDING",
["useBlacklist"] = {friendly = true, enemy = true}, ["useBlacklist"] = {friendly = true, enemy = true},
@@ -1175,12 +1213,13 @@ P["unitframe"] = {
["fontSize"] = 10, ["fontSize"] = 10,
["clickThrough"] = false, ["clickThrough"] = false,
["minDuration"] = 0, ["minDuration"] = 0,
["maxDuration"] = 300, ["maxDuration"] = 0,
["sortMethod"] = "TIME_REMAINING", ["sortMethod"] = "TIME_REMAINING",
["sortDirection"] = "DESCENDING", ["sortDirection"] = "DESCENDING",
["useBlacklist"] = {friendly = true, enemy = true}, ["useBlacklist"] = {friendly = true, enemy = true},
["useWhitelist"] = {friendly = false, enemy = false}, ["useWhitelist"] = {friendly = false, enemy = false},
["noDuration"] = {friendly = false, enemy = false}, ["noDuration"] = {friendly = false, enemy = false},
["onlyDispellable"] = {friendly = false, enemy = false},
["useFilter"] = "", ["useFilter"] = "",
["xOffset"] = 0, ["xOffset"] = 0,
["yOffset"] = 0 ["yOffset"] = 0
@@ -1248,7 +1287,7 @@ P["unitframe"] = {
["fontSize"] = 10, ["fontSize"] = 10,
["clickThrough"] = false, ["clickThrough"] = false,
["minDuration"] = 0, ["minDuration"] = 0,
["maxDuration"] = 300, ["maxDuration"] = 0,
["sortMethod"] = "TIME_REMAINING", ["sortMethod"] = "TIME_REMAINING",
["sortDirection"] = "DESCENDING", ["sortDirection"] = "DESCENDING",
["useBlacklist"] = {friendly = true, enemy = true}, ["useBlacklist"] = {friendly = true, enemy = true},
@@ -1267,12 +1306,13 @@ P["unitframe"] = {
["fontSize"] = 10, ["fontSize"] = 10,
["clickThrough"] = false, ["clickThrough"] = false,
["minDuration"] = 0, ["minDuration"] = 0,
["maxDuration"] = 300, ["maxDuration"] = 0,
["sortMethod"] = "TIME_REMAINING", ["sortMethod"] = "TIME_REMAINING",
["sortDirection"] = "DESCENDING", ["sortDirection"] = "DESCENDING",
["useBlacklist"] = {friendly = true, enemy = true}, ["useBlacklist"] = {friendly = true, enemy = true},
["useWhitelist"] = {friendly = false, enemy = false}, ["useWhitelist"] = {friendly = false, enemy = false},
["noDuration"] = {friendly = false, enemy = false}, ["noDuration"] = {friendly = false, enemy = false},
["onlyDispellable"] = {friendly = false, enemy = false},
["useFilter"] = "", ["useFilter"] = "",
["xOffset"] = 0, ["xOffset"] = 0,
["yOffset"] = 0 ["yOffset"] = 0
@@ -1484,12 +1524,13 @@ P["unitframe"] = {
["fontSize"] = 10, ["fontSize"] = 10,
["clickThrough"] = false, ["clickThrough"] = false,
["minDuration"] = 0, ["minDuration"] = 0,
["maxDuration"] = 300, ["maxDuration"] = 0,
["sortMethod"] = "TIME_REMAINING", ["sortMethod"] = "TIME_REMAINING",
["sortDirection"] = "DESCENDING", ["sortDirection"] = "DESCENDING",
["useBlacklist"] = {friendly = true, enemy = true}, ["useBlacklist"] = {friendly = true, enemy = true},
["useWhitelist"] = {friendly = false, enemy = false}, ["useWhitelist"] = {friendly = false, enemy = false},
["noDuration"] = {friendly = false, enemy = false}, ["noDuration"] = {friendly = false, enemy = false},
["onlyDispellable"] = {friendly = false, enemy = false},
["useFilter"] = "", ["useFilter"] = "",
["xOffset"] = 0, ["xOffset"] = 0,
["yOffset"] = 0 ["yOffset"] = 0
@@ -1565,7 +1606,7 @@ P["unitframe"] = {
["sortDirection"] = "DESCENDING", ["sortDirection"] = "DESCENDING",
["clickThrough"] = false, ["clickThrough"] = false,
["minDuration"] = 0, ["minDuration"] = 0,
["maxDuration"] = 300, ["maxDuration"] = 0,
["useBlacklist"] = true, ["useBlacklist"] = true,
["useWhitelist"] = false, ["useWhitelist"] = false,
["noDuration"] = true, ["noDuration"] = true,
@@ -1584,10 +1625,11 @@ P["unitframe"] = {
["sortDirection"] = "DESCENDING", ["sortDirection"] = "DESCENDING",
["clickThrough"] = false, ["clickThrough"] = false,
["minDuration"] = 0, ["minDuration"] = 0,
["maxDuration"] = 300, ["maxDuration"] = 0,
["useBlacklist"] = true, ["useBlacklist"] = true,
["useWhitelist"] = false, ["useWhitelist"] = false,
["noDuration"] = false, ["noDuration"] = false,
["onlyDispellable"] = false,
["useFilter"] = "", ["useFilter"] = "",
["xOffset"] = 0, ["xOffset"] = 0,
["yOffset"] = 0 ["yOffset"] = 0
@@ -1673,7 +1715,7 @@ P["unitframe"] = {
["fontSize"] = 10, ["fontSize"] = 10,
["clickThrough"] = false, ["clickThrough"] = false,
["minDuration"] = 0, ["minDuration"] = 0,
["maxDuration"] = 300, ["maxDuration"] = 0,
["sortMethod"] = "TIME_REMAINING", ["sortMethod"] = "TIME_REMAINING",
["sortDirection"] = "DESCENDING", ["sortDirection"] = "DESCENDING",
["useBlacklist"] = {friendly = true, enemy = true}, ["useBlacklist"] = {friendly = true, enemy = true},
@@ -1692,136 +1734,18 @@ P["unitframe"] = {
["fontSize"] = 10, ["fontSize"] = 10,
["clickThrough"] = false, ["clickThrough"] = false,
["minDuration"] = 0, ["minDuration"] = 0,
["maxDuration"] = 300, ["maxDuration"] = 0,
["sortMethod"] = "TIME_REMAINING", ["sortMethod"] = "TIME_REMAINING",
["sortDirection"] = "DESCENDING", ["sortDirection"] = "DESCENDING",
["useBlacklist"] = {friendly = true, enemy = true}, ["useBlacklist"] = {friendly = true, enemy = true},
["useWhitelist"] = {friendly = false, enemy = false}, ["useWhitelist"] = {friendly = false, enemy = false},
["noDuration"] = {friendly = false, enemy = false}, ["noDuration"] = {friendly = false, enemy = false},
["onlyDispellable"] = {friendly = false, enemy = false},
["useFilter"] = "", ["useFilter"] = "",
["xOffset"] = 0, ["xOffset"] = 0,
["yOffset"] = 0 ["yOffset"] = 0
} }
}, },
["arena"] = {
["enable"] = true,
["rangeCheck"] = true,
["growthDirection"] = "DOWN",
["orientation"] = "RIGHT",
["smartAuraPosition"] = "DISABLED",
["spacing"] = 25,
["width"] = 246,
["height"] = 47,
["healPrediction"] = true,
["colorOverride"] = "USE_DEFAULT",
["disableMouseoverGlow"] = false,
["disableTargetGlow"] = false,
["health"] = {
["text_format"] = "[healthcolor][health:current]",
["position"] = "LEFT",
["yOffset"] = 0,
["xOffset"] = 2,
["attachTextTo"] = "Health"
},
["power"] = {
["enable"] = true,
["text_format"] = "[powercolor][power:current]",
["width"] = "fill",
["height"] = 7,
["offset"] = 0,
["attachTextTo"] = "Health",
["position"] = "RIGHT",
["hideonnpc"] = false,
["yOffset"] = 0,
["xOffset"] = -2
},
["infoPanel"] = {
["enable"] = false,
["height"] = 12,
["transparent"] = false
},
["name"] = {
["position"] = "CENTER",
["text_format"] = "[namecolor][name:medium]",
["yOffset"] = 0,
["xOffset"] = 0,
["attachTextTo"] = "Health"
},
["portrait"] = {
["enable"] = false,
["width"] = 35,
["overlay"] = false,
["style"] = "3D"
},
["buffs"] = {
["enable"] = true,
["perrow"] = 3,
["numrows"] = 1,
["attachTo"] = "FRAME",
["anchorPoint"] = "LEFT",
["fontSize"] = 10,
["clickThrough"] = false,
["minDuration"] = 0,
["maxDuration"] = 300,
["sortMethod"] = "TIME_REMAINING",
["sortDirection"] = "DESCENDING",
["useBlacklist"] = {friendly = false, enemy = false},
["useWhitelist"] = {friendly = false, enemy = false},
["noDuration"] = {friendly = false, enemy = false},
["useFilter"] = "TurtleBuffs",
["sizeOverride"] = 27,
["xOffset"] = 0,
["yOffset"] = 16
},
["debuffs"] = {
["enable"] = true,
["perrow"] = 3,
["numrows"] = 1,
["attachTo"] = "FRAME",
["anchorPoint"] = "LEFT",
["fontSize"] = 10,
["clickThrough"] = false,
["minDuration"] = 0,
["maxDuration"] = 300,
["sortMethod"] = "TIME_REMAINING",
["sortDirection"] = "DESCENDING",
["useBlacklist"] = {friendly = false, enemy = false},
["useWhitelist"] = {friendly = false, enemy = false},
["noDuration"] = {friendly = false, enemy = false},
["useFilter"] = "CCDebuffs",
["sizeOverride"] = 27,
["xOffset"] = 0,
["yOffset"] = -16
},
["castbar"] = {
["enable"] = true,
["width"] = 240,
["height"] = 18,
["icon"] = true,
["format"] = "REMAINING",
["spark"] = true,
["iconSize"] = 32,
["iconAttached"] = true,
["insideInfoPanel"] = true,
["iconAttachedTo"] = "Frame",
["iconPosition"] = "LEFT",
["iconXOffset"] = -10,
["iconYOffset"] = 0,
["strataAndLevel"] = {
["useCustomStrata"] = false,
["frameStrata"] = "LOW",
["useCustomLevel"] = false,
["frameLevel"] = 1
}
},
["pvpTrinket"] = {
["enable"] = true,
["position"] = "RIGHT",
["size"] = 46,
["xOffset"] = 1,
["yOffset"] = 0
}
},
["party"] = { ["party"] = {
["enable"] = true, ["enable"] = true,
["rangeCheck"] = true, ["rangeCheck"] = true,
@@ -1897,7 +1821,7 @@ P["unitframe"] = {
["countFontSize"] = 10, ["countFontSize"] = 10,
["clickThrough"] = false, ["clickThrough"] = false,
["minDuration"] = 0, ["minDuration"] = 0,
["maxDuration"] = 300, ["maxDuration"] = 0,
["useBlacklist"] = true, ["useBlacklist"] = true,
["useWhitelist"] = false, ["useWhitelist"] = false,
["noDuration"] = true, ["noDuration"] = true,
@@ -1917,10 +1841,11 @@ P["unitframe"] = {
["sortDirection"] = "DESCENDING", ["sortDirection"] = "DESCENDING",
["clickThrough"] = false, ["clickThrough"] = false,
["minDuration"] = 0, ["minDuration"] = 0,
["maxDuration"] = 300, ["maxDuration"] = 0,
["useBlacklist"] = true, ["useBlacklist"] = true,
["useWhitelist"] = false, ["useWhitelist"] = false,
["noDuration"] = false, ["noDuration"] = false,
["onlyDispellable"] = false,
["useFilter"] = "", ["useFilter"] = "",
["xOffset"] = 0, ["xOffset"] = 0,
["yOffset"] = 0, ["yOffset"] = 0,
@@ -1975,6 +1900,10 @@ P["unitframe"] = {
["frameLevel"] = 1 ["frameLevel"] = 1
} }
}, },
["raidRoleIcons"] = {
["enable"] = true,
["position"] = "TOPLEFT"
},
["petsGroup"] = { ["petsGroup"] = {
["enable"] = false, ["enable"] = false,
["width"] = 100, ["width"] = 100,
@@ -2115,7 +2044,7 @@ P["unitframe"] = {
["sortDirection"] = "DESCENDING", ["sortDirection"] = "DESCENDING",
["clickThrough"] = false, ["clickThrough"] = false,
["minDuration"] = 0, ["minDuration"] = 0,
["maxDuration"] = 300, ["maxDuration"] = 0,
["useBlacklist"] = true, ["useBlacklist"] = true,
["useWhitelist"] = false, ["useWhitelist"] = false,
["noDuration"] = true, ["noDuration"] = true,
@@ -2135,10 +2064,11 @@ P["unitframe"] = {
["sortDirection"] = "DESCENDING", ["sortDirection"] = "DESCENDING",
["clickThrough"] = false, ["clickThrough"] = false,
["minDuration"] = 0, ["minDuration"] = 0,
["maxDuration"] = 300, ["maxDuration"] = 0,
["useBlacklist"] = true, ["useBlacklist"] = true,
["useWhitelist"] = false, ["useWhitelist"] = false,
["noDuration"] = false, ["noDuration"] = false,
["onlyDispellable"] = false,
["useFilter"] = "", ["useFilter"] = "",
["xOffset"] = 0, ["xOffset"] = 0,
["yOffset"] = 0 ["yOffset"] = 0
@@ -2171,6 +2101,10 @@ P["unitframe"] = {
["color"] = {r = 1, g = 0.9, b = 0, a = 1} ["color"] = {r = 1, g = 0.9, b = 0, a = 1}
} }
}, },
["raidRoleIcons"] = {
["enable"] = true,
["position"] = "TOPLEFT"
},
["raidicon"] = { ["raidicon"] = {
["enable"] = true, ["enable"] = true,
["size"] = 18, ["size"] = 18,
@@ -2275,7 +2209,7 @@ P["unitframe"] = {
["sortDirection"] = "DESCENDING", ["sortDirection"] = "DESCENDING",
["clickThrough"] = false, ["clickThrough"] = false,
["minDuration"] = 0, ["minDuration"] = 0,
["maxDuration"] = 300, ["maxDuration"] = 0,
["useBlacklist"] = true, ["useBlacklist"] = true,
["useWhitelist"] = false, ["useWhitelist"] = false,
["noDuration"] = true, ["noDuration"] = true,
@@ -2295,10 +2229,11 @@ P["unitframe"] = {
["sortDirection"] = "DESCENDING", ["sortDirection"] = "DESCENDING",
["clickThrough"] = false, ["clickThrough"] = false,
["minDuration"] = 0, ["minDuration"] = 0,
["maxDuration"] = 300, ["maxDuration"] = 0,
["useBlacklist"] = true, ["useBlacklist"] = true,
["useWhitelist"] = false, ["useWhitelist"] = false,
["noDuration"] = false, ["noDuration"] = false,
["onlyDispellable"] = false,
["useFilter"] = "", ["useFilter"] = "",
["xOffset"] = 0, ["xOffset"] = 0,
["yOffset"] = 0 ["yOffset"] = 0
@@ -2325,6 +2260,10 @@ P["unitframe"] = {
["color"] = {r = 1, g = 0.9, b = 0, a = 1} ["color"] = {r = 1, g = 0.9, b = 0, a = 1}
} }
}, },
["raidRoleIcons"] = {
["enable"] = true,
["position"] = "TOPLEFT"
},
["buffIndicator"] = { ["buffIndicator"] = {
["enable"] = true, ["enable"] = true,
["size"] = 8, ["size"] = 8,
@@ -2445,6 +2384,7 @@ P["unitframe"] = {
["useBlacklist"] = true, ["useBlacklist"] = true,
["useWhitelist"] = false, ["useWhitelist"] = false,
["noDuration"] = false, ["noDuration"] = false,
["onlyDispellable"] = false,
["useFilter"] = "", ["useFilter"] = "",
["xOffset"] = 0, ["xOffset"] = 0,
["yOffset"] = 0 ["yOffset"] = 0
@@ -2539,6 +2479,7 @@ P["unitframe"] = {
["useBlacklist"] = false, ["useBlacklist"] = false,
["useWhitelist"] = false, ["useWhitelist"] = false,
["noDuration"] = false, ["noDuration"] = false,
["onlyDispellable"] = false,
["useFilter"] = "", ["useFilter"] = "",
["xOffset"] = 0, ["xOffset"] = 0,
["yOffset"] = 1 ["yOffset"] = 1
@@ -2658,6 +2599,7 @@ P["unitframe"] = {
["useBlacklist"] = false, ["useBlacklist"] = false,
["useWhitelist"] = false, ["useWhitelist"] = false,
["noDuration"] = false, ["noDuration"] = false,
["onlyDispellable"] = false,
["useFilter"] = "", ["useFilter"] = "",
["xOffset"] = 0, ["xOffset"] = 0,
["yOffset"] = 1 ["yOffset"] = 1
@@ -2726,6 +2668,7 @@ P["unitframe"] = {
} }
} }
--Cooldown
P["cooldown"] = { P["cooldown"] = {
threshold = 3, threshold = 3,
expiringColor = {r = 1, g = 0, b = 0}, expiringColor = {r = 1, g = 0, b = 0},
@@ -2745,6 +2688,22 @@ P["actionbar"] = {
["macrotext"] = false, ["macrotext"] = false,
["hotkeytext"] = true, ["hotkeytext"] = true,
["hotkeyTextPosition"] = "TOPRIGHT",
["hotkeyTextXOffset"] = 0,
["hotkeyTextYOffset"] = -3,
["countTextPosition"] = "BOTTOMRIGHT",
["countTextXOffset"] = 0,
["countTextYOffset"] = 2,
["keyDown"] = true,
["movementModifier"] = "SHIFT",
["globalFadeAlpha"] = 0,
["lockActionBars"] = true,
["rightClickSelfCast"] = false,
["desaturateOnCooldown"] = false,
["useRangeColorText"] = false,
["noRangeColor"] = {r = 0.8, g = 0.1, b = 0.1}, ["noRangeColor"] = {r = 0.8, g = 0.1, b = 0.1},
["noPowerColor"] = {r = 0.5, g = 0.5, b = 1}, ["noPowerColor"] = {r = 0.5, g = 0.5, b = 1},
["usableColor"] = {r = 1, g = 1, b = 1}, ["usableColor"] = {r = 1, g = 1, b = 1},
@@ -2771,14 +2730,15 @@ P["actionbar"] = {
["buttons"] = 12, ["buttons"] = 12,
["mouseover"] = false, ["mouseover"] = false,
["buttonsPerRow"] = 12, ["buttonsPerRow"] = 12,
["buttonsize"] = 32,
["buttonspacing"] = 2,
["backdropSpacing"] = 2,
["point"] = "BOTTOMLEFT", ["point"] = "BOTTOMLEFT",
["backdrop"] = false, ["backdrop"] = false,
["heightMult"] = 1, ["heightMult"] = 1,
["widthMult"] = 1, ["widthMult"] = 1,
["buttonsize"] = 32,
["buttonspacing"] = 2,
["backdropSpacing"] = 2,
["alpha"] = 1, ["alpha"] = 1,
["inheritGlobalFade"] = false,
["showGrid"] = true, ["showGrid"] = true,
}, },
["bar2"] = { ["bar2"] = {
@@ -2786,14 +2746,15 @@ P["actionbar"] = {
["mouseover"] = false, ["mouseover"] = false,
["buttons"] = 12, ["buttons"] = 12,
["buttonsPerRow"] = 12, ["buttonsPerRow"] = 12,
["buttonsize"] = 32,
["buttonspacing"] = 2,
["backdropSpacing"] = 2,
["point"] = "BOTTOMLEFT", ["point"] = "BOTTOMLEFT",
["backdrop"] = false, ["backdrop"] = false,
["heightMult"] = 1, ["heightMult"] = 1,
["widthMult"] = 1, ["widthMult"] = 1,
["buttonsize"] = 32,
["buttonspacing"] = 2,
["backdropSpacing"] = 2,
["alpha"] = 1, ["alpha"] = 1,
["inheritGlobalFade"] = false,
["showGrid"] = true, ["showGrid"] = true,
}, },
["bar3"] = { ["bar3"] = {
@@ -2801,14 +2762,15 @@ P["actionbar"] = {
["mouseover"] = false, ["mouseover"] = false,
["buttons"] = 6, ["buttons"] = 6,
["buttonsPerRow"] = 6, ["buttonsPerRow"] = 6,
["buttonsize"] = 32,
["buttonspacing"] = 2,
["backdropSpacing"] = 2,
["point"] = "BOTTOMLEFT", ["point"] = "BOTTOMLEFT",
["backdrop"] = false, ["backdrop"] = false,
["heightMult"] = 1, ["heightMult"] = 1,
["widthMult"] = 1, ["widthMult"] = 1,
["buttonsize"] = 32,
["buttonspacing"] = 2,
["backdropSpacing"] = 2,
["alpha"] = 1, ["alpha"] = 1,
["inheritGlobalFade"] = false,
["showGrid"] = true, ["showGrid"] = true,
}, },
["bar4"] = { ["bar4"] = {
@@ -2816,14 +2778,15 @@ P["actionbar"] = {
["mouseover"] = false, ["mouseover"] = false,
["buttons"] = 12, ["buttons"] = 12,
["buttonsPerRow"] = 1, ["buttonsPerRow"] = 1,
["buttonsize"] = 32,
["buttonspacing"] = 2,
["backdropSpacing"] = 2,
["point"] = "TOPRIGHT", ["point"] = "TOPRIGHT",
["backdrop"] = true, ["backdrop"] = true,
["heightMult"] = 1, ["heightMult"] = 1,
["widthMult"] = 1, ["widthMult"] = 1,
["buttonsize"] = 32,
["buttonspacing"] = 2,
["backdropSpacing"] = 2,
["alpha"] = 1, ["alpha"] = 1,
["inheritGlobalFade"] = false,
["showGrid"] = true, ["showGrid"] = true,
}, },
["bar5"] = { ["bar5"] = {
@@ -2831,29 +2794,15 @@ P["actionbar"] = {
["mouseover"] = false, ["mouseover"] = false,
["buttons"] = 6, ["buttons"] = 6,
["buttonsPerRow"] = 6, ["buttonsPerRow"] = 6,
["buttonsize"] = 32,
["buttonspacing"] = 2,
["backdropSpacing"] = 2,
["point"] = "BOTTOMLEFT", ["point"] = "BOTTOMLEFT",
["backdrop"] = false, ["backdrop"] = false,
["heightMult"] = 1, ["heightMult"] = 1,
["widthMult"] = 1, ["widthMult"] = 1,
["buttonsize"] = 32,
["buttonspacing"] = 2,
["backdropSpacing"] = 2,
["alpha"] = 1,
["showGrid"] = true,
},
["bar6"] = {
["enabled"] = true,
["mouseover"] = false,
["buttons"] = 12,
["buttonsPerRow"] = 12,
["point"] = "BOTTOMLEFT",
["backdrop"] = false,
["heightMult"] = 1,
["widthMult"] = 1,
["buttonsize"] = 32,
["buttonspacing"] = 2,
["backdropSpacing"] = 2,
["alpha"] = 1, ["alpha"] = 1,
["inheritGlobalFade"] = false,
["showGrid"] = true, ["showGrid"] = true,
}, },
["barPet"] = { ["barPet"] = {
@@ -2861,14 +2810,15 @@ P["actionbar"] = {
["mouseover"] = false, ["mouseover"] = false,
["buttons"] = NUM_PET_ACTION_SLOTS, ["buttons"] = NUM_PET_ACTION_SLOTS,
["buttonsPerRow"] = 1, ["buttonsPerRow"] = 1,
["buttonsize"] = 28,
["buttonspacing"] = 2,
["backdropSpacing"] = 2,
["point"] = "TOPRIGHT", ["point"] = "TOPRIGHT",
["backdrop"] = true, ["backdrop"] = true,
["heightMult"] = 1, ["heightMult"] = 1,
["widthMult"] = 1, ["widthMult"] = 1,
["buttonsize"] = 32,
["buttonspacing"] = 2,
["backdropSpacing"] = 2,
["alpha"] = 1, ["alpha"] = 1,
["inheritGlobalFade"] = false,
}, },
["barShapeShift"] = { ["barShapeShift"] = {
["enabled"] = true, ["enabled"] = true,
@@ -2884,5 +2834,6 @@ P["actionbar"] = {
["buttonspacing"] = 2, ["buttonspacing"] = 2,
["backdropSpacing"] = 2, ["backdropSpacing"] = 2,
["alpha"] = 1, ["alpha"] = 1,
}, ["inheritGlobalFade"] = false,
}
} }
+113 -1
View File
@@ -60,7 +60,7 @@ local petAnchors = {
} }
local attachToValues = { local attachToValues = {
["Health"] = HEALTH, ["Health"] = L["Health"],
["Power"] = L["Power"], ["Power"] = L["Power"],
["InfoPanel"] = L["Information Panel"], ["InfoPanel"] = L["Information Panel"],
["Frame"] = L["Frame"] ["Frame"] = L["Frame"]
@@ -3162,6 +3162,34 @@ E.Options.args.unitframe.args.player = {
width = "full" width = "full"
} }
} }
},
raidRoleIcons = {
order = 703,
type = "group",
name = L["RL / ML Icons"],
get = function(info) return E.db.unitframe.units.player.raidRoleIcons[ info[getn(info)] ] end,
set = function(info, value) E.db.unitframe.units.player.raidRoleIcons[ info[getn(info)] ] = value UF:CreateAndUpdateUF("player") end,
args = {
header = {
order = 1,
type = "header",
name = L["RL / ML Icons"]
},
enable = {
order = 2,
type = "toggle",
name = L["Enable"]
},
position = {
order = 3,
type = "select",
name = L["Position"],
values = {
["TOPLEFT"] = "TOPLEFT",
["TOPRIGHT"] = "TOPRIGHT"
}
}
}
} }
} }
} }
@@ -4462,6 +4490,34 @@ E.Options.args.unitframe.args.party = {
}--]] }--]]
} }
}, },
raidRoleIcons = {
order = 750,
type = "group",
name = L["RL / ML Icons"],
get = function(info) return E.db.unitframe.units.party.raidRoleIcons[ info[getn(info)] ] end,
set = function(info, value) E.db.unitframe.units.party.raidRoleIcons[ info[getn(info)] ] = value UF:CreateAndUpdateHeaderGroup("party") end,
args = {
header = {
order = 1,
type = "header",
name = L["RL / ML Icons"]
},
enable = {
order = 2,
type = "toggle",
name = L["Enable"]
},
position = {
order = 3,
type = "select",
name = L["Position"],
values = {
["TOPLEFT"] = "TOPLEFT",
["TOPRIGHT"] = "TOPRIGHT"
}
}
}
},
health = GetOptionsTable_Health(true, UF.CreateAndUpdateHeaderGroup, "party"), health = GetOptionsTable_Health(true, UF.CreateAndUpdateHeaderGroup, "party"),
power = GetOptionsTable_Power(false, UF.CreateAndUpdateHeaderGroup, "party"), power = GetOptionsTable_Power(false, UF.CreateAndUpdateHeaderGroup, "party"),
infoPanel = GetOptionsTable_InformationPanel(UF.CreateAndUpdateHeaderGroup, "party"), infoPanel = GetOptionsTable_InformationPanel(UF.CreateAndUpdateHeaderGroup, "party"),
@@ -4976,6 +5032,34 @@ E.Options.args.unitframe.args.raid = {
}--]] }--]]
} }
}, },
raidRoleIcons = {
order = 750,
type = "group",
name = L["RL / ML Icons"],
get = function(info) return E.db.unitframe.units.raid.raidRoleIcons[ info[getn(info)] ] end,
set = function(info, value) E.db.unitframe.units.raid.raidRoleIcons[ info[getn(info)] ] = value UF:CreateAndUpdateHeaderGroup("raid") end,
args = {
header = {
order = 1,
type = "header",
name = L["RL / ML Icons"]
},
enable = {
order = 2,
type = "toggle",
name = L["Enable"]
},
position = {
order = 3,
type = "select",
name = L["Position"],
values = {
["TOPLEFT"] = "TOPLEFT",
["TOPRIGHT"] = "TOPRIGHT"
}
}
}
},
rdebuffs = GetOptionsTable_RaidDebuff(UF.CreateAndUpdateHeaderGroup, "raid"), rdebuffs = GetOptionsTable_RaidDebuff(UF.CreateAndUpdateHeaderGroup, "raid"),
raidicon = GetOptionsTable_RaidIcon(UF.CreateAndUpdateHeaderGroup, "raid"), raidicon = GetOptionsTable_RaidIcon(UF.CreateAndUpdateHeaderGroup, "raid"),
GPSArrow = GetOptionsTable_GPS("raid") GPSArrow = GetOptionsTable_GPS("raid")
@@ -5304,6 +5388,34 @@ E.Options.args.unitframe.args.raid40 = {
}--]] }--]]
} }
}, },
raidRoleIcons = {
order = 750,
type = "group",
name = L["RL / ML Icons"],
get = function(info) return E.db.unitframe.units.raid40.raidRoleIcons[ info[getn(info)] ] end,
set = function(info, value) E.db.unitframe.units.raid40.raidRoleIcons[ info[getn(info)] ] = value UF:CreateAndUpdateHeaderGroup("raid40") end,
args = {
header = {
order = 1,
type = "header",
name = L["RL / ML Icons"]
},
enable = {
order = 2,
type = "toggle",
name = L["Enable"]
},
position = {
order = 3,
type = "select",
name = L["Position"],
values = {
["TOPLEFT"] = "TOPLEFT",
["TOPRIGHT"] = "TOPRIGHT"
}
}
}
},
rdebuffs = GetOptionsTable_RaidDebuff(UF.CreateAndUpdateHeaderGroup, "raid40"), rdebuffs = GetOptionsTable_RaidDebuff(UF.CreateAndUpdateHeaderGroup, "raid40"),
raidicon = GetOptionsTable_RaidIcon(UF.CreateAndUpdateHeaderGroup, "raid40"), raidicon = GetOptionsTable_RaidIcon(UF.CreateAndUpdateHeaderGroup, "raid40"),
GPSArrow = GetOptionsTable_GPS("raid40") GPSArrow = GetOptionsTable_GPS("raid40")