File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
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" ] = {
@@ -526,7 +527,11 @@ function cPointDisplay:GetPoints(CurClass, CurType)
526527 NewPoints = GetComboPoints (" vehicle" , " vehicle" )
527528 end
528529 else
529- NewPoints = UnitPower (" player" , SPELL_POWER_COMBO_POINTS )
530+ local maxcp = UnitPowerMax (" player" , SPELL_POWER_COMBO_POINTS )
531+ if (CurType == " cp" and maxcp == 5 ) or
532+ (CurType == " cp6" and maxcp == 6 ) then
533+ NewPoints = UnitPower (" player" , SPELL_POWER_COMBO_POINTS )
534+ end
530535 end
531536 end
532537 -- Paladin
You can’t perform that action at this time.
0 commit comments