added libRaidStatus
This commit is contained in:
+25
-1
@@ -1,6 +1,6 @@
|
||||
|
||||
|
||||
local dversion = 220
|
||||
local dversion = 221
|
||||
|
||||
local major, minor = "DetailsFramework-1.0", dversion
|
||||
local DF, oldminor = LibStub:NewLibrary (major, minor)
|
||||
@@ -3509,6 +3509,30 @@ DF.AlliedRaceList = {
|
||||
[41] = "MagharOrc",
|
||||
}
|
||||
|
||||
local slotIdToIcon = {
|
||||
[1] = "Interface\\ICONS\\" .. "INV_Helmet_29", --head
|
||||
[2] = "Interface\\ICONS\\" .. "INV_Jewelry_Necklace_07", --neck
|
||||
[3] = "Interface\\ICONS\\" .. "INV_Shoulder_25", --shoulder
|
||||
[5] = "Interface\\ICONS\\" .. "INV_Chest_Cloth_08", --chest
|
||||
[6] = "Interface\\ICONS\\" .. "INV_Belt_15", --waist
|
||||
[7] = "Interface\\ICONS\\" .. "INV_Pants_08", --legs
|
||||
[8] = "Interface\\ICONS\\" .. "INV_Boots_Cloth_03", --feet
|
||||
[9] = "Interface\\ICONS\\" .. "INV_Bracer_07", --wrist
|
||||
[10] = "Interface\\ICONS\\" .. "INV_Gauntlets_17", --hands
|
||||
[11] = "Interface\\ICONS\\" .. "INV_Jewelry_Ring_22", --finger 1
|
||||
[12] = "Interface\\ICONS\\" .. "INV_Jewelry_Ring_22", --finger 2
|
||||
[13] = "Interface\\ICONS\\" .. "INV_Jewelry_Talisman_07", --trinket 1
|
||||
[14] = "Interface\\ICONS\\" .. "INV_Jewelry_Talisman_07", --trinket 2
|
||||
[15] = "Interface\\ICONS\\" .. "INV_Misc_Cape_19", --back
|
||||
[16] = "Interface\\ICONS\\" .. "INV_Sword_39", --main hand
|
||||
[17] = "Interface\\ICONS\\" .. "INV_Sword_39", --off hand
|
||||
}
|
||||
|
||||
function DF:GetArmorIconByArmorSlot(equipSlotId)
|
||||
return slotIdToIcon[equipSlotId] or ""
|
||||
end
|
||||
|
||||
|
||||
--> store and return a list of character races, always return the non-localized value
|
||||
DF.RaceCache = {}
|
||||
function DF:GetCharacterRaceList (fullList)
|
||||
|
||||
+9
-2
@@ -879,9 +879,7 @@ for specId, cooldownTable in pairs (DF.CooldownsBySpec) do
|
||||
end
|
||||
|
||||
DF.CooldownToClass [spellId] = DF.SpecIds [spellId]
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
function DF:FindClassForCooldown (spellId)
|
||||
@@ -900,6 +898,15 @@ end
|
||||
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
--consumables
|
||||
|
||||
DF.WeaponEnchantIds = {
|
||||
[6188] = true, --shadowcore oil
|
||||
[6190] = true, --embalmer's oil
|
||||
[6201] = true, --weighted
|
||||
[6200] = true, --sharpened
|
||||
[5400] = true, --flametongue
|
||||
[5401] = true, --windfury
|
||||
}
|
||||
|
||||
DF.FlaskIDs = {
|
||||
--Shadowlands
|
||||
[307185] = true, --Spectral Flask of Power
|
||||
|
||||
Reference in New Issue
Block a user