Change all use of heroclass to use RAID_CLASS_COLORS instead. This can be changed to CUSTOM_CLASS_COLORS later with a color picker for each class, but to support CoA classes need to go back to being colored properly.
Fix remaining lua errors covered by ascension patches Add Addon Skins Add Enhanced Friends List
This commit is contained in:
+7
-1
@@ -296,7 +296,13 @@ ElvUF.Tags.Methods["namecolor"] = function(unit)
|
||||
local unitReaction = UnitReaction(unit, "player")
|
||||
local unitPlayer = UnitIsPlayer(unit)
|
||||
if unitPlayer then
|
||||
return Hex(E.media.herocolor.r, E.media.herocolor.g, E.media.herocolor.b)
|
||||
if UnitIsUnit(unit, "player") then
|
||||
return Hex(E.media.herocolor.r, E.media.herocolor.g, E.media.herocolor.b)
|
||||
else
|
||||
local _, class = UnitClass(unit)
|
||||
local color = RAID_CLASS_COLORS[class]
|
||||
return Hex(color.r, color.g, color.b)
|
||||
end
|
||||
elseif unitReaction then
|
||||
local reaction = ElvUF.colors.reaction[unitReaction]
|
||||
return Hex(reaction[1], reaction[2], reaction[3])
|
||||
|
||||
@@ -30,6 +30,10 @@ local colors = {
|
||||
threat = {},
|
||||
}
|
||||
|
||||
for classToken, color in next, RAID_CLASS_COLORS do
|
||||
colors.class[classToken] = {color.r, color.g, color.b}
|
||||
end
|
||||
|
||||
for debuffType, color in next, DebuffTypeColor do
|
||||
colors.debuff[debuffType] = {color.r, color.g, color.b}
|
||||
end
|
||||
|
||||
@@ -76,7 +76,12 @@ local function UpdateColor(self, event, unit, powertype)
|
||||
if(element.colorPower) then
|
||||
t = self.colors.power[ADDITIONAL_POWER_BAR_INDEX]
|
||||
elseif(element.colorClass and UnitIsPlayer(unit)) then
|
||||
t = oUF.herocolor
|
||||
if UnitIsUnit("player", unit) then
|
||||
t = oUF.herocolor
|
||||
else
|
||||
local _, class = UnitClass(unit)
|
||||
t = self.colors.class[class]
|
||||
end
|
||||
elseif(element.colorSmooth) then
|
||||
r, g, b = self:ColorGradient(element.cur or 1, element.max or 1, unpack(element.smoothGradient or self.colors.smooth))
|
||||
end
|
||||
|
||||
@@ -101,7 +101,12 @@ local function UpdateColor(self, event, unit)
|
||||
elseif(element.colorClass and UnitIsPlayer(unit)) or
|
||||
(element.colorClassNPC and not UnitIsPlayer(unit)) or
|
||||
(element.colorClassPet and UnitPlayerControlled(unit) and not UnitIsPlayer(unit)) then
|
||||
t = oUF.herocolor
|
||||
if UnitIsUnit("player", unit) then
|
||||
t = oUF.herocolor
|
||||
else
|
||||
local _, class = UnitClass(unit)
|
||||
t = self.colors.class[class]
|
||||
end
|
||||
elseif(element.colorReaction and UnitReaction(unit, 'player')) then
|
||||
t = self.colors.reaction[UnitReaction(unit, 'player')]
|
||||
elseif(element.colorSmooth) then
|
||||
|
||||
@@ -125,7 +125,12 @@ local function UpdateColor(self, event, unit)
|
||||
elseif(element.colorClass and UnitIsPlayer(unit)) or
|
||||
(element.colorClassNPC and not UnitIsPlayer(unit)) or
|
||||
(element.colorClassPet and UnitPlayerControlled(unit) and not UnitIsPlayer(unit)) then
|
||||
t = oUF.herocolor
|
||||
if UnitIsUnit("player", unit) then
|
||||
t = oUF.herocolor
|
||||
else
|
||||
local _, class = UnitClass(unit)
|
||||
t = self.colors.class[class]
|
||||
end
|
||||
elseif(element.colorReaction and UnitReaction(unit, 'player')) then
|
||||
t = self.colors.reaction[UnitReaction(unit, 'player')]
|
||||
elseif(element.colorSmooth) then
|
||||
|
||||
@@ -805,4 +805,5 @@ if(global) then
|
||||
end
|
||||
end
|
||||
|
||||
oUF.herocolor = {0.0, 1.0, 0.0}
|
||||
local _, myClass = UnitClass("player")
|
||||
oUF.herocolor = RAID_CLASS_COLORS[myClass]
|
||||
@@ -939,7 +939,10 @@ function CH:GetColoredName(event, _, arg2, _, _, _, _, _, arg8, _, _, _, arg12)
|
||||
local _, englishClass = GetPlayerInfoByGUID(arg12)
|
||||
|
||||
if englishClass then
|
||||
local classColorTable = E.media.herocolor
|
||||
local classColorTable = RAID_CLASS_COLORS[englishClass]
|
||||
if arg12 == UnitName("player") then
|
||||
classColorTable = E.media.herocolor
|
||||
end
|
||||
if not classColorTable then
|
||||
return arg2
|
||||
end
|
||||
@@ -1439,7 +1442,7 @@ function CH:CheckKeyword(message, author)
|
||||
local wordMatch = classMatch and lowerCaseWord
|
||||
|
||||
if wordMatch and not E.global.chat.classColorMentionExcludedNames[wordMatch] then
|
||||
local classColorTable = E.media.herocolor
|
||||
local classColorTable = RAID_CLASS_COLORS[classMatch]
|
||||
word = gsub(word, gsub(tempWord, "%-", "%%-"), format("\124cff%.2x%.2x%.2x%s\124r", classColorTable.r*255, classColorTable.g*255, classColorTable.b*255, tempWord))
|
||||
end
|
||||
end
|
||||
|
||||
@@ -57,7 +57,7 @@ function DT:BattlegroundStats()
|
||||
for i = 1, GetNumBattlefieldScores() do
|
||||
local name = GetBattlefieldScore(i)
|
||||
if name and name == E.myname then
|
||||
local classColor = E.media.herocolor
|
||||
local classColor = RAID_CLASS_COLORS[E.myclass]
|
||||
|
||||
DT.tooltip:AddDoubleLine(L["Stats For:"], name, 1, 1, 1, classColor.r, classColor.g, classColor.b)
|
||||
DT.tooltip:AddLine(" ")
|
||||
|
||||
@@ -155,7 +155,7 @@ local function OnClick(_, btn)
|
||||
end
|
||||
|
||||
if not shouldSkip then
|
||||
classc = E.media.herocolor
|
||||
classc = RAID_CLASS_COLORS[info[3]]
|
||||
classc = classc or GetQuestDifficultyColor(info[2])
|
||||
levelc = GetQuestDifficultyColor(info[2])
|
||||
|
||||
|
||||
@@ -30,7 +30,8 @@ local function BuildDataTable()
|
||||
|
||||
for charName in pairs(ElvDB.gold[E.myrealm]) do
|
||||
if ElvDB.gold[E.myrealm][charName] then
|
||||
local color = E.media.herocolor
|
||||
local class = ElvDB.class[E.myrealm][charName]
|
||||
local color = class and RAID_CLASS_COLORS[class] or E.media.herocolor
|
||||
|
||||
tinsert(dataTable,
|
||||
{
|
||||
|
||||
@@ -140,7 +140,7 @@ local function OnClick(_, btn)
|
||||
info = dataTable[i]
|
||||
|
||||
if info[7] and info[1] ~= E.myname then
|
||||
classc = E.media.herocolor
|
||||
classc = RAID_CLASS_COLORS[info[9]]
|
||||
levelc = GetQuestDifficultyColor(info[3])
|
||||
|
||||
if UnitInParty(info[1]) or UnitInRaid(info[1]) then
|
||||
@@ -222,7 +222,7 @@ local function OnEnter(self, _, noUpdate)
|
||||
zonec = inactivezone
|
||||
end
|
||||
|
||||
classc = E.media.herocolor
|
||||
classc = RAID_CLASS_COLORS[info[9]]
|
||||
|
||||
if shiftKeyDown then
|
||||
DT.tooltip:AddDoubleLine(
|
||||
|
||||
@@ -50,7 +50,7 @@ function M:UpdateBubbleBorder()
|
||||
wordMatch = classMatch and lowerCaseWord
|
||||
|
||||
if wordMatch and not E.global.chat.classColorMentionExcludedNames[wordMatch] then
|
||||
classColorTable = E.media.herocolor
|
||||
classColorTable = RAID_CLASS_COLORS[classMatch]
|
||||
word = gsub(word, gsub(tempWord, "%-", "%%-"), format("\124cff%.2x%.2x%.2x%s\124r", classColorTable.r*255, classColorTable.g*255, classColorTable.b*255, tempWord))
|
||||
end
|
||||
|
||||
@@ -76,7 +76,7 @@ function M:AddChatBubbleName(chatBubble, guid, name)
|
||||
if guid and guid ~= "" then
|
||||
local _, class = GetPlayerInfoByGUID(guid)
|
||||
if class then
|
||||
color = E:RGBToHex(E.media.herocolor.r, E.media.herocolor.g, E.media.herocolor.b)
|
||||
color = RAID_CLASS_COLORS[class].hex
|
||||
end
|
||||
else
|
||||
color = "|cffffffff"
|
||||
|
||||
@@ -141,7 +141,7 @@ local function buttonOnEnter(self)
|
||||
|
||||
for playerName, rollData in pairs(self.parent.rollResults) do
|
||||
if self.rollType == rollData[1] and rollData[2] then
|
||||
local classColor = E.media.herocolor
|
||||
local classColor = RAID_CLASS_COLORS[rollData[2]]
|
||||
GameTooltip:AddLine(playerName, classColor.r, classColor.g, classColor.b)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -49,12 +49,13 @@ end
|
||||
|
||||
function THREAT:GetColor(unit)
|
||||
if UnitIsPlayer(unit) then
|
||||
local class = E.media.herocolor
|
||||
if not class then
|
||||
local _, class = UnitClass(unit)
|
||||
local color = UnitIsUnit("player", unit) and E.media.herocolor or RAID_CLASS_COLORS[class]
|
||||
if not color then
|
||||
return 194, 194, 194
|
||||
end
|
||||
|
||||
return class.r*255, class.g*255, class.b*255
|
||||
return color.r*255, color.g*255, color.b*255
|
||||
end
|
||||
|
||||
local unitReaction = UnitReaction(unit, "player")
|
||||
|
||||
@@ -21,7 +21,8 @@ function NP:Update_HealthColor(frame)
|
||||
local r, g, b
|
||||
local scale = 1
|
||||
|
||||
local classColor = E.media.herocolor
|
||||
local class = frame.UnitClass
|
||||
local classColor = RAID_CLASS_COLORS[class]
|
||||
local useClassColor = NP.db.units[frame.UnitType].health.useClassColor
|
||||
if classColor and ((frame.UnitType == "FRIENDLY_PLAYER" and useClassColor) or (frame.UnitType == "ENEMY_PLAYER" and useClassColor)) then
|
||||
r, g, b = classColor.r, classColor.g, classColor.b
|
||||
|
||||
@@ -52,7 +52,7 @@ function NP:Update_Name(frame, triggered)
|
||||
|
||||
local classColor, useClassColor
|
||||
if class then
|
||||
classColor = E.media.herocolor
|
||||
classColor = RAID_CLASS_COLORS[class]
|
||||
useClassColor = self.db.units[frame.UnitType].name and self.db.units[frame.UnitType].name.useClassColor
|
||||
end
|
||||
|
||||
|
||||
@@ -90,7 +90,7 @@ S:AddCallback("Skin_WorldStateScore", function()
|
||||
name = format("%s|cffffffff - |r%s%s|r", name, color, realm)
|
||||
end
|
||||
|
||||
classTextColor = E.media.herocolor
|
||||
classTextColor = RAID_CLASS_COLORS[classToken]
|
||||
|
||||
nameText = _G["WorldStateScoreButton"..i.."NameText"]
|
||||
nameText:SetText(name)
|
||||
|
||||
@@ -199,7 +199,7 @@ S:AddCallback("Skin_Friends", function()
|
||||
_, _, level, _, _, _, classFileName = GetWhoInfo(button.whoIndex)
|
||||
|
||||
if classFileName then
|
||||
classTextColor = E.media.herocolor
|
||||
classTextColor = RAID_CLASS_COLORS[classFileName]
|
||||
button.icon:Show()
|
||||
button.icon:SetTexCoord(unpack(CLASS_ICON_TCOORDS[classFileName]))
|
||||
else
|
||||
@@ -327,7 +327,7 @@ S:AddCallback("Skin_Friends", function()
|
||||
_, _, _, level, _, _, _, _, online, _, classFileName = GetGuildRosterInfo(button.guildIndex)
|
||||
if classFileName then
|
||||
if online then
|
||||
classTextColor = E.media.herocolor
|
||||
classTextColor = RAID_CLASS_COLORS[classFileName]
|
||||
levelTextColor = GetQuestDifficultyColor(level)
|
||||
buttonText = _G["GuildFrameButton"..i.."Name"]
|
||||
buttonText:SetTextColor(classTextColor.r, classTextColor.g, classTextColor.b)
|
||||
@@ -343,7 +343,7 @@ S:AddCallback("Skin_Friends", function()
|
||||
_, _, _, _, _, _, _, _, online, _, classFileName = GetGuildRosterInfo(button.guildIndex)
|
||||
if classFileName then
|
||||
if online then
|
||||
classTextColor = E.media.herocolor
|
||||
classTextColor = RAID_CLASS_COLORS[classFileName]
|
||||
_G["GuildFrameGuildStatusButton"..i.."Name"]:SetTextColor(classTextColor.r, classTextColor.g, classTextColor.b)
|
||||
_G["GuildFrameGuildStatusButton"..i.."Online"]:SetTextColor(1.0, 1.0, 1.0)
|
||||
end
|
||||
|
||||
@@ -222,7 +222,7 @@ function TT:SetUnitText(tt, unit, level, isShiftKeyDown)
|
||||
local guildName, guildRankName = GetGuildInfo(unit)
|
||||
local pvpName = UnitPVPName(unit)
|
||||
|
||||
color = E.media.herocolor
|
||||
color = UnitIsUnit("player", unit) and E.media.herocolor or RAID_CLASS_COLORS[class]
|
||||
|
||||
if self.db.playerTitles and pvpName then
|
||||
name = pvpName
|
||||
@@ -276,7 +276,7 @@ function TT:SetUnitText(tt, unit, level, isShiftKeyDown)
|
||||
end
|
||||
|
||||
if not color then
|
||||
color = E.media.herocolor
|
||||
color = UnitIsUnit("player", unit) and E.media.herocolor or RAID_CLASS_COLORS[class]
|
||||
end
|
||||
|
||||
local levelLine = self:GetLevelLine(tt, 2)
|
||||
@@ -379,13 +379,15 @@ function TT:GameTooltip_OnTooltipSetUnit(tt)
|
||||
if unit ~= "player" and UnitExists(unitTarget) then
|
||||
local targetColor
|
||||
if UnitIsPlayer(unitTarget) and not UnitHasVehicleUI(unitTarget) then
|
||||
targetColor = E.media.herocolor
|
||||
local _, class = UnitClass(unitTarget)
|
||||
targetColor = UnitIsUnit("player", unitTarget) and E.media.herocolor or RAID_CLASS_COLORS[class]
|
||||
else
|
||||
targetColor = E.db.tooltip.useCustomFactionColors and E.db.tooltip.factionColors[UnitReaction(unitTarget, "player")] or FACTION_BAR_COLORS[UnitReaction(unitTarget, "player")]
|
||||
end
|
||||
|
||||
if not targetColor then
|
||||
targetColor = E.media.herocolor
|
||||
local _, class = UnitClass(unitTarget)
|
||||
targetColor = UnitIsUnit("player", unitTarget) and E.media.herocolor or RAID_CLASS_COLORS[class]
|
||||
end
|
||||
|
||||
tt:AddDoubleLine(format("%s:", TARGET), format("|cff%02x%02x%02x%s|r", targetColor.r * 255, targetColor.g * 255, targetColor.b * 255, UnitName(unitTarget)))
|
||||
@@ -400,7 +402,8 @@ function TT:GameTooltip_OnTooltipSetUnit(tt)
|
||||
local groupUnit = (inRaid and "raid"..i or "party"..i)
|
||||
|
||||
if not UnitIsUnit(groupUnit, "player") and UnitIsUnit(groupUnit.."target", unit) then
|
||||
local classColor = E.media.herocolor
|
||||
local _, class = UnitClass(groupUnit)
|
||||
local classColor = RAID_CLASS_COLORS[class]
|
||||
|
||||
tinsert(targetList, format("%s%s", E:RGBToHex(classColor.r, classColor.g, classColor.b), UnitName(groupUnit)))
|
||||
end
|
||||
@@ -560,7 +563,8 @@ function TT:SetUnitAura(tt, ...)
|
||||
if id and self.db.spellID then
|
||||
if caster then
|
||||
local name = UnitName(caster)
|
||||
local color = E.media.herocolor
|
||||
local _, class = UnitClass(caster)
|
||||
local color = UnitIsUnit("player", caster) and E.media.herocolor or RAID_CLASS_COLORS[class]
|
||||
tt:AddDoubleLine(format("|cFFCA3C3C%s|r %d", ID, id), format("%s%s", E:RGBToHex(color.r, color.g, color.b), name))
|
||||
else
|
||||
tt:AddLine(format("|cFFCA3C3C%s|r %d", ID, id))
|
||||
|
||||
@@ -384,7 +384,8 @@ function UF:PostCastStart(unit)
|
||||
if (self.notInterruptible and unit ~= "player") and UnitCanAttack("player", unit) then
|
||||
r, g, b = colors.castNoInterrupt[1], colors.castNoInterrupt[2], colors.castNoInterrupt[3]
|
||||
elseif UF.db.colors.castClassColor and UnitIsPlayer(unit) then
|
||||
local t = E.media.herocolor
|
||||
local _, class = UnitClass(unit)
|
||||
local t = UnitIsUnit("player", unit) and E.media.herocolor or RAID_CLASS_COLORS[class]
|
||||
if t then r, g, b = t[1], t[2], t[3] end
|
||||
elseif UF.db.colors.castReactionColor then
|
||||
local Reaction = UnitReaction(unit, "player")
|
||||
@@ -411,7 +412,8 @@ function UF:PostCastInterruptible(unit)
|
||||
if self.notInterruptible and UnitCanAttack("player", unit) then
|
||||
r, g, b = colors.castNoInterrupt[1], colors.castNoInterrupt[2], colors.castNoInterrupt[3]
|
||||
elseif UF.db.colors.castClassColor and UnitIsPlayer(unit) then
|
||||
local t = E.media.herocolor
|
||||
local _, class = UnitClass(unit)
|
||||
local t = UnitIsUnit("player", unit) and E.media.herocolor or RAID_CLASS_COLORS[class]
|
||||
if t then r, g, b = t[1], t[2], t[3] end
|
||||
elseif UF.db.colors.castReactionColor then
|
||||
local Reaction = UnitReaction(unit, "player")
|
||||
|
||||
@@ -186,7 +186,7 @@ function UF:FrameGlow_SetGlowColor(glow, unit, which)
|
||||
if isPlayer then
|
||||
local _, class = UnitClass(unit)
|
||||
if class then
|
||||
local color = E.media.herocolor
|
||||
local color = UnitIsUnit("player", unit) and E.media.herocolor or RAID_CLASS_COLORS[class]
|
||||
if color then
|
||||
r, g, b = color.r, color.g, color.b
|
||||
end
|
||||
|
||||
@@ -43,6 +43,149 @@ G.unitframe = {
|
||||
otherFilter = "CCDebuffs",
|
||||
},
|
||||
spellRangeCheck = {
|
||||
PRIEST = {
|
||||
enemySpells = {
|
||||
[585] = true, -- Smite (30 yards)
|
||||
},
|
||||
longEnemySpells = {
|
||||
[589] = true, -- Shadow Word: Pain (30 yards)
|
||||
},
|
||||
friendlySpells = {
|
||||
[2050] = true, -- Lesser Heal (40 yards)
|
||||
},
|
||||
resSpells = {
|
||||
[2006] = true, -- Resurrection (40 yards)
|
||||
},
|
||||
petSpells = {},
|
||||
},
|
||||
DRUID = {
|
||||
enemySpells = {
|
||||
[33786] = true, -- Cyclone (20 yards)
|
||||
},
|
||||
longEnemySpells = {
|
||||
[5176] = true, -- Wrath (30 yards)
|
||||
},
|
||||
friendlySpells = {
|
||||
[5185] = true, -- Healing Touch (40 yards)
|
||||
},
|
||||
resSpells = {
|
||||
[50769] = true, -- Revive (30 yards)
|
||||
[20484] = true, -- Rebirth (30 yards)
|
||||
},
|
||||
petSpells = {},
|
||||
},
|
||||
PALADIN = {
|
||||
enemySpells = {
|
||||
[20271] = true, -- Judgement (10 yards)
|
||||
},
|
||||
longEnemySpells = {
|
||||
[879] = true, -- Exorcism (30 yards)
|
||||
},
|
||||
friendlySpells = {
|
||||
[635] = true, -- Holy Light (40 yards)
|
||||
},
|
||||
resSpells = {
|
||||
[7328] = true, -- Redemption (30 yards)
|
||||
},
|
||||
petSpells = {},
|
||||
},
|
||||
SHAMAN = {
|
||||
enemySpells = {
|
||||
[51514] = true, -- Hex (20 yards)
|
||||
[8042] = true, -- Earth Shock (25 yards)
|
||||
},
|
||||
longEnemySpells = {
|
||||
[403] = true, -- Lightning Bolt (30 yards)
|
||||
},
|
||||
friendlySpells = {
|
||||
[331] = true, -- Healing Wave (40 yards)
|
||||
},
|
||||
resSpells = {
|
||||
[2008] = true, -- Ancestral Spirit (30 yards)
|
||||
},
|
||||
petSpells = {},
|
||||
},
|
||||
WARLOCK = {
|
||||
enemySpells = {
|
||||
[5782] = true, -- Fear (20 yards)
|
||||
},
|
||||
longEnemySpells = {
|
||||
[686] = true, -- Shadow Bolt (30 yards)
|
||||
},
|
||||
friendlySpells = {
|
||||
[5697] = true, -- Unending Breath (30 yards)
|
||||
},
|
||||
resSpells = {},
|
||||
petSpells = {
|
||||
[755] = true, -- Health Funnel (45 yards)
|
||||
},
|
||||
},
|
||||
MAGE = {
|
||||
enemySpells = {
|
||||
[2136] = true, -- Fire Blast (20 yards)
|
||||
[12826] = true, -- Polymorph (30 yards)
|
||||
},
|
||||
longEnemySpells = {
|
||||
[133] = true, -- Fireball (35 yards)
|
||||
[44614] = true, -- Frostfire Bolt (40 yards)
|
||||
},
|
||||
friendlySpells = {
|
||||
[475] = true, -- Remove Curse (40 yards)
|
||||
},
|
||||
resSpells = {},
|
||||
petSpells = {},
|
||||
},
|
||||
HUNTER = {
|
||||
enemySpells = {
|
||||
[75] = true, -- Auto Shot (35 yards)
|
||||
},
|
||||
longEnemySpells = {},
|
||||
friendlySpells = {},
|
||||
resSpells = {},
|
||||
petSpells = {
|
||||
[136] = true, -- Mend Pet (45 yards)
|
||||
},
|
||||
},
|
||||
DEATHKNIGHT = {
|
||||
enemySpells = {
|
||||
[49576] = true, -- Death Grip (30 yards)
|
||||
},
|
||||
longEnemySpells = {},
|
||||
friendlySpells = {
|
||||
[47541] = true, -- Death Coil (40 yards)
|
||||
},
|
||||
resSpells = {
|
||||
[61999] = true, -- Raise Ally (30 yards)
|
||||
},
|
||||
petSpells = {},
|
||||
},
|
||||
ROGUE = {
|
||||
enemySpells = {
|
||||
[2094] = true, -- Blind (10 yards)
|
||||
},
|
||||
longEnemySpells = {
|
||||
[26679] = true, -- Deadly Throw (30 yards)
|
||||
},
|
||||
friendlySpells = {
|
||||
[57934] = true, -- Tricks of the Trade (20 yards)
|
||||
},
|
||||
resSpells = {},
|
||||
petSpells = {},
|
||||
},
|
||||
WARRIOR = {
|
||||
enemySpells = {
|
||||
[5246] = true, -- Intimidating Shout (8 yards)
|
||||
[100] = true, -- Charge (25 yards)
|
||||
},
|
||||
longEnemySpells = {
|
||||
[355] = true, -- Taunt (30 yards)
|
||||
},
|
||||
friendlySpells = {
|
||||
[3411] = true, -- Intervene (25 yards)
|
||||
},
|
||||
resSpells = {},
|
||||
petSpells = {},
|
||||
},
|
||||
HERO = {
|
||||
enemySpells = {
|
||||
[5246] = true, -- Intimidating Shout (8 yards)
|
||||
@@ -113,6 +256,153 @@ G.unitframe = {
|
||||
[34026] = true, -- Kill Command (45 yards)
|
||||
},
|
||||
},
|
||||
NECROMANCER = {
|
||||
enemySpells = {}, -- Damage Spells
|
||||
longEnemySpells = {}, -- Dots
|
||||
friendlySpells = {}, -- Heals
|
||||
resSpells = {}, -- Rez Spells
|
||||
petSpells = {}, -- Pet Abilities
|
||||
},
|
||||
PYROMANCER = {
|
||||
enemySpells = {}, -- Damage Spells
|
||||
longEnemySpells = {}, -- Dots
|
||||
friendlySpells = {}, -- Heals
|
||||
resSpells = {}, -- Rez Spells
|
||||
petSpells = {}, -- Pet Abilities
|
||||
},
|
||||
CULTIST = {
|
||||
enemySpells = {}, -- Damage Spells
|
||||
longEnemySpells = {}, -- Dots
|
||||
friendlySpells = {}, -- Heals
|
||||
resSpells = {}, -- Rez Spells
|
||||
petSpells = {}, -- Pet Abilities
|
||||
},
|
||||
STARCALLER = {
|
||||
enemySpells = {}, -- Damage Spells
|
||||
longEnemySpells = {}, -- Dots
|
||||
friendlySpells = {}, -- Heals
|
||||
resSpells = {}, -- Rez Spells
|
||||
petSpells = {}, -- Pet Abilities
|
||||
},
|
||||
SUNCLERIC = {
|
||||
enemySpells = {}, -- Damage Spells
|
||||
longEnemySpells = {}, -- Dots
|
||||
friendlySpells = {}, -- Heals
|
||||
resSpells = {}, -- Rez Spells
|
||||
petSpells = {}, -- Pet Abilities
|
||||
},
|
||||
TINKER = {
|
||||
enemySpells = {}, -- Damage Spells
|
||||
longEnemySpells = {}, -- Dots
|
||||
friendlySpells = {}, -- Heals
|
||||
resSpells = {}, -- Rez Spells
|
||||
petSpells = {}, -- Pet Abilities
|
||||
},
|
||||
SPIRITMAGE = {
|
||||
enemySpells = {}, -- Damage Spells
|
||||
longEnemySpells = {}, -- Dots
|
||||
friendlySpells = {}, -- Heals
|
||||
resSpells = {}, -- Rez Spells
|
||||
petSpells = {}, -- Pet Abilities
|
||||
},
|
||||
WILDWALKER = {
|
||||
enemySpells = {}, -- Damage Spells
|
||||
longEnemySpells = {}, -- Dots
|
||||
friendlySpells = {}, -- Heals
|
||||
resSpells = {}, -- Rez Spells
|
||||
petSpells = {}, -- Pet Abilities
|
||||
},
|
||||
REAPER = {
|
||||
enemySpells = {}, -- Damage Spells
|
||||
longEnemySpells = {}, -- Dots
|
||||
friendlySpells = {}, -- Heals
|
||||
resSpells = {}, -- Rez Spells
|
||||
petSpells = {}, -- Pet Abilities
|
||||
},
|
||||
PROPHET = {
|
||||
enemySpells = {}, -- Damage Spells
|
||||
longEnemySpells = {}, -- Dots
|
||||
friendlySpells = {}, -- Heals
|
||||
resSpells = {}, -- Rez Spells
|
||||
petSpells = {}, -- Pet Abilities
|
||||
},
|
||||
CHRONOMANCER = {
|
||||
enemySpells = {}, -- Damage Spells
|
||||
longEnemySpells = {}, -- Dots
|
||||
friendlySpells = {}, -- Heals
|
||||
resSpells = {}, -- Rez Spells
|
||||
petSpells = {}, -- Pet Abilities
|
||||
},
|
||||
SONOFARUGAL = {
|
||||
enemySpells = {}, -- Damage Spells
|
||||
longEnemySpells = {}, -- Dots
|
||||
friendlySpells = {}, -- Heals
|
||||
resSpells = {}, -- Rez Spells
|
||||
petSpells = {}, -- Pet Abilities
|
||||
},
|
||||
GUARDIAN = {
|
||||
enemySpells = {}, -- Damage Spells
|
||||
longEnemySpells = {}, -- Dots
|
||||
friendlySpells = {}, -- Heals
|
||||
resSpells = {}, -- Rez Spells
|
||||
petSpells = {}, -- Pet Abilities
|
||||
},
|
||||
STORMBRINGER = {
|
||||
enemySpells = {}, -- Damage Spells
|
||||
longEnemySpells = {}, -- Dots
|
||||
friendlySpells = {}, -- Heals
|
||||
resSpells = {}, -- Rez Spells
|
||||
petSpells = {}, -- Pet Abilities
|
||||
},
|
||||
DEMONHUNTER = {
|
||||
enemySpells = {}, -- Damage Spells
|
||||
longEnemySpells = {}, -- Dots
|
||||
friendlySpells = {}, -- Heals
|
||||
resSpells = {}, -- Rez Spells
|
||||
petSpells = {}, -- Pet Abilities
|
||||
},
|
||||
BARBARIAN = {
|
||||
enemySpells = {}, -- Damage Spells
|
||||
longEnemySpells = {}, -- Dots
|
||||
friendlySpells = {}, -- Heals
|
||||
resSpells = {}, -- Rez Spells
|
||||
petSpells = {}, -- Pet Abilities
|
||||
},
|
||||
WITCHDOCTOR = {
|
||||
enemySpells = {}, -- Damage Spells
|
||||
longEnemySpells = {}, -- Dots
|
||||
friendlySpells = {}, -- Heals
|
||||
resSpells = {}, -- Rez Spells
|
||||
petSpells = {}, -- Pet Abilities
|
||||
},
|
||||
WITCHHUNTER = {
|
||||
enemySpells = {}, -- Damage Spells
|
||||
longEnemySpells = {}, -- Dots
|
||||
friendlySpells = {}, -- Heals
|
||||
resSpells = {}, -- Rez Spells
|
||||
petSpells = {}, -- Pet Abilities
|
||||
},
|
||||
FLESHWARDEN = {
|
||||
enemySpells = {}, -- Damage Spells
|
||||
longEnemySpells = {}, -- Dots
|
||||
friendlySpells = {}, -- Heals
|
||||
resSpells = {}, -- Rez Spells
|
||||
petSpells = {}, -- Pet Abilities
|
||||
},
|
||||
MONK = {
|
||||
enemySpells = {}, -- Damage Spells
|
||||
longEnemySpells = {}, -- Dots
|
||||
friendlySpells = {}, -- Heals
|
||||
resSpells = {}, -- Rez Spells
|
||||
petSpells = {}, -- Pet Abilities
|
||||
},
|
||||
RANGER = {
|
||||
enemySpells = {}, -- Damage Spells
|
||||
longEnemySpells = {}, -- Dots
|
||||
friendlySpells = {}, -- Heals
|
||||
resSpells = {}, -- Rez Spells
|
||||
petSpells = {}, -- Pet Abilities
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ P.general = {
|
||||
backdropcolor = {r = 0.1, g = 0.1, b = 0.1},
|
||||
backdropfadecolor = {r = 0.06, g = 0.06, b = 0.06, a = 0.8},
|
||||
valuecolor = {r = 0.99, g = 0.48, b = 0.17},
|
||||
herocolor = {r = 0.0, g = 1.0, b = 0.0},
|
||||
herocolor = RAID_CLASS_COLORS[E.myclass],
|
||||
cropIcon = 2,
|
||||
minimap = {
|
||||
size = 176,
|
||||
|
||||
Reference in New Issue
Block a user