profile.lua 11.8 KB
Newer Older
Merathilis's avatar
Merathilis committed
1
local MER, E, L, V, P, G = unpack(select(2, ...))
2

3 4 5
----------------------------------------------------------------------------------------
--	Core options
----------------------------------------------------------------------------------------
Merathilis's avatar
Merathilis committed
6 7
P.mui = {}
local MP = P.mui
8

Merathilis's avatar
Merathilis committed
9
MP.core = {
Merathilis's avatar
Merathilis committed
10
	installed = nil,
Merathilis's avatar
Merathilis committed
11
}
12

Merathilis's avatar
Merathilis committed
13
MP.general = {
Merathilis's avatar
Merathilis committed
14 15 16 17 18 19 20
	LoginMsg = true,
	GameMenu = true,
	splashScreen = true,
	AFK = true,
	FlightMode = true,
	FlightPoint = true,
	CombatState = true,
Merathilis's avatar
Merathilis committed
21
	Movertransparancy = .75,
Merathilis's avatar
Merathilis committed
22
	style = true,
Merathilis's avatar
Merathilis committed
23 24 25 26 27
	panels = true,
	shadowOverlay = true,
	filterErrors = true,
	hideErrorFrame = true,
}
28

Merathilis's avatar
Merathilis committed
29 30 31
MP.bags = {
	equipOverlay = true,
}
32

Merathilis's avatar
Merathilis committed
33 34 35 36 37
MP.merchant = {
	enable = true,
	style = "Default",
	subpages = 2,
}
38

Merathilis's avatar
Merathilis committed
39 40 41 42 43 44
MP.chat = {
	chatButton = true,
	hidePlayerBrackets = true,
	hideChat = false,
	chatBar = false,
	emotes = true,
45 46 47 48
	filter = {
		enable = true,
		itemLevel = true,
	},
Merathilis's avatar
Merathilis committed
49
}
50

Merathilis's avatar
Merathilis committed
51 52 53 54 55
MP.colors = {
	styleAlpha = 1,
}

MP.misc = {
Merathilis's avatar
Merathilis committed
56 57
	MailInputbox = true,
	gmotd = true,
Merathilis's avatar
Merathilis committed
58
	quest = false,
Merathilis's avatar
Merathilis committed
59
	announce = true,
Merathilis's avatar
Merathilis committed
60 61 62 63 64
	cursor = false,
	raidInfo = true,
	lfgInfo = true,
	alerts = {
		lfg = false,
Merathilis's avatar
Merathilis committed
65
	},
Merathilis's avatar
Merathilis committed
66 67 68
	paragon = {
		enable = true,
		textStyle = "PARAGON",
69
		paragonColor = {r = 0.9, g = 0.8, b = 0.6},
Merathilis's avatar
Merathilis committed
70
	},
71
	skipAzerite = true,
Merathilis's avatar
Merathilis committed
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
}

MP.nameHover = {
	enable = true,
	fontSize = 7,
	fontOutline = "OUTLINE",
}

MP.notification = {
	enable = true,
	noSound = false,
	mail = true,
	vignette = true,
	invites = true,
	guildEvents = true,
87
	paragon = true,
Merathilis's avatar
Merathilis committed
88
}
Merathilis's avatar
Merathilis committed
89

90
MP.databars = {}
91

Merathilis's avatar
Merathilis committed
92 93 94 95 96 97 98 99 100 101 102
MP.datatexts = {
	panels = {
		ChatTab_Datatext_Panel = {
			left = "Durability",
			middle = "Bags",
			right = "Coords",
		},
		mUIMiddleDTPanel = {
			left = "Guild",
			middle = "MUI System",
			right = "Friends",
103
		},
104
	},
Merathilis's avatar
Merathilis committed
105
	middle = {
Merathilis's avatar
Merathilis committed
106
		enable = true,
Merathilis's avatar
Merathilis committed
107 108 109 110
		transparent = true,
		backdrop = false,
		width = 495,
		height = 18,
111
	},
Merathilis's avatar
Merathilis committed
112 113 114 115
	rightChatTabDatatextPanel = {
		enable = true,
	},
	threatBar = {
Merathilis's avatar
Merathilis committed
116
		enable = true,
Merathilis's avatar
Merathilis committed
117 118
		textSize = 10,
		textOutline = "OUTLINE",
Merathilis's avatar
Merathilis committed
119
	},
Merathilis's avatar
Merathilis committed
120
}
Merathilis's avatar
Merathilis committed
121

