-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathManaShadowPriest.lua
39 lines (34 loc) · 1.1 KB
/
ManaShadowPriest.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
local module = ArcHUD:NewModule("ManaShadowPriest")
module.version = "5.0 (@file-abbreviated-hash@)"
module.unit = "player"
module.noAutoAlpha = nil
module.defaults = {
profile = {
Enabled = true,
Outline = true,
Flash = false,
Side = 2,
Level = 1,
ShowSeparators = false,
Color = PowerBarColor["MANA"],
ShowTextHuge = false
}
}
module.options = {
attach = true
}
module.localized = true
module.class = "PRIEST"
module.specs = { SPEC_PRIEST_SHADOW } -- array of SPEC_... constants; nil if this ring is available for all specs
module.powerType = Enum.PowerType.Mana
module.powerTypeString = "MANA"
module.flashAt = nil
function module:Initialize()
self.InitializePowerRing = ArcHUD.templatePowerRing.InitializePowerRing
self.OnModuleUpdate = ArcHUD.templatePowerRing.OnModuleUpdate
self.OnModuleEnable = ArcHUD.templatePowerRing.OnModuleEnable
self.UpdatePowerRing = ArcHUD.templatePowerRing.UpdatePowerRing
self.UpdatePower = ArcHUD.templatePowerRing.UpdatePower
self.UpdateActive = ArcHUD.templatePowerRing.UpdateActive
self:InitializePowerRing()
end