imit
This commit is contained in:
+23
-1
@@ -1283,7 +1283,29 @@ end
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
--consumables
|
||||
if (DF.IsShadowlandsWow() or DF.IsDragonflight()) then --Temporary IsDragonFlight until I get the items together
|
||||
if (DF.IsWarWow()) then
|
||||
--TWW TODO Get buff ids. Current alpha on 6/6 does not have all professions fully implemented.
|
||||
DF.WeaponEnchantIds = {
|
||||
}
|
||||
|
||||
DF.FlaskIDs = {
|
||||
}
|
||||
|
||||
DF.FoodIDs = {
|
||||
--TODO Get all buffs. Current alpha on 6/6 does not have all buffs.
|
||||
[457173] = 1, -- Lowest Secondary Stat +273 30min (Pan Seared Mycobloom)
|
||||
[457174] = 1, -- Lowest Secondary Stat +273 15min (Skewered Filet)
|
||||
}
|
||||
|
||||
DF.PotionIDs = {
|
||||
}
|
||||
|
||||
DF.FeastIDs = {
|
||||
}
|
||||
|
||||
DF.RuneIDs = {
|
||||
}
|
||||
elseif (DF.IsShadowlandsWow() or DF.IsDragonflight()) then --Temporary IsDragonFlight until I get the items together
|
||||
DF.WeaponEnchantIds = {
|
||||
[6188] = true, --shadowcore oil
|
||||
[6190] = true, --embalmer's oil
|
||||
|
||||
@@ -10,6 +10,8 @@ end
|
||||
|
||||
local openRaidLib = LibStub:GetLibrary("LibOpenRaid-1.0")
|
||||
|
||||
local GetItemInfo = GetItemInfo or C_Item.GetItemInfo
|
||||
|
||||
local CONST_FRACTION_OF_A_SECOND = 0.01
|
||||
|
||||
local CONST_COOLDOWN_TYPE_OFFENSIVE = 1
|
||||
|
||||
@@ -29,6 +29,25 @@ local GetItemInfo = GetItemInfo
|
||||
local GetItemStats = GetItemStats
|
||||
local GetInventoryItemLink = GetInventoryItemLink
|
||||
|
||||
local GetSpellInfo = GetSpellInfo or function(...) local result = C_Spell.GetSpellInfo(...) if result then return result.name, nil, result.iconID end end
|
||||
|
||||
local GetSpellTabInfo = GetSpellTabInfo or function(index)
|
||||
local skillLineInfo = C_SpellBook.GetSpellBookSkillLineInfo(index);
|
||||
if skillLineInfo then
|
||||
return skillLineInfo.name,
|
||||
skillLineInfo.iconID,
|
||||
skillLineInfo.itemIndexOffset,
|
||||
skillLineInfo.numSpellBookItems,
|
||||
skillLineInfo.isGuild,
|
||||
skillLineInfo.offSpecID,
|
||||
skillLineInfo.shouldHide,
|
||||
skillLineInfo.specID;
|
||||
end
|
||||
end
|
||||
|
||||
local GetDetailedItemLevelInfo = GetDetailedItemLevelInfo or C_Item.GetDetailedItemLevelInfo
|
||||
local GetSpellBookItemInfo = GetSpellBookItemInfo or C_SpellBook.GetSpellBookItemInfo
|
||||
|
||||
local isTimewalkWoW = function()
|
||||
local _, _, _, buildInfo = GetBuildInfo()
|
||||
if (buildInfo < 40000) then
|
||||
|
||||
@@ -32,13 +32,13 @@ LIB_OPEN_RAID_CAN_LOAD = false
|
||||
local versionString, revision, launchDate, gameVersion = GetBuildInfo()
|
||||
|
||||
local isExpansion_Dragonflight = function()
|
||||
if (gameVersion >= 100000) then
|
||||
if (gameVersion >= 100000 and gameVersion < 110000) then
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
--don't load if it's not retail, emergencial patch due to classic and bcc stuff not transposed yet
|
||||
if (WOW_PROJECT_ID ~= WOW_PROJECT_MAINLINE and not isExpansion_Dragonflight()) then
|
||||
if (WOW_PROJECT_ID ~= WOW_PROJECT_MAINLINE or not isExpansion_Dragonflight()) then
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -8,4 +8,5 @@
|
||||
<Script file="ThingsToMantain_Wrath.lua" />
|
||||
<Script file="ThingsToMantain_Era.lua" />
|
||||
<Script file="ThingsToMantain_Cata.lua" />
|
||||
<Script file="ThingsToMantain_TheWarWithin.lua" />
|
||||
</Ui>
|
||||
|
||||
Reference in New Issue
Block a user