Merathilis's avatar
Merathilis committed
122 123 124 125 126
MP.actionbars = {
	cleanButton = true,
	specBar = {
		enable = true,
		mouseover = false,
Merathilis's avatar
Merathilis committed
127
		size = 20,
Merathilis's avatar
Merathilis committed
128 129 130 131
	},
	equipBar = {
		enable = true,
		mouseover = false,
Merathilis's avatar
Merathilis committed
132
		size = 28,
Merathilis's avatar
Merathilis committed
133 134 135 136 137 138
	},
	autoButtons = {
		enable = true,
		bindFontSize = 12,
		countFontSize = 12,
		soltAutoButtons = {
Merathilis's avatar
Merathilis committed
139
			enable = true,
Merathilis's avatar
Merathilis committed
140 141
			slotBBColorByItem = true,
			slotBBColor = {r = 1, g = 1, b = 1, a = 1},
Merathilis's avatar
Merathilis committed
142 143
			slotSpace = 1,
			slotDirection = "RIGHT",
Merathilis's avatar
Merathilis committed
144 145 146
			slotNum = 5,
			slotPerRow = 5,
			slotSize = 40,
147
		},
Merathilis's avatar
Merathilis committed
148
		questAutoButtons = {
Merathilis's avatar
Merathilis committed
149
			enable = true,
Merathilis's avatar
Merathilis committed
150 151
			questBBColorByItem = true,
			questBBColor = {r = 1, g = 1, b = 1, a = 1},
Merathilis's avatar
Merathilis committed
152 153
			questSpace = 1,
			questDirection = "RIGHT",
Merathilis's avatar
Merathilis committed
154 155 156
			questNum = 5,
			questPerRow = 5,
			questSize = 40,
157
		},
158 159 160 161 162 163 164 165 166 167
		usableAutoButtons = {
			enable = true,
			usableBBColorByItem = true,
			usableBBColor = {r = 1, g = 1, b = 1, a = 1},
			usableSpace = 1,
			usableDirection = "RIGHT",
			usableNum = 5,
			usablePerRow = 5,
			usableSize = 40,
		},
Merathilis's avatar
Merathilis committed
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218
		whiteList = {
			[5512] = true, -- Healthstone
			[49040] = true, -- Jeeves
			[132514] = true, -- Auto-Hammer

			--Guild and Honor
			[63359] = true, -- Banner of Cooperation
			[64398] = true, -- Standard of Unity
			[64399] = true, -- Battle Standard of Coordination
			[18606] = true, -- Alliance Battle Standard
			[64400] = true, -- Banner of Cooperation
			[64401] = true, -- Standard of Unity
			[64402] = true, -- Battle Standard of Coordination
			[18607] = true, -- Horde Battle Standard

			--Legion
			[118330] = true, -- Pile of Weapons
			[122100] = true, -- Soul Gem
			[127030] = true, -- Granny"s Flare Grenades
			[127295] = true, -- Blazing Torch
			[128651] = true, -- Critter Hand Cannon
			[128772] = true, -- Branch of the Runewood
			[129161] = true, -- Stormforged Horn
			[129725] = true, -- Smoldering Torch
			[131931] = true, -- Khadgar"s Wand
			[133756] = true, -- Fresh Mound of Flesh
			[133882] = true, -- Trap Rune
			[133897] = true, -- Telemancy Beacon
			[133925] = true, -- Fel Lash
			[133999] = true, -- Inert Crystal
			[136605] = true, -- Solendra"s Compassion
			[137299] = true, -- Nightborne Spellblad
			[138146] = true, -- Rediant Ley Crystal
			[140916] = true, -- Satchel of Locklimb Powder
			[109076] = true, -- Goblin Glider Kit
			[147707] = true, -- Repurposed Fel Focuser
			[142117] = true, -- Potion of Prolonged Power
			[153023] = true, -- Lightforged Augment Rune

			--BFA
			[152494] = true, -- Coastal Healing Potion
			[152495] = true, -- Coastal Mana Potion
			[160053] = true, -- Battle-Scarred Augment Rune
			[163224] = true, -- Battle Potion of Strength
			[163223] = true, -- Battle Potion of Agility
			[163222] = true, -- Battle Potion of Intellect
			[163225] = true, -- Battle Potion of Stamina
			[168500] = true, -- Superior Battle Potion of Strength
			[168489] = true, -- Superior Battle Potion of Agility
			[168498] = true, -- Superior Battle Potion of Intellect
			[168499] = true, -- Superior Battle Potion of Stamina
219
			[169299] = true, -- Potion of Unbridled Fury
Merathilis's avatar
Merathilis committed
220 221 222 223
		},
		blackList = {},
		blackitemID = "",
		whiteItemID = "",
Merathilis's avatar
Merathilis committed
224 225
	},
}
226

