You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been using TidyPlates for many years and I love it !. but I went back to playing and realized that Chi and HolyPower was not showing on the target, I made a simple modification in the code as below:
File: ComboPointWidget.lua
38 local points = UnitPower ("player", 12)
39 local maxPoints = UnitPowerMax ("player", 12)
So I added a new paladin function
local function GetHolyPower ()
if UnitCanAttack ("player", "target") then
local points = UnitPower ("player", 9)
local maxPoints = UnitPowerMax ("player", 9)
return points, maxPoints
end
end
elseif PlayerClass == "PALADIN" then
GetResourceOnTarget = GetHolyPower
I will create a pull request.
Thanks!
The text was updated successfully, but these errors were encountered:
Hello!
I have been using TidyPlates for many years and I love it !. but I went back to playing and realized that Chi and HolyPower was not showing on the target, I made a simple modification in the code as below:
File: ComboPointWidget.lua
38 local points = UnitPower ("player", 12)
39 local maxPoints = UnitPowerMax ("player", 12)
So I added a new paladin function
local function GetHolyPower ()
if UnitCanAttack ("player", "target") then
local points = UnitPower ("player", 9)
local maxPoints = UnitPowerMax ("player", 9)
return points, maxPoints
end
end
elseif PlayerClass == "PALADIN" then
GetResourceOnTarget = GetHolyPower
I will create a pull request.
Thanks!
The text was updated successfully, but these errors were encountered: