@@ -229,7 +229,7 @@ function TalentViewerUIMixin:GetAndCacheNodeInfo(nodeID)
229229 );
230230 end
231231 if not nodeInfo then
232- error (' no nodeinfo for nodeID ' .. nodeID .. ' treeID ' .. TalentViewer .treeId .. ' specID ' .. self :GetSpecID ());
232+ error (' no nodeinfo for nodeID ' .. nodeID .. ' treeID ' .. TalentViewer .treeId .. ' specID ' .. self :GetSpecID ());
233233 end
234234 return nodeInfo ;
235235 end
@@ -254,6 +254,7 @@ function TalentViewerUIMixin:GetAndCacheNodeInfo(nodeID)
254254 or ((isChoiceNode and selectedEntryId and 1 ) or TalentViewer :GetActiveRank (nodeID ));
255255 nodeInfo .currentRank = nodeInfo .activeRank ;
256256 nodeInfo .ranksPurchased = not isGranted and nodeInfo .currentRank or 0 ;
257+ nodeInfo .ranksIncreased = 0 ; -- only applicable to legion remix artifacts currently
257258 nodeInfo .isAvailable = isAvailable ;
258259 nodeInfo .canPurchaseRank = isAvailable and meetsEdgeRequirements and not isGranted and ((TalentViewer .purchasedRanks [nodeID ] or 0 ) < nodeInfo .maxRanks )
259260 nodeInfo .canRefundRank = not isGranted ;
@@ -293,12 +294,12 @@ function TalentViewerUIMixin:GetAndCacheNodeInfo(nodeID)
293294end
294295
295296function TalentViewerUIMixin :GetAndCacheSubTreeInfo (subTreeID )
296- local function GetSubTreeInfoCallback ()
297+ local function GetSubTreeInfoCallback ()
297298 self .dirtySubTreeIDSet [subTreeID ] = nil ;
298- return LibTalentTree :GetSubTreeInfo (subTreeID )
299- end
299+ return LibTalentTree :GetSubTreeInfo (subTreeID )
300+ end
300301
301- return GetOrCreateTableEntryByCallback (self .subTreeInfoCache , subTreeID , GetSubTreeInfoCallback );
302+ return GetOrCreateTableEntryByCallback (self .subTreeInfoCache , subTreeID , GetSubTreeInfoCallback );
302303end
303304
304305function TalentViewerUIMixin :GetAndCacheCondInfo (condID )
@@ -447,7 +448,7 @@ function TalentViewerUIMixin:UpdateTalentButtonPosition(talentButton)
447448 local panOffsetMultiplier = 10 ;
448449 posX = posX + basePanOffsetX * panOffsetMultiplier ;
449450 posY = posY + basePanOffsetY * panOffsetMultiplier ;
450- TalentButtonUtil .ApplyPosition (talentButton , self , posX , posY );
451+ TalentButtonUtil .ApplyPosition (talentButton , self , posX , posY );
451452 end
452453end
453454
0 commit comments