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:
@@ -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