Merathilis's avatar
Merathilis committed
227 228 229 230 231 232 233 234 235 236
MP.microBar = {
	enable = true,
	scale = 1,
	hideInCombat = true,
	hideInOrderHall = false,
	tooltip = true,
	text = {
		position = "BOTTOM",
		friends = true,
		guild = true,
237
	},
Merathilis's avatar
Merathilis committed
238
}
239

Merathilis's avatar
Merathilis committed
240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259
MP.unitframes = {
	AuraIconSpacing = {
		spacing = 1,
		units = {
			player = true,
			target = true,
			targettarget = true,
			targettargettarget = true,
			focus = true,
			focustarget = true,
			pet = true,
			pettarget = true,
			arena = true,
			boss = true,
			party = true,
			raid = true,
			raid40 = true,
			raidpet = true,
			tank = true,
			assist = true,
260
		},
Merathilis's avatar
Merathilis committed
261
	},
Merathilis's avatar
Merathilis committed
262 263
	infoPanel = {
		style = true,
264
	},
Merathilis's avatar
Merathilis committed
265 266 267 268 269
	castbar = {
		text = {
			ShowInfoText = false,
			castText = true,
			forceTargetText = false,
Merathilis's avatar
Merathilis committed
270
			player = {
Merathilis's avatar
Merathilis committed
271 272 273 274 275 276
				yOffset = 0,
				textColor = {r = 1, g = 1, b = 1, a = 1},
			},
			target = {
				yOffset = 0,
				textColor = {r = 1, g = 1, b = 1, a = 1},
Merathilis's avatar
Merathilis committed
277 278
			},
		},
279
	},
Merathilis's avatar
Merathilis committed
280 281 282 283 284 285
	textures = {
		castbar = "MerathilisFlat",
	},
	units = {
		player = {
			gcd = {
Merathilis's avatar
Merathilis committed
286
				enable = true,
287
			},
288 289
		},
	},
Merathilis's avatar
Merathilis committed
290
}
Merathilis's avatar
Merathilis committed
291

Merathilis's avatar
Merathilis committed
292 293 294
MP.maps = {
	minimap = {
		flash = true,
295
		difficulty = true,
Merathilis's avatar
Merathilis committed
296
		coords = {
297
			enable = true,
Merathilis's avatar
Merathilis committed
298
			position = "BOTTOM",
299
		},
Merathilis's avatar
Merathilis committed
300 301 302 303 304
		ping = {
			enable = true,
			position = "TOP",
			xOffset = 0,
			yOffset = -20,
Merathilis's avatar
Merathilis committed
305 306
		},
	},
Merathilis's avatar
Merathilis committed
307
}
Merathilis's avatar
Merathilis committed
308

