-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathInit_Wrath.lua
More file actions
93 lines (88 loc) · 3.02 KB
/
Init_Wrath.lua
File metadata and controls
93 lines (88 loc) · 3.02 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
local _, addonTable = ...
addonTable.playerClass = select(2, UnitClass("player"))
addonTable.isWrath = true
addonTable.isClassic = true
addonTable.texturePaths =
{
portraitIcon = "Interface\\AddOns\\HealthBarColor\\Media\\Textures\\Icon_rounded.tga",
}
addonTable.fontModules =
{
"Font_player",
"Font_pet",
"Font_target",
"Font_targettarget",
"Font_focus",
"Font_focustarget",
}
addonTable.globalUnitVariables =
{
player =
{
healthBar = _G.PlayerFrameHealthBar,
powerBar = _G.PlayerFrameManaBar,
nameText = _G.PlayerName,
healthTextLeft = _G.PlayerFrameHealthBarTextLeft,
healthTextMiddle = _G.PlayerFrameHealthBarText,
healthTextRight = _G.PlayerFrameHealthBarTextRight,
powerBarTextLeft = _G.PlayerFrameManaBarTextLeft,
powerBarTextMiddle = _G.PlayerFrameManaBarTextRight,
powerBarTextRight = _G.PlayerFrameManaBarText,
frameTexture = _G.PlayerFrameTexture,
frameFlash = _G.PlayerStatusTexture
},
target =
{
healthBar = _G.TargetFrameHealthBar,
powerBar = _G.TargetFrameManaBar,
nameText = _G.TargetFrameTextureFrameName,
healthTextLeft = _G.TargetFrameTextureFrame.HealthBarTextLeft,
healthTextMiddle = _G.TargetFrameTextureFrame.HealthBarText,
healthTextRight = _G.TargetFrameTextureFrame.HealthBarTextRight,
powerBarTextLeft = _G.TargetFrameTextureFrame.ManaBarTextLeft,
powerBarTextMiddle = _G.TargetFrameTextureFrame.ManaBarText,
powerBarTextRight = _G.TargetFrameTextureFrame.ManaBarTextRight,
frameTexture = _G.TargetFrameTextureFrameTexture,
frameFlash = _G.PlayerStatusTexture
},
targettarget =
{
healthBar = _G.TargetFrameToTHealthBar,
powerBar = _G.TargetFrameToTManaBar,
nameText = _G.TargetFrameToTTextureFrameName,
frameTexture = _G.TargetFrameToTTextureFrameTexture,
},
focus =
{
healthBar = _G.FocusFrameHealthBar,
powerBar = _G.FocusFrameManaBar,
nameText = _G.FocusFrameTextureFrameName,
healthTextLeft = _G.FocusFrameTextureFrame.HealthBarTextLeft,
healthTextMiddle = _G.FocusFrameTextureFrame.HealthBarText,
healthTextRight = _G.FocusFrameTextureFrame.HealthBarTextRight,
powerBarTextLeft = _G.FocusFrameTextureFrame.ManaBarTextLeft,
powerBarTextMiddle = _G.FocusFrameTextureFrame.ManaBarText,
powerBarTextRight = _G.FocusFrameTextureFrame.ManaBarTextRight,
frameTexture = _G.FocusFrameTextureFrameTexture,
},
focustarget =
{
healthBar = _G.FocusFrameToTHealthBar,
powerBar = _G.FocusFrameToTManaBar,
nameText = _G.FocusFrameToTTextureFrameName,
frameTexture = _G.FocusFrameToTTextureFrameTexture,
},
pet =
{
healthBar = _G.PetFrameHealthBar,
powerBar = _G.PetFrameManaBar,
nameText = _G.PetName,
healthTextLeft = _G.PetFrameHealthBarTextLeft,
healthTextMiddle = _G.PetFrameHealthBarText,
healthTextRight = _G.PetFrameHealthBarTextRight,
powerBarTextLeft = _G.PetFrameManaBarTextLeft,
powerBarTextMiddle = _G.PetFrameManaBarText,
powerBarTextRight = _G.PetFrameManaBarTextRight,
frameTexture = _G.PetFrameTexture,
},
}