From d5de39951e14ceb58faeb300d5a647cf35ff849e Mon Sep 17 00:00:00 2001 From: LocalIdentity <31035929+LocalIdentity@users.noreply.github.com> Date: Sat, 22 Nov 2025 20:38:30 +1100 Subject: [PATCH] Add Bloodline ascendancy to window title (#9320) Helpful to know if you have a secondary ascendancy in the build Co-authored-by: LocalIdentity --- src/Classes/PassiveSpec.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Classes/PassiveSpec.lua b/src/Classes/PassiveSpec.lua index 5c9d12a5..937be506 100644 --- a/src/Classes/PassiveSpec.lua +++ b/src/Classes/PassiveSpec.lua @@ -2016,7 +2016,11 @@ function PassiveSpecClass:RestoreUndoState(state, treeVersion) end function PassiveSpecClass:SetWindowTitleWithBuildClass() - main:SetWindowTitleSubtext(string.format("%s (%s)", self.build.buildName, self.curAscendClassId == 0 and self.curClassName or self.curAscendClassName)) + local classText = self.curAscendClassId == 0 and self.curClassName or self.curAscendClassName + if self.curSecondaryAscendClassId and self.curSecondaryAscendClassId ~= 0 and self.curSecondaryAscendClassName then + classText = classText .. " + " .. self.curSecondaryAscendClassName + end + main:SetWindowTitleSubtext(string.format("%s (%s)", self.build.buildName, classText)) end --- Adds a line to or replaces a node given a line to add/replace with