-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathConfig.lua
116 lines (114 loc) · 7.58 KB
/
Config.lua
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
local addon = TinyTooltip
addon.db = {
version = 2.8,
general = {
scale = 1, --縮放
mask = true, --頂部遮罩層
bgfile = "rock", --背景
background = {0, 0, 0, 0.7}, --背景顔色和透明度
borderSize = 1, --邊框大小(直角邊框才生效)
borderCorner = "default", --邊框類型 default|angular:直角邊框
borderColor = {0.6, 0.6, 0.6, 0.8}, --邊框顔色和透明度
statusbarHeight = 4, --HP高度
statusbarPosition = "bottom", --HP位置 default|bottom|top
statusbarOffsetX = 0, --HP X偏移 0:自動
statusbarOffsetY = 0, --HP Y偏移 0:自動
statusbarFontSize = 10, --HP文字大小
statusbarFontFlag = "THINOUTLINE", --HP文字樣式
statusbarText = false, --HP文字
statusbarColor = "auto", --HP顔色 default|auto|smooth
statusbarTexture = "Interface\\AddOns\\TinyTooltip\\texture\\StatusBar", --HP材質
anchor = { position = "cursorRight", hiddenInCombat = false, returnInCombat = true, returnOnUnitFrame = false, cp = "BOTTOM", p = "BOTTOMRIGHT", }, --鼠標位置 default|cursor|static|cursorRight
alwaysShowIdInfo = true,
skinMoreFrames = true,
headerFont = "default",
headerFontSize = "default",
headerFontFlag = "default",
bodyFont = "default",
bodyFontSize = "default",
bodyFontFlag = "default",
SavedVariablesPerCharacter = false,
},
unit = {
player = {
coloredBorder = "class", --玩家邊框顔色 default|class|level|reaction|itemQuality|selection|faction|HEX
background = { colorfunc = "class", alpha = 0.9, },
anchor = { position = "inherit", hiddenInCombat = false, returnInCombat = false, returnOnUnitFrame = false, cp = "BOTTOM", p = "BOTTOMRIGHT", },
showTarget = true, --顯示目標
showTargetBy = true, --顯示被關注
showModel = true, --顯示模型
grayForDead = false, --灰色死亡目標
elements = {
raidIcon = { enable = true, filter = "none" },
roleIcon = { enable = true, filter = "none" },
pvpIcon = { enable = true, filter = "none" },
factionIcon = { enable = true, filter = "none" },
factionBig = { enable = true, filter = "none" },
classIcon = { enable = true, filter = "none" },
friendIcon = { enable = true, filter = "none" },
title = { enable = true, color = "ccffff", wildcard = "%s", filter = "none" },
name = { enable = true, color = "class", wildcard = "%s", filter = "none" },
realm = { enable = true, color = "00eeee", wildcard = "%s", filter = "none" },
statusAFK = { enable = true, color = "ffd200", wildcard = "(%s)", filter = "none" },
statusDND = { enable = true, color = "ffd200", wildcard = "(%s)", filter = "none" },
statusDC = { enable = true, color = "999999", wildcard = "(%s)", filter = "none" },
guildName = { enable = true, color = "ff00ff", wildcard = "<%s>", filter = "none" },
guildIndex = { enable = false, color = "cc88ff", wildcard = "%s", filter = "none" },
guildRank = { enable = true, color = "cc88ff", wildcard = "(%s)", filter = "none" },
guildRealm = { enable = true, color = "00cccc", wildcard = "%s", filter = "none" },
levelValue = { enable = true, color = "level", wildcard = "%s", filter = "none" },
factionName = { enable = true, color = "faction", wildcard = "%s", filter = "none" },
gender = { enable = false, color = "999999", wildcard = "%s", filter = "none" },
raceName = { enable = true, color = "cccccc", wildcard = "%s", filter = "none" },
className = { enable = true, color = "ffffff", wildcard = "%s", filter = "none" },
isPlayer = { enable = false, color = "ffffff", wildcard = "(%s)", filter = "none" },
role = { enable = false, color = "ffffff", wildcard = "(%s)", filter = "none" },
moveSpeed = { enable = false, color = "e8e7a8", wildcard = "%d%%", filter = "none" },
zone = { enable = true, color = "ffffff", wildcard = "%s", filter = "none" },
{ "friendIcon", "raidIcon", "roleIcon", "pvpIcon", "factionIcon", "classIcon", "title", "name", "realm", "statusAFK", "statusDND", "statusDC", },
{ "guildName", "guildIndex", "guildRank", "guildRealm", },
{ "levelValue", "factionName", "gender", "raceName", "className", "isPlayer", "role", "moveSpeed", },
{ "zone" },
},
},
npc = {
coloredBorder = "reaction",
background = { colorfunc = "default", alpha = 0.9, },
showTarget = true,
showTargetBy = true,
grayForDead = false,
showModel = true,
anchor = { position = "inherit", hiddenInCombat = false, returnInCombat = false, returnOnUnitFrame = false, cp = "BOTTOM", p = "BOTTOMRIGHT", },
elements = {
factionBig = { enable = false, filter = "none" },
raidIcon = { enable = true, filter = "none" },
classIcon = { enable = false, filter = "none" },
questIcon = { enable = true, filter = "none" },
name = { enable = true, color = "default",wildcard = "%s", filter = "none" },
npcTitle = { enable = true, color = "99e8e8", wildcard = "<%s>", filter = "none" },
levelValue = { enable = true, color = "level", wildcard = "%s", filter = "none" },
classifBoss = { enable = true, color = "ff0000", wildcard = "(%s)", filter = "none" },
classifElite = { enable = true, color = "ffff33", wildcard = "(%s)", filter = "none" },
classifRare = { enable = true, color = "ffaaff", wildcard = "(%s)", filter = "none" },
creature = { enable = true, color = "selection", wildcard = "%s", filter = "none" },
reactionName = { enable = true, color = "33ffff", wildcard = "<%s>", filter = "reaction6" },
moveSpeed = { enable = false, color = "e8e7a8", wildcard = "%d%%", filter = "none" },
{ "raidIcon", "classIcon", "questIcon", "name", },
{ "levelValue", "classifBoss", "classifElite", "classifRare", "creature", "reactionName", "moveSpeed", },
},
},
},
item = {
coloredItemBorder = true, --邊框按品質染色
showItemIcon = false, --物品圖標
},
spell = {
borderColor = {0.6, 0.6, 0.6, 0.8},
background = {0, 0, 0, 0.8},
showIcon = true,
},
quest = {
coloredQuestBorder = true, --任務按等差染色
},
variables = {}, --用户配置数据
}