File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ cPointDisplay.Types = {
77 name = " General" ,
88 points = {
99 [1 ] = {name = " Combo Points" , id = " cp" , barcount = 5 },
10+ [2 ] = {name = " Combo Points with Deeper Stratagem" , id = " cp6" , barcount = 6 },
1011 }
1112 },
1213 [" PALADIN" ] = {
@@ -513,14 +514,18 @@ function cPointDisplay:GetPoints(CurClass, CurType)
513514 -- General
514515 if CurClass == " GENERAL" then
515516 -- Combo Points
516- if CurType == " cp" then
517+ if ( CurType == " cp" ) or ( CurType == " cp6 " ) then
517518 if (UnitHasVehicleUI (" player" ) and UnitHasVehiclePlayerFrameUI (" player" )) then
518519 NewPoints = GetComboPoints (" vehicle" )
519520 if (NewPoints == 0 ) then
520521 NewPoints = GetComboPoints (" vehicle" , " vehicle" )
521522 end
522523 else
523- NewPoints = UnitPower (" player" , 4 )
524+ local maxcp = UnitPowerMax (" player" , 4 )
525+ if (CurType == " cp" and maxcp == 5 ) or
526+ (CurType == " cp6" and maxcp == 6 ) then
527+ NewPoints = UnitPower (" player" , 4 )
528+ end
524529 end
525530 end
526531 -- Paladin
You can’t perform that action at this time.
0 commit comments