Commit 1f915360 authored by TOM_RUS's avatar TOM_RUS
Browse files

WOW-21531patch7.0.3_Beta

parent 8d7ddadc
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/..\FrameXML\UI.xsd">
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">
<Script file="AM_MissionDataProvider.lua"/>
<Script file="AM_MissionTooltip.lua"/>
......
......@@ -10,19 +10,19 @@
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture name="$parentBorderShield" file="Interface\CastingBar\UI-CastingBar-Arena-Shield" hidden="true">
<Texture parentKey="BorderShield" file="Interface\CastingBar\UI-CastingBar-Arena-Shield" hidden="true">
<Size x="42" y="42"/>
<Anchors>
<Anchor point="LEFT" x="-25" y="0"/>
</Anchors>
</Texture>
<FontString name="$parentText" inherits="GameFontHighlightSmall">
<FontString parentKey="Text" inherits="GameFontHighlightSmall">
<Size x="80" y="16"/>
<Anchors>
<Anchor point="TOP" x="0" y="2"/>
</Anchors>
</FontString>
<Texture name="$parentIcon" hidden="true">
<Texture parentKey="Icon">
<Size x="16" y="16"/>
<Anchors>
<Anchor point="RIGHT" relativeTo="$parent" relativePoint="LEFT" x="-5" y="0"/>
......@@ -30,13 +30,13 @@
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture name="$parentSpark" file="Interface\CastingBar\UI-CastingBar-Spark" alphaMode="ADD">
<Texture parentKey="Spark" file="Interface\CastingBar\UI-CastingBar-Spark" alphaMode="ADD">
<Size x="32" y="32"/>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
<Texture name="$parentFlash" alphaMode="ADD">
<Texture parentKey="Flash" alphaMode="ADD">
<!-- this needs to be here so the generic unit frame code will work right -->
<Size x="256" y="64"/>
<Anchors>
......@@ -46,19 +46,10 @@
</Layer>
</Layers>
<Scripts>
<OnLoad>
CastingBarFrame_OnLoad(self, "arena"..self:GetParent():GetID(), false, true);
_G[self:GetName().."Icon"]:Show();
</OnLoad>
<OnEvent>
CastingBarFrame_OnEvent(self, event, ...);
</OnEvent>
<OnUpdate>
CastingBarFrame_OnUpdate(self, elapsed);
</OnUpdate>
<OnShow>
CastingBarFrame_OnShow(self);
</OnShow>
<OnLoad function="CastingBarFrame_OnLoad" />
<OnEvent function="CastingBarFrame_OnEvent" />
<OnUpdate function="CastingBarFrame_OnUpdate" />
<OnShow function="CastingBarFrame_OnShow" />
</Scripts>
<BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
<BarColor r="1.0" g="0.7" b="0.0"/>
......
......@@ -179,7 +179,7 @@ end
function ArtifactAppearanceSlotMixin:OnEnter()
if self.unlockFailureReason then
GameTooltip:SetOwner(self, "ANCHOR_TOPLEFT", 20, 0);
GameTooltip:SetOwner(self, "ANCHOR_RIGHT", 0, 0);
GameTooltip:SetText(self.unlockFailureReason, nil, nil, nil, nil, true);
GameTooltip:Show();
end
......
......@@ -195,7 +195,7 @@
</Frame>
<Button parentKey="PerksTabButton" name="$parentTab1" inherits="ArtifactFrameTabButtonTemplate" id="1" text="ARTIFACTS_PERK_TAB">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" x="11" y="-9" />
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" x="11" y="-7" />
</Anchors>
</Button>
<Button parentKey="AppearancesTabButton" name="$parentTab2" inherits="ArtifactFrameTabButtonTemplate" id="2" text="ARTIFACTS_APPEARANCE_TAB">
......
......@@ -425,13 +425,13 @@ function ChallengesKeystoneFrameAffixMixin:SetUp(affixInfo)
local info = affixInfo;
SetPortraitToTexture(self.Portrait, CHALLENGE_MODE_EXTRA_AFFIX_INFO[info.key].texture);
if (info.pct > 999) then
self.Percent:SetFontObject("SystemFont_Shadow_Med1_Outline");
else
self.Percent:SetFontObject("SystemFont_Shadow_Large_Outline");
end
self.Percent:SetText(("+%d%%"):format(info.pct));
self.Percent:Show();
......@@ -449,4 +449,170 @@ function ChallengesKeystoneFrameAffixMixin:SetUp(affixInfo)
end
self:Show();
end
\ No newline at end of file
end
ChallengeModeCompleteBannerMixin = {};
function ChallengeModeCompleteBannerMixin:OnLoad()
self.timeToHold = 5;
self.unitTokens = { "player", "party1", "party2", "party3", "party4" };
self:RegisterEvent("CHALLENGE_MODE_COMPLETED");
end
function ChallengeModeCompleteBannerMixin:OnEvent(event, ...)
if (event == "CHALLENGE_MODE_COMPLETED") then
local mapID, level, time, onTime, keystoneUpgradeLevels = C_ChallengeMode.GetCompletionInfo();
TopBannerManager_Show(self, { mapID = mapID, level = level, time = time, onTime = onTime, keystoneUpgradeLevels = keystoneUpgradeLevels });
end
end
function ChallengeModeCompleteBannerMixin:PlayBanner(data)
local name, _, timeLimit = C_ChallengeMode.GetMapInfo(data.mapID);
self.Title:SetText(name);
self.Level:SetText(data.level);
self.Level:Show();
if (data.onTime) then
self.DescriptionLineOne:SetText(CHALLENGE_MODE_COMPLETE_BEAT_TIMER);
self.DescriptionLineTwo:SetFormattedText(CHALLENGE_MODE_COMPLETE_KEYSTONE_UPGRADED, data.keystoneUpgradeLevels);
else
self.DescriptionLineOne:SetText(CHALLENGE_MODE_COMPLETE_TIME_EXPIRED);
self.DescriptionLineTwo:SetText(CHALLENGE_MODE_COMPLETE_TRY_AGAIN);
end
local sortedUnitTokens = self:GetSortedPartyMembers();
self:Show();
self.AnimIn:Play();
self:CreateAndPositionPartyMembers(#sortedUnitTokens);
for i = 1, #sortedUnitTokens do
self.PartyMembers[i]:SetUp(sortedUnitTokens[i]);
end
C_Timer.After(self.timeToHold, function()
self:PerformAnimOut();
end);
end
function ChallengeModeCompleteBannerMixin:StopBanner()
self.AnimIn:Stop();
self:Hide();
end
function ChallengeModeCompleteBannerMixin:GetSortedPartyMembers()
local unitRoleMap = {};
local sortedUnitTokens = {};
for i = 1, #self.unitTokens do
if (UnitExists(self.unitTokens[i])) then
local role = UnitGroupRolesAssigned(self.unitTokens[i]);
if (role == "DAMAGER" or role == "NONE") then
if (not unitRoleMap[role]) then
unitRoleMap[role] = {};
end
tinsert(unitRoleMap[role], self.unitTokens[i]);
else
unitRoleMap[role] = self.unitTokens[i];
end
end
end
if (unitRoleMap["TANK"]) then
tinsert(sortedUnitTokens, unitRoleMap["TANK"]);
end
if (unitRoleMap["HEALER"]) then
tinsert(sortedUnitTokens, unitRoleMap["HEALER"]);
end
if (unitRoleMap["DAMAGER"]) then
for i = 1, #unitRoleMap["DAMAGER"] do
tinsert(sortedUnitTokens, unitRoleMap["DAMAGER"][i]);
end
end
if (unitRoleMap["NONE"]) then
for i = 1, #unitRoleMap["NONE"] do
tinsert(sortedUnitTokens, unitRoleMap["NONE"][i]);
end
end
return sortedUnitTokens;
end
function ChallengeModeCompleteBannerMixin:CreateAndPositionPartyMembers(num)
local index = #self.PartyMembers + 1;
local frameWidth, spacing, distance = 61, 22, -100;
while (#self.PartyMembers < num) do
local frame = CreateFrame("Frame", nil, self, "ChallengeModeBannerPartyMemberTemplate");
local prev = self.PartyMembers[index - 1];
frame:SetPoint("LEFT", prev, "RIGHT", spacing, 0);
index = index + 1;
end
-- Figure out where to place the leftmost party member
local frame = self.PartyMembers[1];
frame:ClearAllPoints();
if (num % 2 == 1) then
local x = (num - 1) / 2;
frame:SetPoint("TOPLEFT", self.Title, "TOP", -((frameWidth / 2) + (frameWidth * x) + (spacing * x)), distance);
else
local x = num / 2;
frame:SetPoint("TOPLEFT", self.Title, "TOP", -((frameWidth * x) + (spacing * (x - 1)) + (spacing / 2)), distance);
end
for i = num + 1, #self.PartyMembers do
self.PartyMembers[i]:Hide();
end
end
function ChallengeModeCompleteBannerMixin:PerformAnimOut()
self.AnimOut:Play()
for i = 1, #self.PartyMembers do
if (self.PartyMembers[i]:IsShown()) then
self.PartyMembers[i].AnimOut:Play();
end
end
end
function ChallengeModeCompleteBanner_OnAnimOutFinished(self)
local banner = self:GetParent();
banner:Hide();
banner.BannerTop:SetAlpha(0);
banner.BannerBottom:SetAlpha(0);
banner.BannerMiddle:SetAlpha(0);
banner.BottomFillagree:SetAlpha(0);
banner.RightFillagree:SetAlpha(0);
banner.LeftFillagree:SetAlpha(0);
banner.Title:SetAlpha(0);
TopBannerManager_BannerFinished();
end
ChallengeModeBannerPartyMemberMixin = {};
function ChallengeModeBannerPartyMemberMixin:SetUp(unitToken)
SetPortraitTexture(self.Portrait, unitToken);
local name = UnitName(unitToken);
local _, classFileName = UnitClass(unitToken);
local classColorStr = RAID_CLASS_COLORS[classFileName].colorStr;
self.Name:SetText(("|c%s%s|r"):format(classColorStr, name));
local role = UnitGroupRolesAssigned(unitToken);
if ( role == "TANK" or role == "HEALER" or role == "DAMAGER" ) then
self.RoleIcon:SetTexCoord(GetTexCoordsForRoleSmallCircle(role));
self.RoleIcon:Show();
else
self.RoleIcon:Hide();
end
self:SetAlpha(0);
self:Show();
self.AnimIn:Play();
end
......@@ -358,6 +358,208 @@
</Scripts>
</Frame>
<Frame name="ChallengeModeBannerPartyMemberTemplate" parentArray="PartyMembers" alpha="0" virtual="true" mixin="ChallengeModeBannerPartyMemberMixin">
<Size x="61" y="61"/>
<Layers>
<Layer level="OVERLAY">
<Texture parentKey="Border" atlas="BossBanner-PortraitBorder" setAllPoints="true"/>
</Layer>
<Layer level="OVERLAY" textureSubLevel="1">
<Texture parentKey="RoleIcon" file="Interface\LFGFrame\UI-LFG-ICON-PORTRAITROLES">
<Size x="20" y="20"/>
<Anchors>
<Anchor point="BOTTOM" relativeKey="$parent.Border" x="0" y="-8"/>
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture parentKey="Portrait">
<Size x="59" y="59"/>
<Anchors>
<Anchor point="CENTER" relativeKey="$parent.Border"/>
</Anchors>
</Texture>
<FontString parentKey="Name" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOP" relativeKey="$parent.Border" relativePoint="BOTTOM" x="0" y="-8"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Animations>
<AnimationGroup parentKey="AnimIn" setToFinalAlpha="true">
<Alpha startDelay="0.2" duration="0.25" order="2" fromAlpha="0" toAlpha="1"/>
</AnimationGroup>
<AnimationGroup parentKey="AnimOut" setToFinalAlpha="true">
<Alpha duration="0.5" order="1" fromAlpha="1" toAlpha="0"/>
</AnimationGroup>
</Animations>
</Frame>
<Frame name="ChallengeModeCompleteBanner" parent="UIParent" hidden="true" alpha="1" mixin="ChallengeModeCompleteBannerMixin">
<Size x="128" y="336"/>
<Anchors>
<Anchor point="TOP" x="0" y="-120"/>
</Anchors>
<Layers>
<Layer level="BORDER">
<Texture parentKey="BannerTop" hidden="false" alpha="0" alphaMode="BLEND" atlas="BossBanner-BgBanner-Top" useAtlasSize="true">
<Anchors>
<Anchor point="TOP" x="0" y="-44"/>
</Anchors>
</Texture>
<Texture parentKey="BannerTopGlow" hidden="false" alpha="0" alphaMode="ADD" atlas="BossBanner-BgBanner-Top" useAtlasSize="true">
<Anchors>
<Anchor point="TOP" x="0" y="-44"/>
</Anchors>
</Texture>
<Texture parentKey="BannerBottom" hidden="false" alpha="0" alphaMode="BLEND" atlas="BossBanner-BgBanner-Bottom" useAtlasSize="true">
<Anchors>
<Anchor point="BOTTOM" x="0" y="0"/>
</Anchors>
</Texture>
<Texture parentKey="BannerBottomGlow" hidden="false" alpha="0" alphaMode="ADD" atlas="BossBanner-BgBanner-Bottom" useAtlasSize="true">
<Anchors>
<Anchor point="BOTTOM" x="0" y="0"/>
</Anchors>
</Texture>
</Layer>
<Layer level="BACKGROUND">
<Texture parentKey="BannerMiddle" alpha="0" atlas="BossBanner-BgBanner-Mid" alphaMode="BLEND" useAtlasSize="true">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.BannerTop" x="-100" y="-34"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.BannerBottom" x="100" y="25"/>
</Anchors>
</Texture>
<Texture parentKey="BannerMiddleGlow" alpha="0" atlas="BossBanner-BgBanner-Mid" alphaMode="ADD" useAtlasSize="true">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.BannerTop" x="-100" y="-34"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.BannerBottom" x="100" y="25"/>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture parentKey="SkullCircle" hidden="false" alpha="0" alphaMode="BLEND" atlas="ChallengeMode-SpikeyStar">
<Size x="100" y="100"/>
<Anchors>
<Anchor point="CENTER" relativeKey="$parent.BannerTop" x="0" y="46"/>
</Anchors>
</Texture>
<FontString parentKey="Level" inherits="GameFontNormalWTF2Outline" text="13">
<Anchors>
<Anchor point="CENTER" relativeKey="$parent.SkullCircle"/>
</Anchors>
</FontString>
</Layer>
<Layer level="ARTWORK">
<Texture parentKey="BottomFillagree" hidden="false" alpha="0" alphaMode="BLEND" atlas="BossBanner-BottomFillagree" useAtlasSize="true">
<Anchors>
<Anchor point="BOTTOM" x="0" y="8"/>
</Anchors>
</Texture>
<Texture parentKey="RightFillagree" hidden="false" alpha="0" alphaMode="BLEND" atlas="BossBanner-RightFillagree" useAtlasSize="true">
<Anchors>
<Anchor point="CENTER" relativeKey="$parent.SkullCircle" x="10" y="6"/>
</Anchors>
</Texture>
<Texture parentKey="LeftFillagree" hidden="false" alpha="0" alphaMode="BLEND" atlas="BossBanner-LeftFillagree" useAtlasSize="true">
<Anchors>
<Anchor point="CENTER" relativeKey="$parent.SkullCircle" x="-10" y="6"/>
</Anchors>
</Texture>
<FontString parentKey="Title" inherits="QuestFont_Enormous" justifyH="CENTER" alpha="0">
<Anchors>
<Anchor point="TOP" relativeKey="$parent.BannerTop" x="0" y="-67"/>
</Anchors>
</FontString>
<FontString parentKey="DescriptionLineOne" inherits="GameFontHighlightLarge" justifyH="CENTER" alpha="0">
<Anchors>
<Anchor point="TOP" relativeKey="$parent.Title" relativePoint="BOTTOM" x="0" y="-10"/>
</Anchors>
</FontString>
<FontString parentKey="DescriptionLineTwo" inherits="GameFontHighlightLarge" justifyH="CENTER" alpha="0">
<Anchors>
<Anchor point="TOP" relativeKey="$parent.DescriptionLineOne" relativePoint="BOTTOM" x="0" y="-10"/>
</Anchors>
</FontString>
</Layer>
<Layer level="OVERLAY" textureSubLevel="2">
<Texture parentKey="Glow" hidden="false" atlas="ChallengeMode-SoftYellowGlow">
<Size x="106" y="106"/>
<Anchors>
<Anchor point="CENTER" relativeKey="$parent.SkullCircle"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<Frame hidden="true" inherits="ChallengeModeBannerPartyMemberTemplate"/>
</Frames>
<Animations>
<AnimationGroup parentKey="AnimIn" setToFinalAlpha="true">
<Scale childKey="SkullCircle" duration="0.15" order="1" fromScaleX="5" fromScaleY="5" toScaleX="1" toScaleY="1"/>
<Alpha childKey="SkullCircle" duration="0.1" order="1" fromAlpha="0" toAlpha="1"/>
<Alpha childKey="BannerTop" startDelay="0.2" duration="0.25" order="2" fromAlpha="0" toAlpha="1"/>
<Scale childKey="BannerTop" startDelay="0.1" duration="0.3" order="2" fromScaleX="0.1" fromScaleY="1" toScaleX="1" toScaleY="1"/>
<Alpha childKey="BannerBottom" startDelay="0.2" duration="0.25" order="2" fromAlpha="0" toAlpha="1"/>
<Scale childKey="BannerBottom" startDelay="0.1" duration="0.3" order="2" fromScaleX="0.1" fromScaleY="1" toScaleX="1" toScaleY="1"/>
<Alpha childKey="BannerMiddle" startDelay="0.2" duration="0.25" order="2" fromAlpha="0" toAlpha="1"/>
<Scale childKey="BannerMiddle" startDelay="0.1" duration="0.3" order="2" fromScaleX="0.1" fromScaleY="1" toScaleX="1" toScaleY="1"/>
<Alpha childKey="BottomFillagree" duration="0.15" order="2" fromAlpha="0" toAlpha="1"/>
<Alpha childKey="RightFillagree" duration="0.1" order="2" fromAlpha="0" toAlpha="1"/>
<Translation childKey="RightFillagree" startDelay="0.15" duration="0.15" order="2" offsetX="37" offsetY="0"/>
<Scale childKey="RightFillagree" startDelay="0.15" duration="0.15" order="2" fromScaleX="0.5" fromScaleY="0.5" toScaleX="1" toScaleY="1">
<Origin point="BOTTOMLEFT">
<Offset x="0" y="0"/>
</Origin>
</Scale>
<Alpha childKey="LeftFillagree" duration="0.1" order="2" fromAlpha="0" toAlpha="1"/>
<Translation childKey="LeftFillagree" startDelay="0.15" duration="0.15" order="2" offsetX="-37" offsetY="0"/>
<Scale childKey="LeftFillagree" startDelay="0.15" duration="0.15" order="2" fromScaleX="0.5" fromScaleY="0.5" toScaleX="1" toScaleY="1">
<Origin point="BOTTOMRIGHT">
<Offset x="0" y="0"/>
</Origin>
</Scale>
<Alpha childKey="BannerTopGlow" startDelay="0.9" duration="0.25" order="2" fromAlpha="0" toAlpha="1"/>
<Scale childKey="BannerTopGlow" startDelay="0.9" duration="0.5" order="2" fromScaleX="0.5" fromScaleY="1" toScaleX="1.6" toScaleY="1"/>
<Alpha childKey="BannerTopGlow" startDelay="1.1" duration="0.6" order="2" fromAlpha="1" toAlpha="0"/>
<Alpha childKey="BannerBottomGlow" startDelay="0.9" duration="0.25" order="2" fromAlpha="0" toAlpha="1"/>
<Scale childKey="BannerBottomGlow" startDelay="0.9" duration="0.5" order="2" fromScaleX="0.5" fromScaleY="1" toScaleX="1.6" toScaleY="1"/>
<Alpha childKey="BannerBottomGlow" startDelay="1.1" duration="0.6" order="2" fromAlpha="1" toAlpha="0"/>
<Alpha childKey="BannerMiddleGlow" startDelay="0.9" duration="0.25" order="2" fromAlpha="0" toAlpha="1"/>
<Scale childKey="BannerMiddleGlow" startDelay="0.9" duration="0.5" order="2" fromScaleX="0.5" fromScaleY="1" toScaleX="1.6" toScaleY="1"/>
<Alpha childKey="BannerMiddleGlow" startDelay="1.1" duration="0.6" order="2" fromAlpha="1" toAlpha="0"/>
<Alpha childKey="Title" startDelay="0.2" duration="0.25" order="2" fromAlpha="0" toAlpha="1"/>
<Alpha childKey="DescriptionLineOne" startDelay="0.2" duration="0.25" order="2" fromAlpha="0" toAlpha="1"/>
<Alpha childKey="DescriptionLineTwo" startDelay="0.2" duration="0.25" order="2" fromAlpha="0" toAlpha="1"/>
<Alpha childKey="Glow" duration="0.1" order="2" fromAlpha="0" toAlpha="1"/>
<Scripts>
<OnPlay>
local banner = self:GetParent();
banner.LeftFillagree:SetPoint("CENTER", banner.SkullCircle, "CENTER", -10, 0);
banner.RightFillagree:SetPoint("CENTER", banner.SkullCircle, "CENTER", 10, 0);
</OnPlay>
<OnFinished>
local banner = self:GetParent();
banner.LeftFillagree:SetPoint("CENTER", banner.SkullCircle, "CENTER", -47, 0);
banner.RightFillagree:SetPoint("CENTER", banner.SkullCircle, "CENTER", 47, 0);
</OnFinished>
</Scripts>
</AnimationGroup>
<AnimationGroup parentKey="AnimOut">
<Alpha duration="0.5" order="1" fromAlpha="1" toAlpha="0"/>
<Scripts>
<OnFinished function="ChallengeModeCompleteBanner_OnAnimOutFinished"/>
</Scripts>
</AnimationGroup>
</Animations>
<Scripts>
<OnLoad method="OnLoad"/>
<OnEvent method="OnEvent"/>
<OnUpdate method="OnUpdate"/>
</Scripts>
</Frame>
<Frame name="ChallengesDungeonIconFrameTemplate" parentArray="DungeonIcons" mixin="ChallengesDungeonIconMixin" virtual="true">
<Size x="52" y="52"/>
<Layers>
......@@ -394,7 +596,7 @@
</Frame>
<Frame name="ChallengesGuildBestTemplate" parentArray="GuildBests" virtual="true" mixin="ChallengesGuildBestMixin">
<Size x="176" y="18"/>
<Size x="220" y="18"/>
<Layers>
<Layer level="ARTWORK">
<FontString parentKey="CharacterName" inherits="GameFontNormal" justifyH="LEFT">
......@@ -427,23 +629,23 @@
</Frame>
<Frame parentKey="WeeklyChest" hidden="true">
<Size x="182" y="129"/>
<Size x="98" y="73"/>
<Anchors>
<Anchor point="BOTTOMLEFT" x="62" y="72"/>
<Anchor point="TOPRIGHT" x="-7" y="-27"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture atlas="ChallengeMode-Chest">
<Size x="182" y="129"/>
<Size x="98" y="73"/>
<Anchors>
<Anchor point="BOTTOM"/>
<Anchor point="TOPRIGHT"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_RIGHT", -30, -22);
GameTooltip:SetOwner(self, "ANCHOR_RIGHT", -20, -15);
GameTooltip:SetText(CHALLENGE_MODE_WEEKLY_REWARD_AVAILABLE, nil, nil, nil, nil, true);
GameTooltip:Show();
</OnEnter>
......@@ -451,38 +653,7 @@
</Scripts>
</Frame>
<Frame parentKey="GuildBest" mixin="ChallengesFrameGuildBestMixin" hidden="true">
<Size x="200" y="110"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.WeeklyChest" relativePoint="RIGHT" x="16" y="0"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture file="Interface\Tooltips\UI-Tooltip-Background" setAllPoints="true">
<Color r="0" g="0" b="0" a=".75"/>
</Texture>
</Layer>
<Layer level="ARTWORK">
<FontString parentKey="Title" inherits="GameFontNormalMed2" text="CHALLENGE_MODE_GUILD_BEST">
<Anchors>
<Anchor point="TOPLEFT" x="12" y="-4"/>
</Anchors>
</FontString>
<Texture parentKey="Line" atlas="ChallengeMode-RankLineDivider" useAtlasSize="true">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.Title" relativePoint="BOTTOMLEFT" x="-8" y="2"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<Frame inherits="ChallengesGuildBestTemplate" hidden="true">
<Anchors>
<Anchor point="TOP" relativeKey="$parent.Line" relativePoint="BOTTOM"/>
</Anchors>
</Frame>
</Frames>
</Frame>
<Frame parentKey="WeeklyBest" mixin="ChallengesFrameWeeklyBestMixin">
<Size x="500" y="352"/>
<Anchors>
......@@ -552,6 +723,38 @@
<Anchor point="BOTTOMLEFT" x="8" y="8"/>
</Anchors>
</Frame>
<Frame parentKey="GuildBest" mixin="ChallengesFrameGuildBestMixin" hidden="true">
<Size x="250" y="110"/>