Merathilis's avatar
Merathilis committed
309 310
MP.media = {
	zoneText = {
Merathilis's avatar
Merathilis committed
311
		enable = true,
Merathilis's avatar
Merathilis committed
312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329
		zone = {
			font = "Expressway",
			size = 32,
			outline = "OUTLINE",
			width = 512,
		},
		subzone = {
			font = "Expressway",
			size = 25,
			outline = "OUTLINE",
			width = 512,
		},
		pvp = {
			font = "Expressway",
			size = 22,
			outline = "OUTLINE",
			width = 512,
		},
330
	},
Merathilis's avatar
Merathilis committed
331 332
	miscText = {
		mail = {
Merathilis's avatar
Merathilis committed
333
			enable = true,
Merathilis's avatar
Merathilis committed
334 335 336
			font = "Expressway",
			size = 12,
			outline = "NONE",
337
		},
Merathilis's avatar
Merathilis committed
338
		editbox = {
Merathilis's avatar
Merathilis committed
339
			enable = true,
Merathilis's avatar
Merathilis committed
340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366
			font = "Expressway",
			size = 12,
			outline = "NONE",
		},
		gossip = {
			enable = true,
			font = "Expressway",
			size = 12,
			outline = "NONE",
		},
		objective = {
			enable = true,
			font = "Expressway",
			size = 11,
			outline = "NONE",
		},
		objectiveHeader = {
			enable = true,
			font = "Expressway",
			size = 14,
			outline = "OUTLINE",
		},
		questFontSuperHuge = {
			enable = true,
			font = "Expressway",
			size = 24,
			outline = "NONE",
Merathilis's avatar
Merathilis committed
367
		},
368
	},
Merathilis's avatar
Merathilis committed
369
}
370

Merathilis's avatar
Merathilis committed
371 372
MP.smb = {
	enable = true,
373 374 375
	position = "TOPRIGHT",
	xOffset = 10,
	yOffset = 20,
376
	size = 34,
Merathilis's avatar
Merathilis committed
377
}
378

Merathilis's avatar
Merathilis committed
379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399
MP.locPanel = {
	enable = true,
	autowidth = false,
	width = 336,
	height = 21,
	linkcoords = true,
	template = "Transparent",
	font = "Expressway",
	fontSize = 11,
	fontOutline = "OUTLINE",
	throttle = 0.2,
	format = "%.0f",
	zoneText = true,
	colorType = "REACTION",
	colorType_Coords = "DEFAULT",
	customColor = {r = 1, g = 1, b = 1 },
	customColor_Coords = {r = 1, g = 1, b = 1 },
	combathide = true,
	orderhallhide = false,
	coordshide = false,
	portals = {
Merathilis's avatar
Merathilis committed
400
		enable = true,
Merathilis's avatar
Merathilis committed
401 402 403 404 405 406 407
		HSplace = true,
		customWidth = false,
		customWidthValue = 200,
		justify = "LEFT",
		cdFormat = "DEFAULT",
		ignoreMissingInfo = false,
		showHearthstones = true,
408
		hsPrio = "54452,64488,93672,142542,162973,163045,165669,165670,165802,166746,166747",
Merathilis's avatar
Merathilis committed
409 410 411
		showToys = true,
		showSpells = true,
		showEngineer = true,
412
	},
Merathilis's avatar
Merathilis committed
413
}
414

Merathilis's avatar
Merathilis committed
415 416 417 418 419 420 421 422 423 424 425 426 427 428
MP.raidmarkers = {
	enable = true,
	visibility = "INPARTY",
	customVisibility = "[noexists, nogroup] hide; show",
	backdrop = false,
	buttonSize = 18,
	spacing = 2,
	orientation = "HORIZONTAL",
	modifier = "shift-",
	reverse = false,
}

