Where's my sign? I had some variables mixed up, so that is fixed. Fixed a couple elder coordinates for accuracy.
Cette révision appartient à :
Parent
3a73da94ac
révision
a5cdb3dd52
|
@ -154,8 +154,8 @@ local elders = {
|
|||
["Rumblerock"] = {40, 70, 45}, --"Burning Steppes 70 45",
|
||||
["Dawnstrider"] = {40, 53, 24}, --"Burning Steppes 53 24",
|
||||
["Goldwell"] = {28, 53, 49}, --"Dun Morogh 53 49",
|
||||
["Windrun"] = {34, 35, 68}, --"Eastern Plaguelands 35 68",
|
||||
["Snowcrown"] = {34, 35, 68}, --"Eastern Plaguelands 75.7 54.5",
|
||||
["Windrun"] = {34, 35.6, 68.8}, --"Eastern Plaguelands 35 68",
|
||||
["Snowcrown"] = {34, 75.7, 54.5}, --"Eastern Plaguelands 75.7 54.5",
|
||||
["Stormbrow"] = {37, 40, 63}, --"Elwynn Forest 40 63",
|
||||
["Highpeak"] = {42, 50, 48}, --"Hinterlands 50 48",
|
||||
["Silvervein"] = {29, 33, 46}, --"Loch Modan 33 46",
|
||||
|
@ -200,16 +200,16 @@ local function QH_FindElders(elder_or_achievement, all_elders)
|
|||
for elder, elder_loc in pairs(eldrs) do
|
||||
if not all_elders then
|
||||
if achievement_match then -- just add it
|
||||
local locx, locy, locz = unpack(elder_loc)
|
||||
local locz, locx, locy = unpack(elder_loc)
|
||||
QH_FindCoord(locx, locy, locz, elder)
|
||||
elseif elder_or_achievement == string.upper(elder) then -- We have input and it's not an achievement, so it must be an elder.
|
||||
elder_match = true
|
||||
local locx, locy, locz = unpack(elder_loc)
|
||||
local locz, locx, locy = unpack(elder_loc)
|
||||
QH_FindCoord(locx, locy, locz, elder)
|
||||
break -- We've found him or her.
|
||||
end -- No need for else here. We alread know we don't need everything so we either have an achievement or we have an elder.
|
||||
else -- We came in without an input, therefore we add all.
|
||||
local locx, locy, locz = unpack(elder_loc)
|
||||
local locz, locx, locy = unpack(elder_loc)
|
||||
QH_FindCoord(locx, locy, locz, elder)
|
||||
end
|
||||
end
|
||||
|
|
Référencer dans un nouveau ticket