File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -460,7 +460,7 @@ actionList.Extras = function()
460460 if cast .tigersFury () then ui .debug (" Casting Tiger's Fury [Death Cat Mode]" ) return true end
461461 end
462462 -- Savage Roar - Use Combo Points
463- if cast .able .savageRoar () and comboPoints >= 5 then
463+ if cast .able .savageRoar () and comboPoints () >= 5 then
464464 if cast .savageRoar () then ui .debug (" Casting Savage Roar [Death Cat Mode]" ) return true end
465465 end
466466 -- Shred - Single
@@ -730,7 +730,7 @@ actionList.Interrupts = function()
730730 for i = 1 , # enemies .yards5f do
731731 thisUnit = enemies .yards5f [i ]
732732 if unit .interruptable (thisUnit ,ui .value (" Interrupt At" ))
733- and comboPoints > 0 and not buff .fieryRedMaimers .exists ()
733+ and comboPoints () > 0 and not buff .fieryRedMaimers .exists ()
734734 then
735735 if cast .maim (thisUnit ) then ui .debug (" Casting Maim on " .. unit .name (thisUnit )) return true end
736736 end
Original file line number Diff line number Diff line change @@ -174,14 +174,14 @@ function br.loader:new(spec,specName)
174174 local nodes = br ._G .C_Traits .GetTreeNodes (treeId )
175175 for _ , nodeId in pairs (nodes ) do
176176 local node = br ._G .C_Traits .GetNodeInfo (configId , nodeId )
177- local activeid = (node .activeRank > 0 or node .ranksPurchased > 0 ) and node .activeEntry and node .activeEntry .entryID or node .entryIDs [1 ]
178177 for _ , entryID in pairs (node .entryIDs ) do
179178 local entryInfo = br ._G .C_Traits .GetEntryInfo (configId ,entryID )
180179 local definitionInfo = br ._G .C_Traits .GetDefinitionInfo (entryInfo .definitionID )
181180 if definitionInfo .spellID ~= nil then
181+ local rank = node .activeRank
182182 talents [definitionInfo .spellID ] = talents [definitionInfo .spellID ] or {}
183- talents [definitionInfo .spellID ].active = entryID == activeid
184- talents [definitionInfo .spellID ].rank = node . activeRank
183+ talents [definitionInfo .spellID ].active = rank > 0
184+ talents [definitionInfo .spellID ].rank = rank
185185 end
186186 end
187187 end
You can’t perform that action at this time.
0 commit comments