@@ -135,15 +135,18 @@ function SpawnListClass:AddValueTooltip(tooltip, index, value)
135135 if tooltip :CheckForUpdate (value ) then
136136 local foundArea = nil
137137 for _ , area in pairs (data .worldAreas ) do
138- if area .name == value then
138+ if area .name == value and # area . monsterVarieties > 0 then
139139 foundArea = area
140140 break
141141 end
142142 end
143143 if foundArea then
144144 tooltip :AddLine (18 , foundArea .name )
145145 if foundArea .description and foundArea .description ~= " " then
146- tooltip :AddLine (14 , colorCodes .CURRENCY .. ' "' .. foundArea .description )
146+ tooltip :AddLine (14 , colorCodes .CURRENCY .. ' "' .. foundArea .description .. ' "' )
147+ end
148+ if foundArea .bossVarieties and # foundArea .bossVarieties > 0 then
149+ tooltip :AddLine (14 , colorCodes .UNIQUE .. " Bosses: ^7" .. table.concat (foundArea .bossVarieties , " , " ))
147150 end
148151 tooltip :AddLine (14 , " ^7Area Level: " .. foundArea .level )
149152 local biomeNameMap = {
@@ -170,14 +173,12 @@ function SpawnListClass:AddValueTooltip(tooltip, index, value)
170173 end
171174 end
172175 tooltip :AddSeparator (10 )
173- if # foundArea .monsterVarieties > 0 and foundArea .baseName ~= " The Ziggurat Refuge" then
174- tooltip :AddLine (14 , " ^7Spectres:" )
175- for _ , monsterName in ipairs (foundArea .monsterVarieties ) do
176- tooltip :AddLine (14 , " - " .. monsterName )
177- end
178- else
179- tooltip :AddLine (14 , " ^7No monsters listed" )
176+ tooltip :AddLine (14 , " ^7Spectres:" )
177+ for _ , monsterName in ipairs (foundArea .monsterVarieties ) do
178+ tooltip :AddLine (14 , " - " .. monsterName )
180179 end
180+ elseif value == " Found in Maps" then
181+ -- no tooltip
181182 else
182183 tooltip :AddLine (18 , " ^7World area not found: " .. tostring (value ))
183184 end
0 commit comments