WoWInterface SVN TitanPanelRecommendedZone

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 68 to Rev 69
    Reverse comparison

Rev 68 → Rev 69

trunk/TitanRecZone/TitanRecZone.lua
373,31 → 373,29
tempText = tempText .. "\n\n" .. TRZ_WHITE .. TRZ_TOOLTIP_RECOMMEND .. TRZ_FONT_OFF;
local iZone;
for iZone in LT:IterateZones() do
if (not LT:IsComplex(iZone)) then
local low, high = LT:GetLevel(iZone)
if ( (low - showHigher) <= player_level and
(high + showLower) >= player_level ) then
if ( LT:IsContested(iZone) or LT:IsFriendly(iZone) ) then
local low, high = LT:GetLevel(iZone)
if ( (low - showHigher) <= player_level and
(high + showLower) >= player_level ) then
if ( LT:IsContested(iZone) or LT:IsFriendly(iZone) ) then
 
if ( rows >= TRZ_MAX_ROWS ) then
tempText = tempText .. "\n" .. TRZ_TOOLTIP_MORE;
trz_tooltip_text = tempText;
return
end
if ( rows >= TRZ_MAX_ROWS ) then
tempText = tempText .. "\n" .. TRZ_TOOLTIP_MORE;
trz_tooltip_text = tempText;
return
end
 
-- Add zone name and level range.
tempText = tempText .. "\n" .. TRZ_GetZoneText(iZone,colorTooltip) .. "\t";
rows = rows + 1;
-- Add zone name and level range.
tempText = tempText .. "\n" .. TRZ_GetZoneText(iZone,colorTooltip) .. "\t";
rows = rows + 1;
 
-- Show faction
if ( showFaction ) then
tempText = tempText .. TRZ_GetFactionText(iZone,colorTooltip);
end
-- Show faction
if ( showFaction ) then
tempText = tempText .. TRZ_GetFactionText(iZone,colorTooltip);
end
 
-- show continent
if ( showContinent ) then
tempText = tempText .. TRZ_GetContinentText(iZone,colorTooltip);
end
-- show continent
if ( showContinent ) then
tempText = tempText .. TRZ_GetContinentText(iZone,colorTooltip);
end
end
end