Edit 2017.03.10: for Encounter IDs from ENCOUNTER_START:
http://www.mmo-champion.com/threads/...encounter-ID-s
-----
Which instanceId is 669?
You could indeed get the encounterIds with
EJ_GetEncounterInfoByIndex(index, [instanceId]), just need to get the instanceId first
But I don't even understand MY OWN documentation. It must be
really bad
/facepalm
World_of_Warcraft_API#Encounter_Journal_Functions
(Edit) forgot
EJ_SelectInstance(instanceId)
Code:
/run local i=1 while EJ_GetInstanceByIndex(i,true)do local a1,a2=EJ_GetInstanceByIndex(i,true)print(a1,a2)EJ_SelectInstance(a1)i=i+1 local j=1 while EJ_GetEncounterInfoByIndex(j,a1)do local b1,_,b2=EJ_GetEncounterInfoByIndex(j,a1)print(b2,b1)j=j+1 end end
Lua Code:
local i = 1
while EJ_GetInstanceByIndex(i, true) do
local instanceId, name = EJ_GetInstanceByIndex(i, true)
print(instanceId, name)
EJ_SelectInstance(instanceId)
i = i+1
local j = 1
while EJ_GetEncounterInfoByIndex(j, instanceId) do
local name, _, encounterId = EJ_GetEncounterInfoByIndex(j, instanceId)
print(encounterId, name)
j = j+1
end
end
Lua Code:
local t = {
[822] = { -- "Broken Isles"
[1790] = "Ana-Mouz",
[1774] = "Calamir",
[1789] = "Drugon the Frostblood",
[1795] = "Flotsam",
[1770] = "Humongris",
[1769] = "Levantus",
[1783] = "Na'zak the Fiend",
[1749] = "Nithogg",
[1763] = "Shar'thos",
[1756] = "The Soultakers",
[1796] = "Withered J'im",
},
[768] = { -- "The Emerald Nightmare"
[1703] = "Nythendra",
[1744] = "Elerethe Renferal",
[1738] = "Il'gynoth, Heart of Corruption",
[1667] = "Ursoc",
[1704] = "Dragons of Nightmare",
[1750] = "Cenarius",
[1726] = "Xavius",
},
[786] = { -- "The Nighthold"
[1706] = "Skorpyron",
[1725] = "Chronomatic Anomaly",
[1731] = "Trilliax",
[1751] = "Spellblade Aluriel",
[1762] = "Tichondrius",
[1713] = "Krosus",
[1761] = "High Botanist Tel'arn",
[1732] = "Star Augur Etraeus",
[1743] = "Grand Magistrix Elisande",
[1737] = "Gul'dan",
},
}