Skip to content

Commit

Permalink
Add CATA starting zones.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludovicus-Maior committed Mar 27, 2024
1 parent 2e66f1c commit 0fb4982
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions WoWPro_Leveling/WoWPro_Leveling.lua
Expand Up @@ -72,6 +72,19 @@ WoWPro.Leveling.ClassicWrathStartGuides = {
Troll = 'BC-OrcTroll'
}

WoWPro.Leveling.ClassicCataStartGuides = {
BloodElf = "BC-BloodElf",
Draenei = "SnoAzu0112",
Dwarf = 'BosDun0112',
Gnome = 'BosDun0112',
Human = 'WOTLK_INTRO_Human',
NightElf = "WOTLK_INTRO_NE",
Orc = 'BC-OrcTroll',
Scourge = 'BC-Scourge',
Tauren = 'BC-Tauren',
Troll = 'BC-OrcTroll'
}

-- Called before all addons have loaded, but after saved variables have loaded. --
function WoWPro.Leveling:OnInitialize()
-- Legacy, destroy!
Expand Down Expand Up @@ -103,6 +116,8 @@ function WoWPro.Leveling:OnEnable()
WoWProDB.char.currentguide = WoWPro.Leveling.ClassicBCStartGuides[engRace]
elseif WoWPro.WRATH then
WoWProDB.char.currentguide = WoWPro.Leveling.ClassicWrathStartGuides[engRace]
elseif WoWPro.CATA then
WoWProDB.char.currentguide = WoWPro.Leveling.ClassicCataStartGuides[engRace]
else
local mapID = _G.C_Map.GetBestMapForUnit("player");
if mapID == 1727 or mapID == 1409 then
Expand Down

0 comments on commit 0fb4982

Please sign in to comment.