Skip to content

Commit

Permalink
11.0.2 (56819)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 1, 2024
1 parent 2e827a6 commit 5076663
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 deletions.
10 changes: 2 additions & 8 deletions Interface/AddOns/Blizzard_ChallengesUI/Blizzard_ChallengesUI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -891,10 +891,7 @@ function ChallengeModeCompleteBannerMixin:PlayBanner(data)
PlaySound(SOUNDKIT.UI_70_CHALLENGE_MODE_KEYSTONE_UPGRADE);
local chatPrintText;

if (data.isAffixRecord) then
local affixName = C_ChallengeMode.GetAffixInfo(data.primaryAffix);
chatPrintText = CHALLENGE_MODE_TIMED_DUNGEON_CHAT_LINK_AFFIX_RECORD:format(name, data.level, timeText, timeFormatter:Format(timeRemaining, false, true), affixName)
elseif (data.isMapRecord) then
if (data.isMapRecord) then
chatPrintText = CHALLENGE_MODE_TIMED_DUNGEON_CHAT_LINK_RECORD:format(name, data.level, timeText, timeFormatter:Format(timeRemaining, false, true))
else
chatPrintText = CHALLENGE_MODE_TIMED_DUNGEON_CHAT_LINK:format(name, data.level, timeText, timeFormatter:Format(timeRemaining, false, true))
Expand All @@ -907,10 +904,7 @@ function ChallengeModeCompleteBannerMixin:PlayBanner(data)
PlaySound(SOUNDKIT.UI_70_CHALLENGE_MODE_COMPLETE_NO_UPGRADE);

local chatPrintText;
if (data.isAffixRecord) then
local affixName = C_ChallengeMode.GetAffixInfo(data.primaryAffix);
chatPrintText = CHALLENGE_MODE_TIMED_DUNGEON_CHAT_LINK_OVERTIME_AFFIX_RECORD:format(name, data.level, timeText, timeFormatter:Format(timeRemaining, false, true), affixName)
elseif (data.isMapRecord) then
if (data.isMapRecord) then
chatPrintText = CHALLENGE_MODE_TIMED_DUNGEON_CHAT_LINK_OVERTIME_RECORD:format(name, data.level, timeText, timeFormatter:Format(timeRemaining, false, true))
else
chatPrintText = CHALLENGE_MODE_TIMED_DUNGEON_OVERTIME_CHAT_LINK:format(name, data.level, timeText, timeFormatter:Format(timeRemaining, false, true))
Expand Down
1 change: 1 addition & 0 deletions Interface/AddOns/Blizzard_FrameXMLUtil/DifficultyUtil.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ local DIFFICULTY_NAMES =
[DifficultyUtil.ID.DungeonTimewalker] = PLAYER_DIFFICULTY_TIMEWALKER,
[DifficultyUtil.ID.RaidTimewalker] = PLAYER_DIFFICULTY_TIMEWALKER,
[DifficultyUtil.ID.Raid40] = PLAYER_DIFFICULTY1,
[DifficultyUtil.ID.RaidStory] = QUEST_CLASSIFICATION_QUESTLINE,
}

local PRIMARY_RAIDS = { DifficultyUtil.ID.PrimaryRaidLFR, DifficultyUtil.ID.PrimaryRaidNormal, DifficultyUtil.ID.PrimaryRaidHeroic, DifficultyUtil.ID.PrimaryRaidMythic };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ end
function WeeklyRewardsMixin:OnLoad()
self:SetUpActivity(self.RaidFrame, RAIDS, "evergreen-weeklyrewards-category-raids", Enum.WeeklyRewardChestThresholdType.Raid);
self:SetUpActivity(self.MythicFrame, DUNGEONS, "evergreen-weeklyrewards-category-dungeons", Enum.WeeklyRewardChestThresholdType.Activities);

self:SetUpConditionalActivities();
self:SetUpActivity(self.WorldFrame, WORLD, "evergreen-weeklyrewards-category-world", Enum.WeeklyRewardChestThresholdType.World);

local attributes =
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@
<Anchor point="TOPLEFT" x="68" y="-470"/>
</Anchors>
</Frame>
<Frame parentKey="WorldFrame" inherits="WeeklyRewardActivityTypeTemplate" hidden="true">
<Frame parentKey="WorldFrame" inherits="WeeklyRewardActivityTypeTemplate">
<Anchors>
<Anchor point="TOPLEFT" x="68" y="-470"/>
</Anchors>
Expand Down

0 comments on commit 5076663

Please sign in to comment.