WoWInterface SVN Aloft

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /branches/cataclysm/Aloft/AloftVisibility
    from Rev 1888 to Rev 1973
    Reverse comparison

Rev 1888 → Rev 1973

AloftVisibility.lua
496,9 → 496,9
function Aloft:GetTotemExceptionColor(aloftData)
local type = aloftData.type
local name = aloftData.name
if type == "hostile" and (AloftVisibility.db.profile.showHostileTotems or AloftVisibility.db.profile.enableHostileTotem[name]) then
if type == "hostile" and AloftVisibility.db.profile.enableHostileTotem[name] then
return AloftVisibility.db.profile.hostileTotemColor[name]
elseif type == "friendlyNPC" and (AloftVisibility.db.profile.showFriendlyTotems or AloftVisibility.db.profile.enableFriendlyTotem[name]) then
elseif type == "friendlyNPC" and AloftVisibility.db.profile.enableFriendlyTotem[name] then
return AloftVisibility.db.profile.friendlyTotemColor[name]
end
return nil