Tercio@0: Tercio@0: local _detalhes = _G._detalhes Tercio@0: Tercio@0: local trash_mobs_ids = { Tercio@0: Tercio@0: } Tercio@0: Tercio@0: local highmaul = { Tercio@0: Tercio@0: id = 1228, --994 = map id extracted from encounter journal Tercio@0: ej_id = 477, --encounter journal id Tercio@0: Tercio@0: name = "Highmaul", Tercio@0: Tercio@0: icons = [[Interface\AddOns\Details_RaidInfo-Highmaul\boss_faces]], Tercio@0: icon = [[Interface\AddOns\Details_RaidInfo-Highmaul\icon256x128]], Tercio@0: Tercio@0: is_raid = true, Tercio@0: Tercio@0: backgroundFile = {file = [[Interface\Glues\LOADINGSCREENS\LoadingScreen_HighMaulRaid]], coords = {0, 1, 265/1024, 875/1024}}, Tercio@0: backgroundEJ = [[Interface\EncounterJournal\UI-EJ-LOREBG-Highmaul]], Tercio@0: Tercio@0: boss_names = { Tercio@0: --[[ 1 ]] "Kargath Bladefist", Tercio@0: --[[ 2 ]] "The Butcher", Tercio@0: --[[ 3 ]] "Tectus", Tercio@0: --[[ 4 ]] "Brackenspore", Tercio@0: --[[ 5 ]] "Twin Ogron", Tercio@0: --[[ 6 ]] "Ko'ragh", Tercio@0: --[[ 7 ]] "Imperator Mar'gok", Tercio@0: }, Tercio@0: Tercio@0: encounter_ids = { --encounter journal encounter id Tercio@0: --> Ids by Index Tercio@0: 1128, 971, 1195, 1196, 1148, 1153, 1197, Tercio@0: Tercio@0: --> Boss Index Tercio@0: [1128] = 1, Tercio@0: [971] = 2, Tercio@0: [1195] = 3, Tercio@0: [1196] = 4, Tercio@0: [1148] = 5, Tercio@0: [1153] = 6, Tercio@0: [1197] = 7, Tercio@0: }, Tercio@0: Tercio@0: encounter_ids2 = { Tercio@0: --combatlog encounter id Tercio@0: [1721] = 1, --kargath Tercio@0: [1706] = 2, --the butcher Tercio@0: [1722] = 3, --tectus Tercio@0: [1720] = 4, --brakenspore Tercio@0: [1719] = 5, --twin ogron Tercio@0: [1723] = 6, --Koragh Tercio@0: [1705] = 7, --Margok Tercio@0: }, Tercio@0: Tercio@0: boss_ids = { Tercio@0: --npc ids Tercio@0: [78714] = 1, --Kargath Tercio@0: [77404] = 2, --The Butcher Tercio@0: [78948] = 3, --Tectus Tercio@0: [78491] = 4, --Brakenspore Tercio@0: [78238] = 5, --Pol Tercio@0: [78237] = 5, --Phemos Tercio@0: [79015] = 6, --Koragh Tercio@0: [77428] = 7, --Margok Tercio@0: }, Tercio@0: Tercio@0: encounters = { Tercio@0: Tercio@0: [1] = { Tercio@0: boss = "Kargath Bladefist", Tercio@0: portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Kargath Bladefist]], Tercio@0: Tercio@0: --> spell list Tercio@0: continuo = {}, Tercio@0: }, Tercio@0: Tercio@0: [2] = { Tercio@0: boss = "The Butcher", Tercio@0: portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-The Butcher]], Tercio@0: Tercio@0: --> spell list Tercio@0: continuo = {}, Tercio@0: }, Tercio@0: Tercio@0: [3] = { Tercio@0: boss = "Tectus", Tercio@0: portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Tectus The Living Mountain]], Tercio@0: Tercio@0: --> spell list Tercio@0: continuo = {}, Tercio@0: Tercio@0: funcType = 0x2, Tercio@0: func = function (combat) Tercio@0: local removed = false Tercio@0: local list = combat:GetActorList (DETAILS_ATTRIBUTE_DAMAGE) Tercio@0: for i = #list, 1, -1 do Tercio@0: local id = _detalhes:GetNpcIdFromGuid (list[i].serial) Tercio@0: if (trash_mobs_ids [id]) then Tercio@0: tremove (list, i) Tercio@0: combat.totals [DETAILS_ATTRIBUTE_DAMAGE] = combat.totals [DETAILS_ATTRIBUTE_DAMAGE] - list[i].total Tercio@0: removed = true Tercio@0: end Tercio@0: end Tercio@0: if (removed) then Tercio@0: combat[DETAILS_ATTRIBUTE_DAMAGE]:Remap() Tercio@0: end Tercio@0: end, Tercio@0: }, Tercio@0: Tercio@0: [4] = { Tercio@0: boss = "Brackenspore", Tercio@0: portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Brackenspore]], Tercio@0: Tercio@0: --> spell list Tercio@0: continuo = {}, Tercio@0: }, Tercio@0: Tercio@0: [5] = { Tercio@0: boss = "Twin Ogron", Tercio@0: portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Twin Ogron]], Tercio@0: Tercio@0: --> spell list Tercio@0: continuo = {}, Tercio@0: }, Tercio@0: Tercio@0: [6] = { Tercio@0: boss = "Ko'ragh", Tercio@0: portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Fel Breaker]], Tercio@0: Tercio@0: --> spell list Tercio@0: continuo = {}, Tercio@0: }, Tercio@0: Tercio@0: [7] = { Tercio@0: boss = "Imperator Mar'gok", Tercio@0: portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Imperator Margok]], Tercio@0: Tercio@0: --> spell list Tercio@0: continuo = {}, Tercio@0: }, Tercio@0: Tercio@0: }, Tercio@0: Tercio@0: } Tercio@0: Tercio@0: _detalhes:InstallEncounter (highmaul)