Added Ny'alotha raidinfo

This commit is contained in:
Jordi Holleman
2020-02-21 23:35:45 +01:00
parent bcdd7ae683
commit f6969d9b1b
3 changed files with 110 additions and 3 deletions
+110 -3
View File
@@ -3,7 +3,114 @@
--> install data for raiding tiers
do
--> data for The Eternal Palace (BFA tier 2)
--> data for Ny'alotha the Waking City (BFA tier 4)
local INSTANCE_EJID = 1180
local INSTANCE_MAPID = 2217
local HDIMAGESPATH = "Details\\images\\raid"
local HDFILEPREFIX = "NyalothaRaid"
local LOADINGSCREEN_FILE, LOADINGSCREEN_COORDS = "Expansion07\\Main\\LoadingScreen_Nzothraid", {0, 1, 285/1024, 875/1024}
local EJ_LOREBG = "UI-EJ-LOREBG-Nyalotha"
local PORTRAIT_LIST = {
3256385, --Wrathion - Wrathion, the Black Emperor
3256380, --Maut
3256384, --Skitra - Prophet Skitra
3256386, --Xanesh - Dark Inquisitor Xanesh
3256378, --Ka'zir - The Hivemind
3256383, --Shad'har - Shad'har the Insatiable
3256377, --Drest'agath
3256379, --Il'gynoth - Il'gynoth, Corruption Reborn
3257677, --Vexiona
3256382, --Ra-den - Ra-den the Despoiled
3256376, --Fury of N'Zoth - Carapace of N'Zoth
3256381, --N'zoth - N'Zoth, the Corruptor
}
local ENCOUNTER_ID_CL = {
2329, 2327, 2334, 2328, 2333, 2335, 2343, 2345, 2336, 2331, 2337, 2334,
[2329] = 1, --Wrathion, the Black Emperor
[2327] = 2, --Maut
[2334] = 3, --Prophet Skitra
[2328] = 4, --Dark Inquisitor Xanesh
[2333] = 5, --The Hivemind
[2335] = 6, --Shad'har the Insatiable
[2343] = 7, --Drest'agath
[2345] = 8, --Il'gynoth, Corruption Reborn
[2336] = 9, --Vexiona
[2331] = 10, --Ra-den the Despoiled
[2337] = 11, --Carapace of N'Zoth
[2334] = 12, --N'Zoth, the Corruptor
}
local ENCOUNTER_ID_EJ = {
2368, 2365, 2369, 2377, 2372, 2367, 2373, 2374, 2370, 2364, 2366, 2375,
[2368] = 1, --Wrathion, the Black Emperor
[2365] = 2, --Maut
[2369] = 3, --Prophet Skitra
[2377] = 4, --Dark Inquisitor Xanesh
[2372] = 5, --The Hivemind
[2367] = 6, --Shad'har the Insatiable
[2373] = 7, --Drest'agath
[2374] = 8, --Il'gynoth, Corruption Reborn
[2370] = 9, --Vexiona
[2364] = 10, --Ra-den the Despoiled
[2366] = 11, --Carapace of N'Zoth
[2375] = 12, --N'Zoth, the Corruptor
}
--> install the raid
C_Timer.After (10, function()
--load encounter journal
DetailsFramework.EncounterJournal.EJ_SelectInstance (INSTANCE_EJID)
local InstanceName = DetailsFramework.EncounterJournal.EJ_GetInstanceInfo (INSTANCE_EJID)
--build the boss name list
local BOSSNAMES = {}
local ENCOUNTERS = {}
for i = 1, #PORTRAIT_LIST do
local bossName = DetailsFramework.EncounterJournal.EJ_GetEncounterInfoByIndex (i, INSTANCE_EJID)
if (bossName) then
tinsert (BOSSNAMES, bossName)
local encounterTable = {
boss = bossName,
--portrait = "Interface\\EncounterJournal\\" .. PORTRAIT_LIST [i],
portrait = PORTRAIT_LIST [i],
}
tinsert (ENCOUNTERS, encounterTable)
else
break
end
end
_detalhes:InstallEncounter ({
id = INSTANCE_MAPID, --map id
ej_id = INSTANCE_EJID, --encounter journal id
name = InstanceName,
icons = "Interface\\AddOns\\" .. HDIMAGESPATH .. "\\" .. HDFILEPREFIX .. "_BossFaces",
icon = "Interface\\AddOns\\" .. HDIMAGESPATH .. "\\" .. HDFILEPREFIX .. "_Icon256x128",
is_raid = true,
backgroundFile = {file = "Interface\\Glues\\LOADINGSCREENS\\" .. LOADINGSCREEN_FILE, coords = LOADINGSCREEN_COORDS},
backgroundEJ = "Interface\\EncounterJournal\\" .. EJ_LOREBG,
encounter_ids = ENCOUNTER_ID_EJ,
encounter_ids2 = ENCOUNTER_ID_CL,
boss_names = BOSSNAMES,
encounters = ENCOUNTERS,
boss_ids = {
--npc ids
},
})
end)
end
do
--> data for The Eternal Palace (BFA tier 3)
local INSTANCE_EJID = 1179
local INSTANCE_MAPID = 2164
@@ -98,7 +205,7 @@ do
end
do
--> data for Crucible of Storms (BFA tier 1)
--> data for Crucible of Storms (BFA tier 2.5)
local INSTANCE_EJID = 1177
local INSTANCE_MAPID = 2096
@@ -175,7 +282,7 @@ do
end
do
--> data for Battle for Dazar'alor (BFA tier 1)
--> data for Battle for Dazar'alor (BFA tier 2)
-- DazaralorRaid_BossFaces.tga --TBD
-- DazaralorRaid_Icon256x128.tga --TBD
Binary file not shown.

After

Width:  |  Height:  |  Size: 256 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB