Small bug fixes and improvements

This commit is contained in:
Tercio Jose
2022-10-10 13:26:13 -03:00
parent b588d5e30c
commit 1ed29008aa
119 changed files with 6556 additions and 6650 deletions
+3 -3
View File
@@ -3900,7 +3900,7 @@ do
}
local Loc = LibStub ("AceLocale-3.0"):GetLocale ( "Details" )
local Loc = LibStub("AceLocale-3.0"):GetLocale ( "Details" )
_detalhes.SpellOverwrite = {
--[124464] = {name = GetSpellInfo(124464) .. " (" .. Loc ["STRING_MASTERY"] .. ")"}, --shadow word: pain mastery proc (priest)
}
@@ -3950,10 +3950,10 @@ do
end
local default_school_color = {145/255, 180/255, 228/255}
function _detalhes:GetSpellSchoolColor (school)
return unpack (_detalhes.spells_school [school] and _detalhes.spells_school [school].decimals or default_school_color)
return unpack(_detalhes.spells_school [school] and _detalhes.spells_school [school].decimals or default_school_color)
end
function _detalhes:GetCooldownList (class)
class = class or select (2, UnitClass ("player"))
class = class or select(2, UnitClass ("player"))
return _detalhes.DefensiveCooldownSpells [class]
end
end