From df9a01481c9a3cd551a9d8b9964630092d421727 Mon Sep 17 00:00:00 2001 From: ackis Date: Sun, 30 Aug 2009 02:57:51 +0000 Subject: [PATCH] Dungeon mobs will now have their names with the instance they're in in brackets. --- ARLFrame.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ARLFrame.lua b/ARLFrame.lua index cec11e8..dd4c659 100644 --- a/ARLFrame.lua +++ b/ARLFrame.lua @@ -569,6 +569,10 @@ do loc = questDB[k] end + local name = loc["Name"] + local x = loc["Coordx"] + local y = loc["Coordy"] + -- We don't have a loc in our database for these entries if (not loc) then --@alpha@ @@ -591,6 +595,7 @@ do elseif dungeonlist[k] then continent = dungeonlist[k]["c"] zone = dungeonlist[k]["loc"] + name = name .. " (" .. loc["Location"] .. ")" else --@alpha@ --addon:Print("DEBUG: No continent/zone map match for ID " .. k .. " Location: " .. loc["Location"]) @@ -598,7 +603,7 @@ do end if ((zone) and (continent)) then - local iconuid = TomTom:AddZWaypoint(continent, zone, loc["Coordx"], loc["Coordy"], loc["Name"], false, minimap, worldmap) + local iconuid = TomTom:AddZWaypoint(continent, zone, x, y, n, false, minimap, worldmap) tinsert(iconlist, iconuid) end -- 1.7.9.5