You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ifcount<=4then-- check again in 2 seconds a few times to make sure data is correct
471
444
C_Timer.After(2, function()
472
445
self:UpdateBosses(true, count+1)
@@ -481,20 +454,12 @@ function MPT:UpdateBosses(Start, count, preview)
481
454
fori=1, maxdo
482
455
-- manually offset which bossname we want for megadungeons
483
456
localnum= (self.cmap==370andi+4) or (self.cmap==392andi+5) or (self.cmap==227andi+2) or (self.cmap==234andi+6) or (self.cmap==464andi+4) ori
484
-
-- Looking for 3rd Boss in 4th Objective for Pit of Saron
485
-
num= (self.cmap==556andi==4and3) ornum
486
457
-- limit how many bosses to show for some of the lower parts of megadungeons
487
458
localmaxbosses= (self.cmap==391and5) or (self.cmap==463and4) or (self.cmap==227and3) or (self.cmap==369and4)
488
-
localname=self.BossNames[num]
489
459
localcriteria=C_ScenarioInfo.GetCriteriaInfo(i)
490
-
forj=1, #(self.BossNames) do
491
-
ifself.BossNames[j] andstring.find(criteria.description, self.BossNames[j]) then
492
-
name=self.BossNames[j]
493
-
break
494
-
end
495
-
end
496
-
ifself.cmap==556andi==3thenname=criteria.descriptionend-- Using Blizzard's name for "Quarry camps liberated" since there is no other translated version to use
497
-
ifself.cmap==227andnum==3thenname=L["Opera Hall"] end-- figure out a way for localized name if the dungeon returns at some point
0 commit comments