8.3.0 > 9.0.1
This commit is contained in:
+114
-3
@@ -2,6 +2,112 @@
|
||||
|
||||
--> install data for raiding tiers
|
||||
|
||||
local C_Timer = _G.C_Timer
|
||||
local DetailsFramework = _G.DetailsFramework
|
||||
local tinsert = _G.tinsert
|
||||
|
||||
do
|
||||
--> data for Castle Nathria (Shadowlands tier 1)
|
||||
--F:\World of Warcraft\_retail_\BlizzardInterfaceArt\Interface\GLUES\LOADINGSCREENS\Expansion07\Main\LOADINGSCREEN_NzothRAID
|
||||
local INSTANCE_EJID = 1190
|
||||
local INSTANCE_MAPID = 2296
|
||||
local HDIMAGESPATH = [[Details\images\raid]]
|
||||
local HDFILEPREFIX = "CastleNathriaRaid"
|
||||
local LOADINGSCREEN_FILE, LOADINGSCREEN_COORDS = [[Expansion08\Main\LoadScreen_CastleNathriaRaid]], {0, 1, 285/1024, 875/1024}
|
||||
local EJ_LOREBG = "UI-EJ-LOREBG-CastleNathria"
|
||||
local RAID_TIER = 26
|
||||
|
||||
local PORTRAIT_LIST = {
|
||||
3752190, --Shriekwing - Shriekwing
|
||||
3753151, --Huntsman Altimor - Huntsman Altimor
|
||||
3753157, --Kael'thas Sunstrider - Sun King's Salvation
|
||||
3752156, --Artificer Xy'Mox - Artificer Xy'mox
|
||||
3752174, --Hungering Destroyer - Hungering Destroyer
|
||||
3752178, --Lady Inerva Darkvein - Lady Inerva Darkvein
|
||||
3753159, --Castellan Niklaus - The Council of Blood
|
||||
3752191, --Sludgefist - Sludgefist
|
||||
3753156, --General Kaal - Stone Legion Generals
|
||||
3752159, --Sire Denathrius - Sire Denathrius
|
||||
}
|
||||
|
||||
local ENCOUNTER_ID_CL = {
|
||||
2398, 0, 2402, 2405, 0, 0, 2412, 2399, 2417, 0,
|
||||
[2398] = 1, --Shriekwing
|
||||
[0] = 2, --Huntsman Altimor
|
||||
[2402] = 3, --Kael'thas
|
||||
[2405] = 4, --Artificer Xy'mox
|
||||
[0] = 5, --Hungering Destroyer
|
||||
[0] = 6, --Lady Inerva Darkvein
|
||||
[2412] = 7, --The Council of Blood
|
||||
[2399] = 8, --Sludgefist
|
||||
[2417] = 9, --Stone Legion Generals
|
||||
[0] = 10, --Sire Denathrius
|
||||
}
|
||||
|
||||
local ENCOUNTER_ID_EJ = {
|
||||
2393, 2429, 2422, 2418, 2428, 2420, 2426, 2394, 2425, 2424,
|
||||
[2393] = 1, --Shriekwing
|
||||
[2429] = 2, --Huntsman Altimor
|
||||
[2422] = 3, --Sun King's Salvation
|
||||
[2418] = 4, --Artificer Xy'mox
|
||||
[2428] = 5, --Hungering Destroyer
|
||||
[2420] = 6, --Lady Inerva Darkvein
|
||||
[2426] = 7, --The Council of Blood
|
||||
[2394] = 8, --Sludgefist
|
||||
[2425] = 9, --Stone Legion Generals
|
||||
[2424] = 10, --Sire Denathrius
|
||||
}
|
||||
|
||||
--> 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 = PORTRAIT_LIST [i],
|
||||
}
|
||||
tinsert (ENCOUNTERS, encounterTable)
|
||||
else
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
_detalhes:InstallEncounter ({
|
||||
raidTier = RAID_TIER,
|
||||
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 Ny'alotha the Waking City (BFA tier 4)
|
||||
--F:\World of Warcraft\_retail_\BlizzardInterfaceArt\Interface\GLUES\LOADINGSCREENS\Expansion07\Main\LOADINGSCREEN_NzothRAID
|
||||
@@ -86,6 +192,7 @@ do
|
||||
end
|
||||
|
||||
_detalhes:InstallEncounter ({
|
||||
raidTier = 25,
|
||||
id = INSTANCE_MAPID, --map id
|
||||
ej_id = INSTANCE_EJID, --encounter journal id
|
||||
name = InstanceName,
|
||||
@@ -100,7 +207,7 @@ do
|
||||
boss_names = BOSSNAMES,
|
||||
encounters = ENCOUNTERS,
|
||||
|
||||
boss_ids = {
|
||||
boss_ids = {
|
||||
--npc ids
|
||||
},
|
||||
})
|
||||
@@ -181,6 +288,7 @@ do
|
||||
end
|
||||
|
||||
_detalhes:InstallEncounter ({
|
||||
raidTier = 24,
|
||||
id = INSTANCE_MAPID, --map id
|
||||
ej_id = INSTANCE_EJID, --encounter journal id
|
||||
name = InstanceName,
|
||||
@@ -258,6 +366,7 @@ do
|
||||
end
|
||||
|
||||
_detalhes:InstallEncounter ({
|
||||
raidTier = 23.5,
|
||||
id = INSTANCE_MAPID, --map id
|
||||
ej_id = INSTANCE_EJID, --encounter journal id
|
||||
name = InstanceName,
|
||||
@@ -359,6 +468,7 @@ do
|
||||
end
|
||||
|
||||
_detalhes:InstallEncounter ({
|
||||
raidTier = 23,
|
||||
id = INSTANCE_MAPID, --map id
|
||||
ej_id = INSTANCE_EJID, --encounter journal id
|
||||
name = InstanceName,
|
||||
@@ -467,6 +577,7 @@ do
|
||||
end
|
||||
|
||||
_detalhes:InstallEncounter ({
|
||||
raidTier = 22,
|
||||
id = INSTANCE_MAPID, --map id
|
||||
ej_id = INSTANCE_EJID, --encounter journal id
|
||||
name = InstanceName,
|
||||
@@ -575,7 +686,7 @@ do
|
||||
end
|
||||
|
||||
_detalhes:InstallEncounter ({
|
||||
|
||||
raidTier = 21,
|
||||
id = INSTANCE_MAPID, --map id
|
||||
ej_id = INSTANCE_EJID, --encounter journal id
|
||||
name = InstanceName,
|
||||
@@ -590,7 +701,7 @@ do
|
||||
boss_names = BOSSNAMES,
|
||||
encounters = ENCOUNTERS,
|
||||
|
||||
boss_ids = {
|
||||
boss_ids = {
|
||||
--npc ids
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user