mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- updated all UnitPower* code to use the SPELL_POWER_* constants instead of hardcoding numbers...mostly just a readability change
This commit is contained in:
@ -25,7 +25,6 @@ local runeCoords =
|
||||
{0.15234375, 0.25781250, 0.64843750, 0.81250000},
|
||||
}
|
||||
|
||||
local HOLY_POWER_INDEX = 9
|
||||
local runeShineFadeSpeed = 0.4
|
||||
|
||||
-- 'Public' methods -----------------------------------------------------------
|
||||
@ -247,7 +246,7 @@ function HolyPower.prototype:Enable(core)
|
||||
end
|
||||
|
||||
function HolyPower.prototype:UpdateRunePower()
|
||||
local numReady = UnitPower("player", HOLY_POWER_INDEX)
|
||||
local numReady = UnitPower("player", SPELL_POWER_HOLY_POWER)
|
||||
|
||||
if self.moduleSettings.runeMode == "Graphical" then
|
||||
for i=1, self.numRunes do
|
||||
|
Reference in New Issue
Block a user