File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -539,13 +539,13 @@ function cPointDisplay:GetPoints(CurClass, CurType)
539539 if CurType == " ac" then
540540 NewPoints = UnitPower (" player" , SPELL_POWER_ARCANE_CHARGES )
541541 end
542- end
543542 -- Hunter
544- elseif CurClass == " HUNTER" and PlayerSpec == SPEC_HUNTER_SURVIVAL then
543+ elseif CurClass == " HUNTER" and PlayerSpec == 1 then
545544 -- Mongoose Bite Charges
546545 if CurType == " mb" then
547546 NewPoints = GetSpellCharges (190928 )
548547 end
548+ end
549549 Points [CurType ] = NewPoints
550550end
551551
@@ -1063,6 +1063,9 @@ function cPointDisplay:PLAYER_LOGIN()
10631063 self :RegisterBucketEvent (EventList , UpdateSpeed , " UpdatePoints" )
10641064 -- Instant Events
10651065 self :RegisterEvent (" PLAYER_TARGET_CHANGED" , " UpdatePoints" )
1066+ if (PlayerClass == " HUNTER" ) then
1067+ self :RegisterEvent (" SPELL_UPDATE_CHARGES" , " UpdatePoints" )
1068+ end
10661069
10671070 -- Class Colors
10681071 if CUSTOM_CLASS_COLORS then
You can’t perform that action at this time.
0 commit comments