diff Modules/LFGFrame.lua @ 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 414e37af1b1b
children
line wrap: on
line diff
--- 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