Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions src/Classes/PassiveSpec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -852,11 +852,16 @@ function PassiveSpecClass:BuildAllDependsAndPaths()
for id, node in pairs(self.nodes) do
if node.type == "Mastery" and self.masterySelections[id] then
local effect = self.tree.masteryEffects[self.masterySelections[id]]
node.sd = effect.sd
node.allMasteryOptions = false
node.reminderText = { "Tip: Right click to select a different effect" }
self.tree:ProcessStats(node)
self.allocatedMasteryCount = self.allocatedMasteryCount + 1
if effect then
node.sd = effect.sd
node.allMasteryOptions = false
node.reminderText = { "Tip: Right click to select a different effect" }
self.tree:ProcessStats(node)
self.allocatedMasteryCount = self.allocatedMasteryCount + 1
else
self.nodes[id].alloc = false
self.allocNodes[id] = nil
end
elseif node.type == "Mastery" then
self:AddMasteryEffectOptionsToNode(node)
elseif node.type == "Notable" and node.alloc then
Expand Down