MP.tooltip = {
	tooltip = true,
Merathilis's avatar
Merathilis committed
429 430 431 432
	achievement = true,
	petIcon = true,
	factionIcon = true,
	keystone = true,
Merathilis's avatar
Merathilis committed
433 434 435 436
	azerite = {
		enable = true,
		onlyIcons = false,
	},
Merathilis's avatar
Merathilis committed
437 438
	titleColor = true,
	progressInfo = {
Merathilis's avatar
Merathilis committed
439
		enable = true,
Merathilis's avatar
Merathilis committed
440 441 442
		raid = {
			enable = true,
			Uldir = false,
443
			BattleOfDazaralor = false,
Merathilis's avatar
Merathilis committed
444
			CrucibleOfStorms = true,
445
			EternalPalace = true,
Merathilis's avatar
Merathilis committed
446
		}
Merathilis's avatar
Merathilis committed
447
	},
Merathilis's avatar
Merathilis committed
448
}
Merathilis's avatar
Merathilis committed
449

Merathilis's avatar
Merathilis committed
450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505
MP.errorFilters = {
	[INTERRUPTED] = false,
	[ERR_ABILITY_COOLDOWN] = true,
	[ERR_ATTACK_CHANNEL] = false,
	[ERR_ATTACK_CHARMED] = false,
	[ERR_ATTACK_CONFUSED] = false,
	[ERR_ATTACK_DEAD] = false,
	[ERR_ATTACK_FLEEING] = false,
	[ERR_ATTACK_MOUNTED] = true,
	[ERR_ATTACK_PACIFIED] = false,
	[ERR_ATTACK_STUNNED] = false,
	[ERR_ATTACK_NO_ACTIONS] = false,
	[ERR_AUTOFOLLOW_TOO_FAR] = false,
	[ERR_BADATTACKFACING] = false,
	[ERR_BADATTACKPOS] = false,
	[ERR_CLIENT_LOCKED_OUT] = false,
	[ERR_GENERIC_NO_TARGET] = true,
	[ERR_GENERIC_NO_VALID_TARGETS] = true,
	[ERR_GENERIC_STUNNED] = false,
	[ERR_INVALID_ATTACK_TARGET] = true,
	[ERR_ITEM_COOLDOWN] = true,
	[ERR_NOEMOTEWHILERUNNING] = false,
	[ERR_NOT_IN_COMBAT] = false,
	[ERR_NOT_WHILE_DISARMED] = false,
	[ERR_NOT_WHILE_FALLING] = false,
	[ERR_NOT_WHILE_MOUNTED] = true,
	[ERR_NO_ATTACK_TARGET] = true,
	[ERR_OUT_OF_ENERGY] = true,
	[ERR_OUT_OF_FOCUS] = true,
	[ERR_OUT_OF_MANA] = true,
	[ERR_OUT_OF_RAGE] = true,
	[ERR_OUT_OF_RANGE] = true,
	[ERR_OUT_OF_RUNES] = true,
	[ERR_OUT_OF_RUNIC_POWER] = true,
	[ERR_SPELL_COOLDOWN] = true,
	[ERR_SPELL_OUT_OF_RANGE] = false,
	[ERR_TOO_FAR_TO_INTERACT] = false,
	[ERR_USE_BAD_ANGLE] = false,
	[ERR_USE_CANT_IMMUNE] = false,
	[ERR_USE_TOO_FAR] = false,
	[SPELL_FAILED_BAD_IMPLICIT_TARGETS] = true,
	[SPELL_FAILED_BAD_TARGETS] = true,
	[SPELL_FAILED_CASTER_AURASTATE] = true,
	[SPELL_FAILED_NO_COMBO_POINTS] = true,
	[SPELL_FAILED_SPELL_IN_PROGRESS] = true,
	[SPELL_FAILED_TARGET_AURASTATE] = true,
	[SPELL_FAILED_TOO_CLOSE] = false,
	[SPELL_FAILED_UNIT_NOT_INFRONT] = false,
	[SPELL_FAILED_NOT_ON_MOUNTED] = true,
	[SPELL_FAILED_NOT_MOUNTED] = true,
}

