Skip to content

Commit

Permalink
Adding Nazjatar BLKs for minimap zoom.
Browse files Browse the repository at this point in the history
  • Loading branch information
IrcDirk committed Jun 28, 2019
1 parent 2a71beb commit dbfbf79
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 3 deletions.
2 changes: 1 addition & 1 deletion NxMap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6995,8 +6995,8 @@ function Nx.Map:UpdateMiniFrames()
for x = miniX, miniX + self.MiniBlks - 1 do

f = self.MiniFrms[frmNum]
--Nx.prt(mapId.." | "..miniT[3] .." "..miniT[4] .." "..miniT[7].." | "..x.." "..y.." | "..(tonumber(format("%02d%02d", (x + miniT[3]), (y + miniT[4])))).." | "..(txname and txname or "nil"));
local txname = miniT[1][tonumber(format("%02d%02d", (x + miniT[3]), (y + miniT[4])))] --Map:GetMiniBlkName (miniT, x, y)
--Nx.prtD(mapId.." "..miniT[7].." "..x.." "..y.." "..(tonumber(format("%02d%02d", (x + miniT[3]), (y + miniT[4])))).." "..(txname and txname or "nil"));

if txname and txname ~= "" then

Expand Down
77 changes: 75 additions & 2 deletions NxMapData.lua
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Map.MapInfo = {
ZXOff = -1300 + -317.35,
ZYOff = 3000 + -157.43,
ZWOff = -153.59,
ZHOff =-98,10
ZHOff = -98,10
},
[90] = {
Name = "BG",
Expand Down Expand Up @@ -1586,7 +1586,6 @@ Map.MapWorldInfo = {
Y = -557.5,
Name = L["Nazjatar"],
Overlay = "nazjatar",
MId = 1355,
},
[1462] = {
Scale = 4.675,
Expand Down Expand Up @@ -10456,6 +10455,73 @@ Map.Argus2MapBlks = {
[1639] = 1598164,
}

Map.NazjatarBlks = {
[2824] = 1573161,
[2924] = 1573162,
[3024] = 1573163,
[3124] = 1573164,
[3224] = 1573165,
[3324] = 1573166,
[3424] = 1573167,
[3524] = 1573168,
[2825] = 1573169,
[2925] = 1573170,
[3025] = 1573171,
[3125] = 1573172,
[3225] = 1573173,
[3325] = 1573174,
[3425] = 1573175,
[3525] = 1573176,
[2826] = 1573177,
[2926] = 1573178,
[3026] = 1573179,
[3126] = 1573180,
[3226] = 1573181,
[3326] = 1573182,
[3426] = 1573183,
[3526] = 1573184,
[2827] = 1573185,
[2927] = 1573186,
[3027] = 1573187,
[3127] = 1573188,
[3227] = 1573189,
[3327] = 1573190,
[3427] = 1573191,
[3527] = 1573192,
[2828] = 1573193,
[2928] = 1573194,
[3028] = 1573195,
[3128] = 1573196,
[3228] = 1573197,
[3328] = 1573198,
[3428] = 1573199,
[3528] = 1573200,
[2829] = 1573201,
[2929] = 1573202,
[3029] = 1573203,
[3129] = 1573204,
[3229] = 1573205,
[3329] = 1573206,
[3429] = 1573207,
[3529] = 1573208,
[2830] = 1573209,
[2930] = 1573210,
[3030] = 1573211,
[3130] = 1573212,
[3230] = 1573213,
[3330] = 1573214,
[3430] = 1573215,
[3530] = 1573216,
[2831] = 1573217,
[2931] = 1573218,
[3031] = 1573219,
[3131] = 1573220,
[3231] = 1573221,
[3331] = 1573222,
[3431] = 1573223,
[3531] = 1573224,
}

Map.MiniMapBlks = {
[1] = {
Map.KalMapBlks,
Expand Down Expand Up @@ -10526,6 +10592,13 @@ Map.MiniMapBlks = {
16, 16,
Map.MapWorldInfo[876].X + Map.MapInfo[11].X + 38.80 - 257.30 + 16.51, Map.MapWorldInfo[876].Y + Map.MapInfo[11].Y - 801.10 + 150.95 + 39.22,
"World\\Minimaps\\kultiras"
},
[12] = {
Map.NazjatarBlks,
2824,
28, 24,
Map.MapWorldInfo[1355].X + Map.MapInfo[12].X - 106.85, Map.MapWorldInfo[1355].Y + Map.MapInfo[12].Y - 295.44,
"World\\Minimaps\\nazjatar"
},
[94] = {
Map.BloodelfMapBlks,
Expand Down

0 comments on commit dbfbf79

Please sign in to comment.