-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathInit_Vanilla.lua
More file actions
65 lines (60 loc) · 1.82 KB
/
Init_Vanilla.lua
File metadata and controls
65 lines (60 loc) · 1.82 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
local _, addonTable = ...
addonTable.playerClass = select(2, UnitClass("player"))
addonTable.isVanilla = 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",
}
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,
frameTexture = _G.TargetFrameTextureFrameTexture,
frameFlash = _G.PlayerStatusTexture
},
targettarget =
{
healthBar = _G.TargetFrameToTHealthBar,
powerBar = _G.TargetFrameToTManaBar,
nameText = _G.TargetFrameToTTextureFrameName,
frameTexture = _G.TargetFrameToTTextureFrameTexture,
},
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,
},
}