MP.raidBuffs = {
	enable = true,
	visibility = "INPARTY",
	class = true,
506
	size = 30,
Merathilis's avatar
Merathilis committed
507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522
	alpha = 0.3,
	glow = true,
	customVisibility = "[noexists, nogroup] hide; show",
}

MP.reminder = {
	enable = true,
	size = 30,
}

MP.nameplates = {
	castbarShield = true,
	enhancedAuras = {
		enable = true,
		width = 26,
		height = 18,
Merathilis's avatar
Merathilis committed
523
	},
Merathilis's avatar
Merathilis committed
524
}
Merathilis's avatar
Merathilis committed
525

Merathilis's avatar
Merathilis committed
526 527 528 529 530 531 532 533
MP.cooldownFlash = {
	enable = true,
	fadeInTime = 0.3,
	fadeOutTime = 0.6,
	maxAlpha = 0.8,
	animScale = 1.5,
	iconSize = 40,
	holdTime = 0.3,
Merathilis's avatar
Merathilis committed
534 535 536
	petOverlay = {1, 1, 1},
	ignoredSpells = "",
	invertIgnored = false,
Merathilis's avatar
Merathilis committed
537 538
	enablePet = false,
	showSpellName = false,
Merathilis's avatar
Merathilis committed
539 540
	x = UIParent:GetWidth()*UIParent:GetEffectiveScale()/2,
	y = UIParent:GetHeight()*UIParent:GetEffectiveScale()/2,
Merathilis's avatar
Merathilis committed
541
}
542

Merathilis's avatar
Merathilis committed
543 544 545 546 547 548 549 550 551 552 553 554 555 556 557
MP.raidCD = {
	enable = true,
	width = 200,
	height = 16,
	upwards = false,
	expiration = false,
	show_self = true,
	show_icon = true,
	show_inparty = false,
	show_inraid = true,
	show_inarena = false,
	text = {
		font = "Expressway",
		fontSize = 10,
		fontOutline = "OUTLINE",
Merathilis's avatar
Merathilis committed
558
	},
Merathilis's avatar
Merathilis committed
559
}
560

Merathilis's avatar
Merathilis committed
561 562 563 564 565
MP.armory = {
	enable = true,
	azeritebtn = true,
	undressButton = true,
	durability = {
Merathilis's avatar
Merathilis committed
566
		enable = true,
Merathilis's avatar
Merathilis committed
567 568 569 570 571 572 573 574
		onlydamaged = true,
		font = "Expressway",
		textSize = 11,
		fontOutline = "OUTLINE",
	},
	stats = {
		OnlyPrimary = true,
		statFonts = {
Merathilis's avatar
Merathilis committed
575
			font = "Expressway",
Merathilis's avatar
Merathilis committed
576 577
			size = 11,
			outline = "OUTLINE",
Merathilis's avatar
Merathilis committed
578
		},
Merathilis's avatar
Merathilis committed
579 580 581 582
		catFonts = {
			font = "Expressway",
			size = 12,
			outline = "OUTLINE",
Merathilis's avatar
Merathilis committed
583
		},
Merathilis's avatar
Merathilis committed
584 585 586 587 588 589 590 591 592 593 594 595
		List = {
			HEALTH = false,
			POWER = false,
			ALTERNATEMANA = false,
			ATTACK_DAMAGE = false,
			ATTACK_AP = false,
			ATTACK_ATTACKSPEED = false,
			SPELLPOWER = false,
			ENERGY_REGEN = false,
			RUNE_REGEN = false,
			FOCUS_REGEN = false,
			MOVESPEED = false,
596
		},
597
	},
Merathilis's avatar
Merathilis committed
598 599 600 601 602 603 604 605 606 607 608
	gradient = {
		enable = true,
		colorStyle = "VALUE",
		color = {r = 1, g = 1, b = 0},
	},
	transmog = {
		enable = true,
	},
	illusion = {
		enable = true,
	},
Merathilis's avatar
Merathilis committed
609
}