Mercurial > wow > buffalo2
changeset 138:6e2f20230190 tip
- 8.1 TOC
- disabled Currency and WorldState modules for lack of use
- BoD progress link buttons for group finder
author | Nenue |
---|---|
date | Fri, 22 Feb 2019 17:34:58 -0500 |
parents | dee5dd232bcb |
children | |
files | Modules/BuffFrame.lua Modules/LFGFrame.lua Veneer.toc |
diffstat | 3 files changed, 40 insertions(+), 67 deletions(-) [+] |
line wrap: on
line diff
--- a/Modules/BuffFrame.lua Wed Jul 18 15:31:46 2018 -0400 +++ b/Modules/BuffFrame.lua Fri Feb 22 17:34:58 2019 -0500 @@ -387,6 +387,7 @@ facade:SetShown(isShown) end) + --[[ facade.Audit = facade.Audit or {} for i = 1, 3 do local button = CreateFrame('Button', nil, facade, 'VeneerBuffAuditTemplate') @@ -398,6 +399,7 @@ button:SetPoint('TOPLEFT', 0, (i-1) * 16 * -1) facade.Audit[i] = button end + --]] facade.IsAcquired = true facade:SetParent(UIParent) @@ -480,6 +482,7 @@ facade.count:Hide() end + --[[ for i, button in ipairs(facade.Audit) do local isShown = (values[i] and true) if valueMasks[name] and valueMasks[name][i] ~= nil then @@ -490,6 +493,7 @@ facade.Audit[i]:SetShown(isShown) facade.Audit[i].Value:SetText(values[i]) end + --]] else
--- a/Modules/LFGFrame.lua Wed Jul 18 15:31:46 2018 -0400 +++ b/Modules/LFGFrame.lua Fri Feb 22 17:34:58 2019 -0500 @@ -80,46 +80,51 @@ [12002] = 12111, } local cheevos = { - -- Mythic Prog + + -- mythic prog { - -- Antorus - 12002, -- argus - 12001, -- aggramar - 12000, -- coven - 11999, -- barry - 11998, -- kin'garoth - 11997, -- imonar - 11996, -- eonar - 11995, -- portal keeper - 11994, -- high command - 11993, -- doggos - 11992, -- worldbreaker + 13314, -- Mythic: Lady Jaina Proudmoore + 13313, -- Mythic: Stormwall Blockade + 13312, -- Mythic: Mekkatorque + 13311, -- Mythic: King Rastakhan + 13300, -- Mythic: Conclave of the Chosen + 13299, -- Mythic: Opulence + 13298, -- Mythic: Jadefire Masters (Alliance Only) + 13295, -- Mythic: Jadefire Masters (Horde Only) + 13293, -- Mythic: Grong + 13292, -- Mythic: Champion of the Light - -- Tomb of Sargeras - 11781, -- kj - 11780, -- avatar - 11779, -- maiden - 11776, -- mistress - 11778, -- host, - 11777, -- sisters - 11775, -- harjatan, - 11774, -- di, - 11773, -- goroth + 12533, -- Mythic: Ghuun + 12532, -- Mythic: Mythrax + 12531, -- Mythic: Zul + 12530, -- Mythic: Fetid Devourer + 12529, -- + 12527, + 12526, + 12524, + }, - -- Completion + -- Completion BfA + { + 13323, -- Cutting Edge: Lady Jaina Proudmoore, + 13322, -- Ahead of the Curve: Lady Jaina Proudmoore, + 12535, -- Cutting Edge: Ghuun, + 12536, -- Ahead of the Curve: Ghuun, + + } + + , + -- Completion Legion { 12111, -- CE Argus, - 12110, -- AotC Argus, 11875, -- CE KJ - 11874, -- AotC KJ 11790 -- Deceiver's Fall, }, -- Mythic+ { - 11162, -- master - 11185, -- conqueror + 13080, -- BfA Keystone Master 1 } } @@ -160,9 +165,6 @@ numBlocks = self:UpdateAchievementLinks(numBlocks) end - if self.InvasionsDirty or forced then - numBlocks = self:UpdateInvasionButtons(numBlocks) - end local lastBlock local contentsHeight = 0 @@ -198,32 +200,6 @@ return block end -function module:UpdateInvasionButtons(offset) - print('UpdateInvasionButtons()') - offset = offset or 0 - local lastBlock = self.lastAchievement - - local contentsHeight = 0 - local areaPOIs = C_WorldMap.GetAreaPOIForMap(GetCurrentMapAreaID(), 1); - if areaPOIs then - - - for i, areaPoiID in ipairs(areaPOIs) do - local poiInfo = C_WorldMap.GetAreaPOIInfo(GetCurrentMapAreaID(), areaPoiID, 1); - - offset = offset + 1 - --print(index) - local block = self:GetBlock(offset) - block:SetScript('OnClick', invasion.OnClick) - block.Label:SetText(poiInfo.description) - block.Icon:SetAtlas(poiInfo.atlasName) - block.searchText = poiInfo.description - block.buttonType = 'group-poi' - end - end - return offset, contentsHeight -end - function module:UpdateAchievementLinks(offset) print('UpdateAchievementLinks()') offset = offset or 0 @@ -235,6 +211,7 @@ for _, group in ipairs(cheevos) do for _, id in ipairs(group) do local _, name, points, completed, month, day, year, description, flags, icon = GetAchievementInfo(id) + print('checking', id, name) if completed then -- if the highest mythic kill if listed[overlaps[id]] then
--- a/Veneer.toc Wed Jul 18 15:31:46 2018 -0400 +++ b/Veneer.toc Fri Feb 22 17:34:58 2019 -0500 @@ -1,4 +1,4 @@ -## Interface: 80000 +## Interface: 80100 ## Title: Veneer ## Notes: Collection of interface enhancements that make life easier ## Author: Krakyn @@ -11,14 +11,6 @@ Init.lua Veneer.xml -##Options.lua - -Modules\WorldState.xml -Modules\Currency.xml Modules\TalkingHead.xml Modules\BuffFrame.xml -##Modules\PaperDoll.xml -##Modules\PetBattle.xml -##Modules\ArtifactPower.xml -##Modules\FriendsFrame.xml -##Modules\LFGFrame.xml \ No newline at end of file +Modules\LFGFrame.xml \ No newline at end of file