Fixing stuff from latest alpha and more development
This commit is contained in:
@@ -253,6 +253,7 @@ do
|
||||
customItemList[388948] = {itemId = 193732} --trinket: Globe of Jagged Ice
|
||||
customItemList[381760] = {itemId = 193786, isPassive = true} --trinket: Mutated Magmammoth Scale (melee)
|
||||
customItemList[389839] = {itemId = 193757, isPassive = true} --trinket: Ruby Whelp Shell
|
||||
customItemList[401428] = {itemId = 202615, isPassive = true} --trinket: Vessel of Searing Shadow
|
||||
end
|
||||
|
||||
if (LIB_OPEN_RAID_SPELL_CUSTOM_NAMES) then
|
||||
@@ -392,11 +393,21 @@ do
|
||||
return
|
||||
end
|
||||
|
||||
local spellName, rank, spellIcon = GetSpellInfo(spellId)
|
||||
--do nothing if the spell is already cached
|
||||
local spellInfo = rawget(Details.spellcache, spellId)
|
||||
if (spellInfo) then
|
||||
return
|
||||
end
|
||||
|
||||
local spellName, rank, spellIcon = Details.GetSpellInfo(spellId)
|
||||
if (not spellName) then
|
||||
spellName, rank, spellIcon = GetSpellInfo(spellId)
|
||||
end
|
||||
|
||||
if (spellName) then
|
||||
rawset (Details.spellcache, spellId, {spellName .. Loc ["STRING_DOT"], rank, spellIcon})
|
||||
rawset(Details.spellcache, spellId, {spellName .. Loc ["STRING_DOT"], rank, spellIcon})
|
||||
else
|
||||
rawset (Details.spellcache, spellId, {"Unknown DoT Spell? " .. Loc ["STRING_DOT"], rank, [[Interface\InventoryItems\WoWUnknownItem01]]})
|
||||
rawset(Details.spellcache, spellId, {"Unknown DoT Spell? " .. Loc ["STRING_DOT"], rank, [[Interface\InventoryItems\WoWUnknownItem01]]})
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user