Skip to content

Commit

Permalink
Organize Cata leveling guides by continent.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludovicus-Maior committed May 1, 2024
1 parent 02d978d commit f59e14e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion WoWPro_Leveling/WoWPro_Leveling_GuideList.lua
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,14 @@ local function ResolveGuide(guide)
WoWPro:ResolveIcon(guide)
if not WoWPro.RETAIL then
guide.Content = rangeFormat:format(guide.startlevel, guide.endlevel)
if WoWPro.Client >= 3 then
if WoWPro.Client >= 4 then
local _, zoneID = WoWPro:ValidZone(guide.zone)
if guide.isIntro then
guide.category = "Intro"
else
guide.category = WoWPro.ZoneContinent(zoneID) or guide.zone
end
elseif WoWPro.Client >= 3 then
guide.category = guide.Content
else
guide.category = _G["EXPANSION_NAME"..tostring(WoWPro.Client-1)]
Expand Down

0 comments on commit f59e14e

Please sign in to comment.