Skip to content

Commit

Permalink
Fast fix for Vale and Uldum in 8.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
IrcDirk committed Jan 21, 2020
1 parent 18a2411 commit 10a3934
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Data/Zones.lua
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,9 @@ Nx.Zones = {

[1355] = L["Nazjatar"] .. "|110|120|2|12||",
[1462] = L["Mechagon Island"] .. "|110|120|2|11||",

[1527] = L["Uldum"] .. "|80|90|2|1||",
[1530] = L["Vale of Eternal Blossoms2"] .. "|80|90|2|6||",
}


Expand Down
4 changes: 2 additions & 2 deletions NxMap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9076,12 +9076,12 @@ function Nx.Map:InitTables()

Nx.Map.MapZones = {
[0] = {12,13,101,113,948,424,572,619,905,875,876,0,-1},
[1] = {1,7,10,57,62,63,64,65,66,69,70,71,76,77,78,80,81,83,85,86,88,89,97,103,106,198,199,249,327,338,460,461,462,463,468},
[1] = {1,7,10,57,62,63,64,65,66,69,70,71,76,77,78,80,81,83,85,86,88,89,97,103,106,198,199,249,327,338,460,461,462,463,468,1527},
[2] = {14,15,17,18,21,22,23,25,26,27,32,36,37,42,47,48,49,50,51,52,56,84,87,90,94,95,110,122,124,179,201,202,203,204,205,210,217,218,224,241,244,245,425,427,465,467,469},
[3] = {100,102,104,105,107,108,109,111},
[4] = {114,115,116,117,118,119,120,121,123,125,127,170},
[5] = {174,194,207,276,407},
[6] = {371,376,378,379,388,390,418,422,433,504,507,554},
[6] = {371,376,378,379,388,390,418,422,433,504,507,554,1530},
[7] = {525,539,535,534,542,543,550,577,579,585,588,622,624},
[8] = {625,630,634,641,646,650,672,680,750},
[9] = {830,882,885},
Expand Down
41 changes: 40 additions & 1 deletion NxMapData.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1594,6 +1594,20 @@ Map.MapWorldInfo = {
Name = L["Mechagon Island"],
Overlay = "mechagonisland"
},
[1527] = {
Scale = 12.387499511719,
X = -488.33330078125,
Y = 1605.8333007813,
Overlay = "uldum",
Name = L["Uldum"],
},
[1530] = {
Scale = 5.06666796875,
X = -496.25,
Y = -389.5833984375,
Overlay = "valeofeternalblossoms",
Name=L["Vale of Eternal Blossoms"],
},
[9005] = { -- Blade's Edge Arena
Name = L["Blade's Edge Arena"],
1,
Expand Down Expand Up @@ -3476,7 +3490,29 @@ Map.ZoneOverlays = {
["3022384,3022395,3022405,3022406,3022407,3022408,3022409,3022410,3022411,3022385,3022386,3022387,3022388,3022389,3022390,3022391,3022392,3022393,3022394,3022396,3022397,3022398,3022399,3022400,3022401,3022402,3022403,3022404"] = "1315,40,1723,945",
["3022412,3022423,3022430,3022431,3022432,3022433,3022434,3022435,3022436,3022413,3022414,3022415,3022416,3022417,3022418,3022419,3022420,3022421,3022422,3022424,3022425,3022426,3022427,3022428,3022429"] = "2791,121,1049,1055",
["3022437,3022448,3022459,3022467,3022468,3022469,3022470,3022471,3022472,3022438,3022439,3022440,3022441,3022442,3022443,3022444,3022445,3022446,3022447,3022449,3022450,3022451,3022452,3022453,3022454,3022455,3022456,3022457,3022458,3022460,3022461,3022462,3022463,3022464,3022465,3022466"] = "46,978,1424,1511",
}
},
[1342] = {
["3155826,3155827,3155828,3155829,3155830,3155831"] = "0,0,438,658",
["3155832,3155833,3155834,3155835,3155836,3155837,3155838,3155839,3155840"] = "11,0,604,636",
["3155841,3155842,3155843,3155844,3155845,3155846,3155847,3155848,3155849"] = "315,31,613,558",
},
["threatvaleofeternalblossoms"] =
{
["threatvaleofeternalblossoms1"] = "0,0,256,256,1",
["threatvaleofeternalblossoms2"] = "256,0,256,256,1",
["threatvaleofeternalblossoms3"] = "512,0,256,256,1",
["threatvaleofeternalblossoms4"] = "768,0,256,256,1",

["threatvaleofeternalblossoms5"] = "0,256,256,256,1",
["threatvaleofeternalblossoms6"] = "256,256,256,256,1",
["threatvaleofeternalblossoms7"] = "512,256,256,256,1",
["threatvaleofeternalblossoms8"] = "768,256,256,256,1",

["threatvaleofeternalblossoms9"] = "0,512,256,256,1",
["threatvaleofeternalblossoms10"] = "256,512,256,256,1",
["threatvaleofeternalblossoms11"] = "512,512,256,256,1",
["threatvaleofeternalblossoms12"] = "768,512,256,256,1",
},
}

--------
Expand Down Expand Up @@ -10782,11 +10818,14 @@ function Nx.Map:GetZoneInfo (mapid)
winfo[mapid].X = ((left * -1) / 5)
winfo[mapid].Y = ((top * -1) / 5)
winfo[mapid].Scale = ((right * -1) + left) / 500
winfo[mapid].MapArt = C_Map.GetMapArtID(mapid)
end
local mapinfo = C_Map.GetMapInfo(mapid)
if mapinfo and (mapinfo.mapType == 5 or mapinfo.mapType == 4) then
winfo[mapid].Instance = true
end

return winfo
end

Map.MapLevels={
Expand Down

0 comments on commit 10a3934

Please sign in to comment.