83314f574c
* Missing Non-DE items * Move Deconstruct options into seperate group Adds blacklist functionality for general items and lockboxes * Add translation strings * Add LibItemSearch functionality to blacklist * Clean up redundant variables and API calls
599 lines
16 KiB
Lua
599 lines
16 KiB
Lua
local E, L, V, P, G = unpack(select(2, ...)); --Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
|
|
|
|
--Global Settings
|
|
G.general = {
|
|
UIScale = 0.7111111111111111,
|
|
version = 6.10,
|
|
versionCheck = true,
|
|
locale = "auto",
|
|
eyefinity = false,
|
|
ignoreScalePopup = false,
|
|
smallerWorldMap = true,
|
|
fadeMapWhenMoving = true,
|
|
mapAlphaWhenMoving = 0.35,
|
|
AceGUI = {
|
|
width = 1000,
|
|
height = 720
|
|
},
|
|
WorldMapCoordinates = {
|
|
enable = true,
|
|
position = "BOTTOMLEFT",
|
|
xOffset = 0,
|
|
yOffset = 0
|
|
}
|
|
}
|
|
|
|
G.classtimer = {}
|
|
|
|
G.chat = {
|
|
classColorMentionExcludedNames = {},
|
|
}
|
|
|
|
G.bags = {
|
|
ignoredItems = {},
|
|
deconstructBlacklist = {},
|
|
lockBlacklist = {},
|
|
}
|
|
|
|
G.nameplates = {}
|
|
|
|
G.unitframe = {
|
|
aurafilters = {},
|
|
buffwatch = {},
|
|
raidDebuffIndicator = {
|
|
instanceFilter = "RaidDebuffs",
|
|
otherFilter = "CCDebuffs",
|
|
},
|
|
spellRangeCheck = {
|
|
PRIEST = {
|
|
enemySpells = {
|
|
[585] = true, -- Smite (30 yards)
|
|
[1100585] = true, -- Smite (30 yards)
|
|
},
|
|
longEnemySpells = {
|
|
[589] = true, -- Shadow Word: Pain (30 yards)
|
|
[1100589] = true, -- Shadow Word: Pain (30 yards)
|
|
},
|
|
friendlySpells = {
|
|
[2050] = true, -- Lesser Heal (40 yards)
|
|
[1102050] = true, -- Lesser Heal (40 yards)
|
|
},
|
|
resSpells = {
|
|
[2006] = true, -- Resurrection (40 yards)
|
|
[1102006] = true, -- Resurrection (40 yards)
|
|
},
|
|
petSpells = {},
|
|
},
|
|
DRUID = {
|
|
enemySpells = {
|
|
[33786] = true, -- Cyclone (20 yards)
|
|
[1133786] = true, -- Cyclone (20 yards)
|
|
},
|
|
longEnemySpells = {
|
|
[5176] = true, -- Wrath (30 yards)
|
|
[1105176] = true, -- Wrath (30 yards)
|
|
},
|
|
friendlySpells = {
|
|
[5185] = true, -- Healing Touch (40 yards)
|
|
[1105185] = true, -- Healing Touch (40 yards)
|
|
},
|
|
resSpells = {
|
|
[50769] = true, -- Revive (30 yards)
|
|
[1150769] = true, -- Revive (30 yards)
|
|
[20484] = true, -- Rebirth (30 yards)
|
|
[1120484] = true, -- Rebirth (30 yards)
|
|
},
|
|
petSpells = {},
|
|
},
|
|
PALADIN = {
|
|
enemySpells = {
|
|
[20271] = true, -- Judgement (10 yards)
|
|
[1120271] = true, -- Judgement (10 yards)
|
|
},
|
|
longEnemySpells = {
|
|
[879] = true, -- Exorcism (30 yards)
|
|
[1100879] = true, -- Exorcism (30 yards)
|
|
},
|
|
friendlySpells = {
|
|
[635] = true, -- Holy Light (40 yards)
|
|
[1100635] = true, -- Holy Light (40 yards)
|
|
},
|
|
resSpells = {
|
|
[7328] = true, -- Redemption (30 yards)
|
|
[1107328] = true, -- Redemption (30 yards)
|
|
},
|
|
petSpells = {},
|
|
},
|
|
SHAMAN = {
|
|
enemySpells = {
|
|
[51514] = true, -- Hex (20 yards)
|
|
[1151514] = true, -- Hex (20 yards)
|
|
[8042] = true, -- Earth Shock (25 yards)
|
|
[1108042] = true, -- Earth Shock (25 yards)
|
|
},
|
|
longEnemySpells = {
|
|
[403] = true, -- Lightning Bolt (30 yards)
|
|
[1100403] = true, -- Lightning Bolt (30 yards)
|
|
},
|
|
friendlySpells = {
|
|
[331] = true, -- Healing Wave (40 yards)
|
|
[1100331] = true, -- Healing Wave (40 yards)
|
|
},
|
|
resSpells = {
|
|
[2008] = true, -- Ancestral Spirit (30 yards)
|
|
[1102008] = true, -- Ancestral Spirit (30 yards)
|
|
},
|
|
petSpells = {},
|
|
},
|
|
WARLOCK = {
|
|
enemySpells = {
|
|
[5782] = true, -- Fear (20 yards)
|
|
[1105782] = true, -- Fear (20 yards)
|
|
},
|
|
longEnemySpells = {
|
|
[686] = true, -- Shadow Bolt (30 yards)
|
|
[1100686] = true, -- Shadow Bolt (30 yards)
|
|
},
|
|
friendlySpells = {
|
|
[5697] = true, -- Unending Breath (30 yards)
|
|
[1105697] = true, -- Unending Breath (30 yards)
|
|
},
|
|
resSpells = {},
|
|
petSpells = {
|
|
[755] = true, -- Health Funnel (45 yards)
|
|
[1100755] = true, -- Health Funnel (45 yards)
|
|
},
|
|
},
|
|
MAGE = {
|
|
enemySpells = {
|
|
[2136] = true, -- Fire Blast (20 yards)
|
|
[1102136] = true, -- Fire Blast (20 yards)
|
|
[12826] = true, -- Polymorph (30 yards)
|
|
[1112826] = true, -- Polymorph (30 yards)
|
|
},
|
|
longEnemySpells = {
|
|
[133] = true, -- Fireball (35 yards)
|
|
[1100133] = true, -- Fireball (35 yards)
|
|
[44614] = true, -- Frostfire Bolt (40 yards)
|
|
[1144614] = true, -- Frostfire Bolt (40 yards)
|
|
},
|
|
friendlySpells = {
|
|
[475] = true, -- Remove Curse (40 yards)
|
|
[1100475] = true, -- Remove Curse (40 yards)
|
|
},
|
|
resSpells = {},
|
|
petSpells = {},
|
|
},
|
|
HUNTER = {
|
|
enemySpells = {
|
|
[75] = true, -- Auto Shot (35 yards)
|
|
[1100075] = true, -- Auto Shot (35 yards)
|
|
},
|
|
longEnemySpells = {},
|
|
friendlySpells = {},
|
|
resSpells = {},
|
|
petSpells = {
|
|
[136] = true, -- Mend Pet (45 yards)
|
|
[1100136] = true, -- Mend Pet (45 yards)
|
|
},
|
|
},
|
|
DEATHKNIGHT = {
|
|
enemySpells = {
|
|
[49576] = true, -- Death Grip (30 yards)
|
|
[1149576] = true, -- Death Grip (30 yards)
|
|
},
|
|
longEnemySpells = {},
|
|
friendlySpells = {
|
|
[47541] = true, -- Death Coil (40 yards)
|
|
[1147541] = true, -- Death Coil (40 yards)
|
|
},
|
|
resSpells = {
|
|
[61999] = true, -- Raise Ally (30 yards)
|
|
[1161999] = true, -- Raise Ally (30 yards)
|
|
},
|
|
petSpells = {},
|
|
},
|
|
ROGUE = {
|
|
enemySpells = {
|
|
[2094] = true, -- Blind (10 yards)
|
|
[1102094] = true, -- Blind (10 yards)
|
|
},
|
|
longEnemySpells = {
|
|
[26679] = true, -- Deadly Throw (30 yards)
|
|
[1126679] = true, -- Deadly Throw (30 yards)
|
|
},
|
|
friendlySpells = {
|
|
[57934] = true, -- Tricks of the Trade (20 yards)
|
|
[1157934] = true, -- Tricks of the Trade (20 yards)
|
|
},
|
|
resSpells = {},
|
|
petSpells = {},
|
|
},
|
|
WARRIOR = {
|
|
enemySpells = {
|
|
[5246] = true, -- Intimidating Shout (8 yards)
|
|
[1105246] = true, -- Intimidating Shout (8 yards)
|
|
[100] = true, -- Charge (25 yards)
|
|
[1100100] = true, -- Charge (25 yards)
|
|
},
|
|
longEnemySpells = {
|
|
[355] = true, -- Taunt (30 yards)
|
|
[1100355] = true, -- Taunt (30 yards)
|
|
},
|
|
friendlySpells = {
|
|
[3411] = true, -- Intervene (25 yards)
|
|
[1103411] = true, -- Intervene (25 yards)
|
|
},
|
|
resSpells = {},
|
|
petSpells = {},
|
|
},
|
|
HERO = {
|
|
enemySpells = {
|
|
[5246] = true, -- Intimidating Shout (8 yards)
|
|
[20271] = true, -- Judgement of Light (10 yards)
|
|
[53408] = true, -- Judgement of Wisdom (10 yards)
|
|
[53407] = true, -- Judgement of Justice (10 yards)
|
|
[2094] = true, -- Blind (10 yards)
|
|
[2136] = true, -- Fire Blast (20 yards)
|
|
[33786] = true, -- Cyclone (20 yards)
|
|
[51514] = true, -- Hex (20 yards)
|
|
[5782] = true, -- Fear (25 yards)
|
|
[8056] = true, -- Frost Shock (25 yards)
|
|
[100] = true, -- Charge (25 yards)
|
|
[49376] = true, -- Feral Charge (25 yards)
|
|
},
|
|
longEnemySpells = {
|
|
[1120] = true, -- Drain Soul (30 yards)
|
|
[20473] = true, -- Holy Shock (30 yards)
|
|
[53005] = true, -- Penance (30 yards)
|
|
[8042] = true, -- Earth Shock (30 yards)
|
|
[8050] = true, -- Flame Shock (30 yards)
|
|
[5176] = true, -- Wrath (30 yards)
|
|
[14914] = true, -- Holy Fire (30 yards)
|
|
[585] = true, -- Smite (30 yards)
|
|
[589] = true, -- Shadow Word: Pain (30 yards)
|
|
[879] = true, -- Exorcism (30 yards)
|
|
[403] = true, -- Lightning Bolt (30 yards)
|
|
[686] = true, -- Shadow Bolt (30 yards)
|
|
[49576] = true, -- Death Grip (30 yards)
|
|
[2948] = true, -- Scorch (30 yards)
|
|
[116] = true, -- Frostbolt (30 yards)
|
|
[133] = true, -- Fireball (30 yards)
|
|
[5143] = true, -- Arcane Missiles (30 yards)
|
|
[12826] = true, -- Polymorph (30 yards)
|
|
[8092] = true, -- Mind Blast (30 yards)
|
|
[585] = true, -- Smite (30 yards)
|
|
[26679] = true, -- Deadly Throw (30 yards)
|
|
[355] = true, -- Taunt (30 yards)
|
|
[75] = true, -- Auto Shot (35 yards)
|
|
[44614] = true, -- Frostfire Bolt (40 yards)
|
|
},
|
|
friendlySpells = {
|
|
[57934] = true, -- Tricks of the Trade (20 yards)
|
|
[3411] = true, -- Intervene (25 yards)
|
|
[5697] = true, -- Unending Breath (30 yards)
|
|
[5185] = true, -- Healing Touch (40 yards)
|
|
[774] = true, -- Rejuvenation (40 yards)
|
|
[8936] = true, -- Regrowth (40 yards)
|
|
[635] = true, -- Holy Light (40 yards)
|
|
[19750] = true, -- Flash of Light (40 yards)
|
|
[2050] = true, -- Greater Heal (40 yards)
|
|
[139] = true, -- Renew (40 yards)
|
|
[2061] = true, -- Flash Heal (40 yards)
|
|
[20473] = true, -- Holy Shock (40 yards)
|
|
[17] = true, -- Power Word: Shield (40 yards)
|
|
[331] = true, -- Healing Wave (40 yards)
|
|
[8004] = true, -- Lesser Healing Wave (40 yards)
|
|
[475] = true, -- Remove Curse (40 yards)
|
|
[4987] = true, -- Cleanse (40 yards)
|
|
[47541] = true, -- Death Coil (40 yards)
|
|
[53005] = true, -- Penance (40 yards)
|
|
},
|
|
resSpells = {
|
|
[50769] = true, -- Revive (30 yards)
|
|
[20484] = true, -- Rebirth (30 yards)
|
|
[2006] = true, -- Resurrection (30 yards)
|
|
[7328] = true, -- Redemption (30 yards)
|
|
[2008] = true, -- Ancestral Spirit (30 yards)
|
|
[61999] = true, -- Raise Ally (30 yards)
|
|
},
|
|
petSpells = {
|
|
[53271] = true, -- Master's Call (25 yards)
|
|
[755] = true, -- Health Funnel (45 yards)
|
|
[136] = true, -- Mend Pet (45 yards)
|
|
[34026] = true, -- Kill Command (45 yards)
|
|
},
|
|
},
|
|
NECROMANCER = {
|
|
enemySpells = { -- Damage Spells
|
|
[804558] = true, -- Putrefy
|
|
},
|
|
longEnemySpells = {}, -- Dots
|
|
friendlySpells = {}, -- Heals
|
|
resSpells = {}, -- Rez Spells
|
|
petSpells = {}, -- Pet Abilities
|
|
},
|
|
PYROMANCER = {
|
|
enemySpells = { -- Damage Spells
|
|
[800790] = true, -- Scorching Ray
|
|
},
|
|
longEnemySpells = {}, -- Dots
|
|
friendlySpells = {}, -- Heals
|
|
resSpells = {}, -- Rez Spells
|
|
petSpells = {}, -- Pet Abilities
|
|
},
|
|
CULTIST = {
|
|
enemySpells = { -- Damage Spells
|
|
[801964] = true, -- Eldritch Strike
|
|
},
|
|
longEnemySpells = {}, -- Dots
|
|
friendlySpells = {}, -- Heals
|
|
resSpells = {}, -- Rez Spells
|
|
petSpells = {}, -- Pet Abilities
|
|
},
|
|
STARCALLER = {
|
|
enemySpells = { -- Damage Spells
|
|
[801127] = true, --Starsunder
|
|
},
|
|
longEnemySpells = {}, -- Dots
|
|
friendlySpells = {}, -- Heals
|
|
resSpells = {}, -- Rez Spells
|
|
petSpells = {}, -- Pet Abilities
|
|
},
|
|
SUNCLERIC = {
|
|
enemySpells = { -- Damage Spells
|
|
[800611] = true, -- Gavel of Atonement
|
|
},
|
|
longEnemySpells = {}, -- Dots
|
|
friendlySpells = {}, -- Heals
|
|
resSpells = {}, -- Rez Spells
|
|
petSpells = {}, -- Pet Abilities
|
|
},
|
|
TINKER = {
|
|
enemySpells = { -- Damage Spells
|
|
[500234] = true, -- Blackpowder Shot
|
|
},
|
|
longEnemySpells = {}, -- Dots
|
|
friendlySpells = {}, -- Heals
|
|
resSpells = {}, -- Rez Spells
|
|
petSpells = {}, -- Pet Abilities
|
|
},
|
|
SPIRITMAGE = {
|
|
enemySpells = { -- Damage Spells
|
|
[802202] = true, -- Spellsling
|
|
},
|
|
longEnemySpells = {}, -- Dots
|
|
friendlySpells = {}, -- Heals
|
|
resSpells = {}, -- Rez Spells
|
|
petSpells = {}, -- Pet Abilities
|
|
},
|
|
WILDWALKER = {
|
|
enemySpells = { -- Damage Spells
|
|
[800093] = true, -- Stoneslam
|
|
},
|
|
longEnemySpells = {}, -- Dots
|
|
friendlySpells = {}, -- Heals
|
|
resSpells = {}, -- Rez Spells
|
|
petSpells = {}, -- Pet Abilities
|
|
},
|
|
REAPER = {
|
|
enemySpells = { -- Damage Spells
|
|
[500357] = true, -- Reap
|
|
},
|
|
longEnemySpells = {}, -- Dots
|
|
friendlySpells = {}, -- Heals
|
|
resSpells = {}, -- Rez Spells
|
|
petSpells = {}, -- Pet Abilities
|
|
},
|
|
PROPHET = {
|
|
enemySpells = { -- Damage Spells
|
|
[800869] = true, -- Venom Bolt
|
|
},
|
|
longEnemySpells = {}, -- Dots
|
|
friendlySpells = {}, -- Heals
|
|
resSpells = {}, -- Rez Spells
|
|
petSpells = {}, -- Pet Abilities
|
|
},
|
|
CHRONOMANCER = {
|
|
enemySpells = { -- Damage Spells
|
|
[804464] = true, -- Sandblast
|
|
},
|
|
longEnemySpells = {}, -- Dots
|
|
friendlySpells = {}, -- Heals
|
|
resSpells = {}, -- Rez Spells
|
|
petSpells = {}, -- Pet Abilities
|
|
},
|
|
SONOFARUGAL = {
|
|
enemySpells = { -- Damage Spells
|
|
[500125] = true, -- Bloodmoon Blast
|
|
},
|
|
longEnemySpells = {}, -- Dots
|
|
friendlySpells = {}, -- Heals
|
|
resSpells = {}, -- Rez Spells
|
|
petSpells = {}, -- Pet Abilities
|
|
},
|
|
GUARDIAN = {
|
|
enemySpells = { -- Damage Spells
|
|
[500155] = true, -- Arcing Strike
|
|
},
|
|
longEnemySpells = {}, -- Dots
|
|
friendlySpells = {}, -- Heals
|
|
resSpells = {}, -- Rez Spells
|
|
petSpells = {}, -- Pet Abilities
|
|
},
|
|
STORMBRINGER = {
|
|
enemySpells = { -- Damage Spells
|
|
[804020] = true, -- Voltaic Burst
|
|
},
|
|
longEnemySpells = {}, -- Dots
|
|
friendlySpells = {}, -- Heals
|
|
resSpells = {}, -- Rez Spells
|
|
petSpells = {}, -- Pet Abilities
|
|
},
|
|
DEMONHUNTER = {
|
|
enemySpells = { -- Damage Spells
|
|
[801901] = true, -- Twin Slice
|
|
},
|
|
longEnemySpells = {}, -- Dots
|
|
friendlySpells = {}, -- Heals
|
|
resSpells = {}, -- Rez Spells
|
|
petSpells = {}, -- Pet Abilities
|
|
},
|
|
BARBARIAN = {
|
|
enemySpells = { -- Damage Spells
|
|
[801576] = true, -- Ancestral Strike
|
|
},
|
|
longEnemySpells = {}, -- Dots
|
|
friendlySpells = {}, -- Heals
|
|
resSpells = {}, -- Rez Spells
|
|
petSpells = {}, -- Pet Abilities
|
|
},
|
|
WITCHDOCTOR = {
|
|
enemySpells = { -- Damage Spells
|
|
[500017] = true, -- Voodoo Serpent Beam
|
|
},
|
|
longEnemySpells = {}, -- Dots
|
|
friendlySpells = {}, -- Heals
|
|
resSpells = {}, -- Rez Spells
|
|
petSpells = {}, -- Pet Abilities
|
|
},
|
|
WITCHHUNTER = {
|
|
enemySpells = { -- Damage Spells
|
|
[500082] = true, -- Coiling Shot
|
|
},
|
|
longEnemySpells = {}, -- Dots
|
|
friendlySpells = {}, -- Heals
|
|
resSpells = {}, -- Rez Spells
|
|
petSpells = {}, -- Pet Abilities
|
|
},
|
|
FLESHWARDEN = {
|
|
enemySpells = { -- Damage Spells
|
|
[500904] = true, -- Demonstrike
|
|
},
|
|
longEnemySpells = {}, -- Dots
|
|
friendlySpells = {}, -- Heals
|
|
resSpells = {}, -- Rez Spells
|
|
petSpells = {}, -- Pet Abilities
|
|
},
|
|
MONK = {
|
|
enemySpells = { -- Damage Spells
|
|
[704572] = true, -- Jab
|
|
},
|
|
longEnemySpells = {}, -- Dots
|
|
friendlySpells = {}, -- Heals
|
|
resSpells = {}, -- Rez Spells
|
|
petSpells = {}, -- Pet Abilities
|
|
},
|
|
RANGER = {
|
|
enemySpells = { -- Damage Spells
|
|
[500074] = true, -- Quick Shot
|
|
},
|
|
longEnemySpells = {}, -- Dots
|
|
friendlySpells = {}, -- Heals
|
|
resSpells = {}, -- Rez Spells
|
|
petSpells = {}, -- Pet Abilities
|
|
},
|
|
}
|
|
}
|
|
|
|
G.profileCopy = {
|
|
--Specific values
|
|
selected = "Minimalistic",
|
|
movers = {},
|
|
--Modules
|
|
actionbar = {
|
|
general = true,
|
|
bar1 = true,
|
|
bar2 = true,
|
|
bar3 = true,
|
|
bar4 = true,
|
|
bar5 = true,
|
|
bar6 = true,
|
|
barPet = true,
|
|
stanceBar = true,
|
|
microbar = true,
|
|
cooldown = true
|
|
},
|
|
auras = {
|
|
general = true,
|
|
buffs = true,
|
|
debuffs = true,
|
|
cooldown = true
|
|
},
|
|
bags = {
|
|
general = true,
|
|
split = true,
|
|
bagBar = true,
|
|
cooldown = true
|
|
},
|
|
chat = {
|
|
general = true
|
|
},
|
|
cooldown = {
|
|
general = true,
|
|
fonts = true
|
|
},
|
|
databars = {
|
|
experience = true,
|
|
reputation = true
|
|
},
|
|
datatexts = {
|
|
general = true,
|
|
panels = true
|
|
},
|
|
general = {
|
|
general = true,
|
|
minimap = true,
|
|
threat = true,
|
|
totems = true
|
|
},
|
|
nameplates = {
|
|
general = true,
|
|
cooldown = true,
|
|
reactions = true,
|
|
threat = true,
|
|
units = {
|
|
FRIENDLY_PLAYER = true,
|
|
ENEMY_PLAYER = true,
|
|
FRIENDLY_NPC = true,
|
|
ENEMY_NPC = true
|
|
}
|
|
},
|
|
tooltip = {
|
|
general = true,
|
|
visibility = true,
|
|
healthBar = true
|
|
},
|
|
unitframe = {
|
|
general = true,
|
|
cooldown = true,
|
|
colors = {
|
|
general = true,
|
|
power = true,
|
|
reaction = true,
|
|
healPrediction = true,
|
|
classResources = true,
|
|
frameGlow = true,
|
|
debuffHighlight = true
|
|
},
|
|
units = {
|
|
player = true,
|
|
target = true,
|
|
targettarget = true,
|
|
targettargettarget = true,
|
|
focus = true,
|
|
focustarget = true,
|
|
pet = true,
|
|
pettarget = true,
|
|
boss = true,
|
|
arena = true,
|
|
party = true,
|
|
raid = true,
|
|
raid40 = true,
|
|
raidpet = true,
|
|
tank = true,
|
|
assist = true
|
|
}
|
|
}
|
|
}
|