Repository navigation
Expand file tree
/
Copy pathDatabaseDefaults.lua
More file actions
117 lines (99 loc) · 3.15 KB
/
Copy pathDatabaseDefaults.lua
File metadata and controls
117 lines (99 loc) · 3.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
-- Improved Raid Frames is a World of Warcraft® user interface addon, based on Enhanced Raid Frames.
-- Copyright (c) 2017-2023 Britt W. Yazel
-- This code is licensed under the MIT license (see LICENSE for details)
-- Create a local handle to our addon table
---@type ImprovedRaidFrames
local ImprovedRaidFrames = _G.ImprovedRaidFrames
-- Latest Database Version (<major>.<minor>)
ImprovedRaidFrames.DATABASE_VERSION = 2.2
-------------------------------------------------------------------------
-------------------------------------------------------------------------
--- Create a table containing our default database values
function ImprovedRaidFrames:CreateDefaults()
local defaults = {}
defaults.profile = {
--------------------------------
------- General Settings -------
--------------------------------
-- Default Icon Visibility
showBuffs = true,
showDebuffs = true,
showDispellableDebuffs = true,
-- Visual Options
powerBarOffset = true,
frameScale = 1,
backgroundAlpha = 1,
indicatorFont = "Arial Narrow",
mouseoverCastCompat = false,
-- Out-of-Range Options
customRangeCheck = false,
customRange = 30,
rangeAlpha = 0.55,
--------------------------------
---- Target Marker Settings ----
--------------------------------
-- General Options
showTargetMarkers = true,
markerPosition = 5,
-- Visual Options
markerSize = 20,
markerAlpha = 1,
-- Position Options
markerVerticalOffset = 0,
markerHorizontalOffset = 0,
--------------------------------
--- Heal Prediction Settings ---
--------------------------------
healPrediction = true, -- Incoming heals (LibHealComm-4.0)
healPredictionHots = true, -- Include heal over time effects in incoming heals
absorbs = true, -- Absorb shields (SpecializedAbsorbs-1.0)
healAbsorbs = true, -- Heal absorb effects, e.g. Necrotic Strike
botHeals = false, -- Playerbot heals sent by the mod-playerbot-heal-tracker server module
}
defaults.global = {
-- Whether we already offered to copy the settings from Enhanced Raid Frames
erfImportOffered = false,
}
-----------------------------------
---- Indicator Option Settings ----
-----------------------------------
for i = 1, 9 do
defaults.profile["indicator-" .. i] = {
-- Aura Strings
auras = "",
-- Visibility and Behavior
mineOnly = false,
meOnly = false,
missingOnly = false,
showTooltip = true,
tooltipLocation = "ANCHOR_CURSOR",
-- Icon and Color
indicatorSize = 18,
indicatorHorizontalOffset = 0,
indicatorVerticalOffset = 0,
showIcon = true,
indicatorAlpha = 1,
indicatorColor = { 0, 1, 0.59, 1 },
colorIndicatorByDebuff = false,
colorIndicatorByTime = false,
colorIndicatorByTime_low = 2,
colorIndicatorByTime_high = 5,
-- Text and Color
showCountdownText = false,
showStackSize = true,
stackSizeLocation = "BOTTOMRIGHT",
textColor = { 1, 1, 1, 1 },
colorTextByTime = false,
colorTextByTime_low = 2,
colorTextByTime_high = 5,
colorTextByDebuff = false,
textSize = 14,
textAlpha = 1,
-- Animations and Effects
showCountdownSwipe = true,
indicatorGlow = false,
glowRemainingSecs = 3,
}
end
return defaults
end