Quantcast

Kill the MoP compatability

Adrian L Lange [10-15-14 - 15:55]
Kill the MoP compatability
Filename
BonusRollPreview.lua
encounters/Draenor.lua
diff --git a/BonusRollPreview.lua b/BonusRollPreview.lua
index 3680d14..5aecc01 100644
--- a/BonusRollPreview.lua
+++ b/BonusRollPreview.lua
@@ -1,9 +1,6 @@
-local WoD = select(4, GetBuildInfo()) >= 6e4
-
 local _, ns = ...
 local currentEncounterID
 local itemButtons = {}
-ns.WoD = WoD

 local BACKDROP = {
 	bgFile = [[Interface\ChatFrame\ChatFrameBackground]], tile = true, tileSize = 16,
@@ -160,10 +157,6 @@ local function ItemButtonUpdate(self, elapsed)
 	else
 		ShoppingTooltip1:Hide()
 		ShoppingTooltip2:Hide()
-
-		if(not WoD) then
-			ShoppingTooltip3:Hide()
-		end
 	end

 	if(IsModifiedClick('DRESSUP')) then
diff --git a/encounters/Draenor.lua b/encounters/Draenor.lua
index 6f17744..3335537 100644
--- a/encounters/Draenor.lua
+++ b/encounters/Draenor.lua
@@ -2,37 +2,35 @@ local _, ns = ...
 ns.encounterIDs = ns.encounterIDs or {}
 ns.continents = ns.continents or {}

-if(ns.WoD) then
-	-- http://www.wowhead.com/spells=0?filter=na=Bonus;cr=84:109:16;crs=1:6:6
-	for spellID, encounterID in next, {
-		-- World - 557
-		[-1] = 1291, -- Drov the Ruiner
-		[-1] = 1211, -- Tarina the Ageless
-		[-1] = 1262, -- Rukhmar
+-- http://www.wowhead.com/spells=0?filter=na=Bonus;cr=84:109:16;crs=1:6:6
+for spellID, encounterID in next, {
+	-- World - 557
+	[-1] = 1291, -- Drov the Ruiner
+	[-1] = 1211, -- Tarina the Ageless
+	[-1] = 1262, -- Rukhmar

-		-- Highmaul - 477
-		[177521] = 1128, -- Kargath Bladefist
-		[177522] = 971, -- The Butcher
-		[177523] = 1195, -- Tectus
-		[177524] = 1196, -- Brackenspore
-		[177525] = 1148, -- Twin Ogron
-		[177526] = 1153, -- Ko'ragh
-		[177528] = 1197, -- Imperator Mar'gok
+	-- Highmaul - 477
+	[177521] = 1128, -- Kargath Bladefist
+	[177522] = 971, -- The Butcher
+	[177523] = 1195, -- Tectus
+	[177524] = 1196, -- Brackenspore
+	[177525] = 1148, -- Twin Ogron
+	[177526] = 1153, -- Ko'ragh
+	[177528] = 1197, -- Imperator Mar'gok

-		-- Blackrock Foundry - 457
-		[177529] = 1161, -- Gruul
-		[177530] = 1202, -- Oregorger
-		[177536] = 1122, -- Beastlord Darmac
-		[177534] = 1123, -- Flamebender Ka'graz
-		[177533] = 1155, -- Hans'gar and Franzok
-		[177537] = 1147, -- Operator Thogar
-		[177531] = 1154, -- The Blast Furnace
-		[177535] = 1162, -- Kromog
-		[177538] = 1203, -- The Iron Maidens
-		[177539] = 959   -- Blackhand
-	} do
-		ns.encounterIDs[spellID] = encounterID
-	end
-
-	ns.continents[7] = 557
+	-- Blackrock Foundry - 457
+	[177529] = 1161, -- Gruul
+	[177530] = 1202, -- Oregorger
+	[177536] = 1122, -- Beastlord Darmac
+	[177534] = 1123, -- Flamebender Ka'graz
+	[177533] = 1155, -- Hans'gar and Franzok
+	[177537] = 1147, -- Operator Thogar
+	[177531] = 1154, -- The Blast Furnace
+	[177535] = 1162, -- Kromog
+	[177538] = 1203, -- The Iron Maidens
+	[177539] = 959   -- Blackhand
+} do
+	ns.encounterIDs[spellID] = encounterID
 end
+
+ns.continents[7] = 557