plugins:
- removed warlords of draenor dungeon info plugin. - removed hellfire citadel raid info plugin. - remove calc leech plugin. - added emerald nightmare raid info plugin. - added the nighthold raid info plugin. hotfixes: - fix for total bar where sometimes it desappears. - fix for overall data reseting its elapsed time making dps and hps goes to millions. - fix for overall not reseting when entering in a new dungeon. - fix for trash cleanup on dungeons. - fix for item level detection on dungeons. - fix for artifact offhand always being counter as 750 item level. - fix for segments menu sometimes not opening at all after a dungeon boss. - fix for segments menu not showing the boss icon above the sub panel. - fix for the top left corner of the window be ignoring the 'hide icon' setting at a /reload.
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
|
||||
do
|
||||
|
||||
local INSTANCE_EJID = 768
|
||||
local INSTANCE_MAPID = 1520
|
||||
local HDPATH = "Details_RaidInfo-EmeraldNightmare"
|
||||
local LOADINGSCREEN_FILE, LOADINGSCREEN_COORDS = "LoadScreen_EmeraldNightmareRaid_wide", {0, 1, 228/1024, 874/1024}
|
||||
local EJ_LOREBG = "UI-EJ-LOREBG-TheEmeraldNightmare"
|
||||
local PORTRAIT_LIST = {
|
||||
"UI-EJ-BOSS-Nythendra",
|
||||
"UI-EJ-BOSS-Elerethe Renferal",
|
||||
"UI-EJ-BOSS-Ilgynoth Heart of Corruption",
|
||||
"UI-EJ-BOSS-Ursoc",
|
||||
"UI-EJ-BOSS-Dragons of Nightmare",
|
||||
"UI-EJ-BOSS-Cenarius",
|
||||
"UI-EJ-BOSS-Xavius",
|
||||
}
|
||||
local ENCOUNTER_ID_CL = {
|
||||
[1853] = 1, --Nythendra
|
||||
[1876] = 2, --Elerethe Renferal
|
||||
[1873] = 3, --Il'gynoth, Heart of Corruption
|
||||
[1841] = 4, --Ursoc
|
||||
[1854] = 5, --Dragons of Nightmare
|
||||
[1877] = 6, --Cenarius
|
||||
[1864] = 7, --Xavius
|
||||
}
|
||||
local ENCOUNTER_ID_EJ = {
|
||||
1703, 1744, 1738, 1667, 1704, 1750, 1726,
|
||||
[1703] = 1, --Nythendra
|
||||
[1744] = 2, --Elerethe Renferal
|
||||
[1738] = 3, --Il'gynoth, Heart of Corruption
|
||||
[1667] = 4, --Ursoc
|
||||
[1704] = 5, --Dragons of Nightmare
|
||||
[1750] = 6, --Cenarius
|
||||
[1726] = 7, --Xavius
|
||||
}
|
||||
|
||||
function Details:InstallEmeraldNightmareEncounter()
|
||||
|
||||
--load encounter journal
|
||||
EJ_SelectInstance (INSTANCE_EJID)
|
||||
|
||||
local InstanceName = EJ_GetInstanceInfo (INSTANCE_EJID)
|
||||
|
||||
--build the boss names list
|
||||
local BOSSNAMES = {}
|
||||
local ENCOUNTERS = {}
|
||||
|
||||
for i = 1, #PORTRAIT_LIST do
|
||||
local bossName = EJ_GetEncounterInfoByIndex (i, INSTANCE_EJID)
|
||||
if (bossName) then
|
||||
tinsert (BOSSNAMES, bossName)
|
||||
local encounterTable = {
|
||||
boss = bossName,
|
||||
portrait = "Interface\\EncounterJournal\\" .. 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\\" .. HDPATH .. "\\boss_faces",
|
||||
icon = "Interface\\AddOns\\" .. HDPATH .. "\\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
|
||||
|
||||
},
|
||||
})
|
||||
|
||||
--remove the install from the memory
|
||||
Details.InstallEmeraldNightmareEncounter = nil
|
||||
|
||||
end
|
||||
|
||||
--install the encounter
|
||||
Details:ScheduleTimer ("InstallEmeraldNightmareEncounter", 2)
|
||||
|
||||
end
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
## Interface: 70000
|
||||
## Title: Details: Emerald Nightmare
|
||||
## Notes: Plugin for Details
|
||||
## RequiredDeps: Details
|
||||
|
||||
Details_RaidInfo-EmeraldNightmare.lua
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,102 @@
|
||||
|
||||
do
|
||||
|
||||
local INSTANCE_EJID = 786
|
||||
local INSTANCE_MAPID = 0--?
|
||||
local HDPATH = "Details_RaidInfo-Nighthold"
|
||||
local LOADINGSCREEN_FILE, LOADINGSCREEN_COORDS = "LoadScreen_SuramarRaid", {0, 1, 282/1024, 872/1024}
|
||||
local EJ_LOREBG = "UI-EJ-LOREBG-TheNighthold"
|
||||
local PORTRAIT_LIST = {
|
||||
"UI-EJ-BOSS-Skorpyron",
|
||||
"UI-EJ-BOSS-Chronomatic Anomaly",
|
||||
"UI-EJ-BOSS-Trilliax",
|
||||
"UI-EJ-BOSS-Spellblade Aluriel",
|
||||
"UI-EJ-BOSS-Tichondrius",
|
||||
"UI-EJ-BOSS-Krosus",
|
||||
"UI-EJ-BOSS-Botanist",
|
||||
"UI-EJ-BOSS-Star Augur Etraeus",
|
||||
"UI-EJ-BOSS-Grand Magistrix Elisande",
|
||||
"UI-EJ-BOSS-Guldan",
|
||||
}
|
||||
local ENCOUNTER_ID_CL = {
|
||||
[1849] = 1, --Skorpyron
|
||||
[1865] = 2, --Chronomatic Anomaly
|
||||
[1867] = 3, --Trilliax
|
||||
[1871] = 4, --Spellblade Aluriel
|
||||
[1862] = 5, --Tichondrius
|
||||
[1842] = 6, --Krosus
|
||||
[1886] = 7, --High Botanist Tel'arn
|
||||
[1863] = 8, --Star Augur Etraeus
|
||||
[1872] = 9, --Grand Magistrix Elisande
|
||||
[1866] = 10, --Gul'dan
|
||||
}
|
||||
local ENCOUNTER_ID_EJ = {
|
||||
1706, 1725, 1731, 1751, 1762, 1713, 1761, 1732, 1743, 1737,
|
||||
[1706] = 1, --Skorpyron
|
||||
[1725] = 2, --Chronomatic Anomaly
|
||||
[1731] = 3, --Trilliax
|
||||
[1751] = 4, --Spellblade Aluriel
|
||||
[1762] = 5, --Tichondrius
|
||||
[1713] = 6, --Krosus
|
||||
[1761] = 7, --High Botanist Tel'arn
|
||||
[1732] = 8, --Star Augur Etraeus
|
||||
[1743] = 9, --Grand Magistrix Elisande
|
||||
[1737] = 10, --Gul'dan
|
||||
}
|
||||
|
||||
function Details:InstallNightholdEncounter()
|
||||
|
||||
--load encounter journal
|
||||
EJ_SelectInstance (INSTANCE_EJID)
|
||||
|
||||
local InstanceName = EJ_GetInstanceInfo (INSTANCE_EJID)
|
||||
|
||||
--build the boss names list
|
||||
local BOSSNAMES = {}
|
||||
local ENCOUNTERS = {}
|
||||
|
||||
for i = 1, #PORTRAIT_LIST do
|
||||
local bossName = EJ_GetEncounterInfoByIndex (i, INSTANCE_EJID)
|
||||
if (bossName) then
|
||||
tinsert (BOSSNAMES, bossName)
|
||||
local encounterTable = {
|
||||
boss = bossName,
|
||||
portrait = "Interface\\EncounterJournal\\" .. 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\\" .. HDPATH .. "\\boss_faces",
|
||||
icon = "Interface\\AddOns\\" .. HDPATH .. "\\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
|
||||
|
||||
},
|
||||
})
|
||||
|
||||
--remove the install from the memory
|
||||
Details.InstallNightholdEncounter = nil
|
||||
|
||||
end
|
||||
|
||||
--install the encounter
|
||||
Details:ScheduleTimer ("InstallNightholdEncounter", 2)
|
||||
|
||||
end
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
## Interface: 70000
|
||||
## Title: Details: Nighthold
|
||||
## Notes: Plugin for Details
|
||||
## RequiredDeps: Details
|
||||
|
||||
Details_RaidInfo-Nighthold.lua
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user