- Pre Patch 6.0.2
This commit is contained in:
@@ -17,6 +17,7 @@ local DmgRankFrame = DmgRank.Frame
|
||||
|
||||
DmgRank:SetPluginDescription ("A plugin for you have fun with a training dummy testing your damage skill and gear, leveling through many challenges.")
|
||||
|
||||
|
||||
--> this function will run when the plugin receives the Addon_Loaded event, ["data"] = previus saved player rank
|
||||
local function CreatePluginFrames (data)
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Interface: 50400
|
||||
## Interface: 60000
|
||||
## Title: Details DamageRank (plugin)
|
||||
## Notes: Plugin for Details
|
||||
## SavedVariablesPerCharacter: _detalhes_databaseDmgRank
|
||||
|
||||
@@ -111,6 +111,10 @@ local function CreatePluginFrames()
|
||||
elseif (event == "COMBAT_PLAYER_ENTER") then
|
||||
DpsTuningPlugin:OnCombatStart (...)
|
||||
|
||||
elseif (event == "COMBAT_INVALID") then
|
||||
--DpsTuningPlugin:Reset()
|
||||
--print ("eh invalido...")
|
||||
|
||||
elseif (event == "COMBAT_PLAYER_LEAVE") then
|
||||
DpsTuningPlugin:OnCombatEnd (...)
|
||||
|
||||
@@ -1183,6 +1187,7 @@ function DpsTuningPlugin:OnEvent (_, event, ...)
|
||||
_G._detalhes:RegisterEvent (DpsTuningPlugin, "COMBAT_PLAYER_ENTER")
|
||||
_G._detalhes:RegisterEvent (DpsTuningPlugin, "COMBAT_PLAYER_LEAVE")
|
||||
_G._detalhes:RegisterEvent (DpsTuningPlugin, "DETAILS_DATA_RESET")
|
||||
_G._detalhes:RegisterEvent (DpsTuningPlugin, "COMBAT_INVALID")
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Interface: 50400
|
||||
## Interface: 60000
|
||||
## Title: Details Dps Tuning (plugin)
|
||||
## Notes: Plugin for Details
|
||||
## RequiredDeps: Details
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Interface: 50400
|
||||
## Interface: 60000
|
||||
## Title: Details: Mists of Pandaria Dungeons
|
||||
## Notes: Plugin for Details
|
||||
## RequiredDeps: Details
|
||||
|
||||
@@ -21,6 +21,7 @@ local _pairs = pairs --> lua library local
|
||||
local _table_sort = table.sort --> lua library local
|
||||
local _table_insert = table.insert --> lua library local
|
||||
local _unpack = unpack --> lua library local
|
||||
local _bit_band = bit.band
|
||||
|
||||
|
||||
--> Create the plugin Object
|
||||
@@ -785,10 +786,13 @@ function EncounterDetails:OpenAndRefresh (_, segment)
|
||||
end
|
||||
end
|
||||
|
||||
--> the segment is a boss
|
||||
|
||||
boss_id = _combat_object.is_boss.index
|
||||
map_id = _combat_object.is_boss.mapid
|
||||
boss_info = _detalhes:GetBossDetails (_combat_object.is_boss.mapid, _combat_object.is_boss.index)
|
||||
|
||||
--[[
|
||||
if (not boss_info) then
|
||||
if (EncounterDetails.LastSegmentShown) then
|
||||
_combat_object = EncounterDetails.LastSegmentShown
|
||||
@@ -796,6 +800,7 @@ function EncounterDetails:OpenAndRefresh (_, segment)
|
||||
return EncounterDetails:Msg (Loc ["STRING_BOSS_NOT_REGISTRED"])
|
||||
end
|
||||
end
|
||||
--]]
|
||||
|
||||
if (EncounterDetailsFrame.ShowType == "graph") then
|
||||
EncounterDetails:BuildDpsGraphic()
|
||||
@@ -809,13 +814,24 @@ function EncounterDetails:OpenAndRefresh (_, segment)
|
||||
|
||||
-------------- set portrait and background image --------------
|
||||
local L, R, T, B, Texture = EncounterDetails:GetBossIcon (_combat_object.is_boss.mapid, _combat_object.is_boss.index)
|
||||
EncounterDetailsFrame.boss_icone:SetTexture (Texture)
|
||||
EncounterDetailsFrame.boss_icone:SetTexCoord (L, R, T, B)
|
||||
if (L) then
|
||||
EncounterDetailsFrame.boss_icone:SetTexture (Texture)
|
||||
EncounterDetailsFrame.boss_icone:SetTexCoord (L, R, T, B)
|
||||
else
|
||||
EncounterDetailsFrame.boss_icone:SetTexture ([[Interface\CHARACTERFRAME\TempPortrait]])
|
||||
EncounterDetailsFrame.boss_icone:SetTexCoord (0, 1, 0, 1)
|
||||
end
|
||||
|
||||
local file, L, R, T, B = EncounterDetails:GetRaidBackground (_combat_object.is_boss.mapid)
|
||||
EncounterDetailsFrame.raidbackground:SetTexture (file)
|
||||
EncounterDetailsFrame.raidbackground:SetTexCoord (L, R, T, B)
|
||||
EncounterDetailsFrame.raidbackground:SetAlpha (0.8)
|
||||
if (file) then
|
||||
EncounterDetailsFrame.raidbackground:SetTexture (file)
|
||||
EncounterDetailsFrame.raidbackground:SetTexCoord (L, R, T, B)
|
||||
EncounterDetailsFrame.raidbackground:SetAlpha (0.8)
|
||||
else
|
||||
EncounterDetailsFrame.raidbackground:SetTexture ([[Interface\Glues\LOADINGSCREENS\LoadScreenDungeon]])
|
||||
EncounterDetailsFrame.raidbackground:SetTexCoord (0, 1, 120/512, 408/512)
|
||||
EncounterDetailsFrame.raidbackground:SetAlpha (0.8)
|
||||
end
|
||||
|
||||
-------------- set totals on down frame --------------
|
||||
--[[ data mine:
|
||||
@@ -902,16 +918,15 @@ function EncounterDetails:OpenAndRefresh (_, segment)
|
||||
local habilidades_poll = {}
|
||||
|
||||
--> pega as magias contínuas presentes em todas as fases
|
||||
if (boss_info.continuo) then
|
||||
if (boss_info and boss_info.continuo) then
|
||||
for index, spellid in _ipairs (boss_info.continuo) do
|
||||
habilidades_poll [spellid] = true
|
||||
end
|
||||
end
|
||||
|
||||
--> pega as habilidades que pertence especificamente a cada fase
|
||||
local fases = boss_info.phases
|
||||
if (fases) then
|
||||
for fase_id, fase in _ipairs (fases) do
|
||||
if (boss_info and boss_info.phases) then
|
||||
for fase_id, fase in _ipairs (boss_info.phases) do
|
||||
if (fase.spells) then
|
||||
for index, spellid in _ipairs (fase.spells) do
|
||||
habilidades_poll [spellid] = true
|
||||
@@ -921,39 +936,94 @@ function EncounterDetails:OpenAndRefresh (_, segment)
|
||||
end
|
||||
|
||||
local habilidades_usadas = {}
|
||||
local have_pool = false
|
||||
for spellid, _ in _pairs (habilidades_poll) do
|
||||
have_pool = true
|
||||
break
|
||||
end
|
||||
|
||||
for index, jogador in _ipairs (DamageContainer._ActorTable) do
|
||||
local habilidades = jogador.spell_tables._ActorTable
|
||||
for id, habilidade in _pairs (habilidades) do
|
||||
if (habilidades_poll [id]) then
|
||||
--> esse jogador usou uma habilidade do boss
|
||||
local esta_habilidade = habilidades_usadas [id] --> tabela não numerica, pq diferentes monstros podem castar a mesma magia
|
||||
if (not esta_habilidade) then
|
||||
esta_habilidade = {0, {}, {}, id} --> [1] total dano causado [2] jogadores que foram alvos [3] jogadores que castaram essa magia [4] ID da magia
|
||||
habilidades_usadas [id] = esta_habilidade
|
||||
end
|
||||
|
||||
--> adiciona ao [1] total de dano que esta habilidade causou
|
||||
esta_habilidade[1] = esta_habilidade[1] + habilidade.total
|
||||
|
||||
--> adiciona ao [3] total do jogador que castou
|
||||
if (not esta_habilidade[3][jogador.nome]) then
|
||||
esta_habilidade[3][jogador.nome] = 0
|
||||
end
|
||||
|
||||
esta_habilidade[3][jogador.nome] = esta_habilidade[3][jogador.nome] + habilidade.total
|
||||
|
||||
--> pega os alvos e adiciona ao [2]
|
||||
local alvos = habilidade.targets
|
||||
for index, jogador in _ipairs (alvos._ActorTable) do
|
||||
|
||||
--> ele tem o nome do jogador, vamos ver se este alvo é realmente um jogador verificando na tabela do combate
|
||||
local tabela_dano_do_jogador = DamageContainer._ActorTable [DamageContainer._NameIndexTable [jogador.nome]]
|
||||
if (tabela_dano_do_jogador and tabela_dano_do_jogador.grupo) then
|
||||
if (not esta_habilidade[2] [jogador.nome]) then
|
||||
esta_habilidade[2] [jogador.nome] = {0, tabela_dano_do_jogador.classe}
|
||||
|
||||
--> get all spells from neutral and hostile npcs
|
||||
if (
|
||||
_bit_band (jogador.flag_original, 0x00000060) ~= 0 and --is neutral or hostile
|
||||
(not jogador.owner or (_bit_band (jogador.owner.flag_original, 0x00000060) ~= 0 and not jogador.owner.grupo and _bit_band (jogador.owner.flag_original, 0x00000400) == 0)) and --isn't a pet or the owner isn't a player
|
||||
not jogador.grupo and
|
||||
_bit_band (jogador.flag_original, 0x00000400) == 0
|
||||
) then
|
||||
|
||||
local habilidades = jogador.spell_tables._ActorTable
|
||||
|
||||
for id, habilidade in _pairs (habilidades) do
|
||||
--if (habilidades_poll [id]) then
|
||||
--> esse jogador usou uma habilidade do boss
|
||||
local esta_habilidade = habilidades_usadas [id] --> tabela não numerica, pq diferentes monstros podem castar a mesma magia
|
||||
if (not esta_habilidade) then
|
||||
esta_habilidade = {0, {}, {}, id} --> [1] total dano causado [2] jogadores que foram alvos [3] jogadores que castaram essa magia [4] ID da magia
|
||||
habilidades_usadas [id] = esta_habilidade
|
||||
end
|
||||
|
||||
--> adiciona ao [1] total de dano que esta habilidade causou
|
||||
esta_habilidade[1] = esta_habilidade[1] + habilidade.total
|
||||
|
||||
--> adiciona ao [3] total do jogador que castou
|
||||
if (not esta_habilidade[3][jogador.nome]) then
|
||||
esta_habilidade[3][jogador.nome] = 0
|
||||
end
|
||||
|
||||
esta_habilidade[3][jogador.nome] = esta_habilidade[3][jogador.nome] + habilidade.total
|
||||
|
||||
--> pega os alvos e adiciona ao [2]
|
||||
local alvos = habilidade.targets
|
||||
for index, jogador in _ipairs (alvos._ActorTable) do
|
||||
|
||||
--> ele tem o nome do jogador, vamos ver se este alvo é realmente um jogador verificando na tabela do combate
|
||||
local tabela_dano_do_jogador = DamageContainer._ActorTable [DamageContainer._NameIndexTable [jogador.nome]]
|
||||
if (tabela_dano_do_jogador and tabela_dano_do_jogador.grupo) then
|
||||
if (not esta_habilidade[2] [jogador.nome]) then
|
||||
esta_habilidade[2] [jogador.nome] = {0, tabela_dano_do_jogador.classe}
|
||||
end
|
||||
esta_habilidade[2] [jogador.nome] [1] = esta_habilidade[2] [jogador.nome] [1] + jogador.total
|
||||
end
|
||||
end
|
||||
--end
|
||||
end
|
||||
|
||||
elseif (have_pool) then
|
||||
--> check if the spell id is in the spell poll.
|
||||
local habilidades = jogador.spell_tables._ActorTable
|
||||
|
||||
for id, habilidade in _pairs (habilidades) do
|
||||
if (habilidades_poll [id]) then
|
||||
--> esse jogador usou uma habilidade do boss
|
||||
local esta_habilidade = habilidades_usadas [id] --> tabela não numerica, pq diferentes monstros podem castar a mesma magia
|
||||
if (not esta_habilidade) then
|
||||
esta_habilidade = {0, {}, {}, id} --> [1] total dano causado [2] jogadores que foram alvos [3] jogadores que castaram essa magia [4] ID da magia
|
||||
habilidades_usadas [id] = esta_habilidade
|
||||
end
|
||||
|
||||
--> adiciona ao [1] total de dano que esta habilidade causou
|
||||
esta_habilidade[1] = esta_habilidade[1] + habilidade.total
|
||||
|
||||
--> adiciona ao [3] total do jogador que castou
|
||||
if (not esta_habilidade[3][jogador.nome]) then
|
||||
esta_habilidade[3][jogador.nome] = 0
|
||||
end
|
||||
|
||||
esta_habilidade[3][jogador.nome] = esta_habilidade[3][jogador.nome] + habilidade.total
|
||||
|
||||
--> pega os alvos e adiciona ao [2]
|
||||
local alvos = habilidade.targets
|
||||
for index, jogador in _ipairs (alvos._ActorTable) do
|
||||
|
||||
--> ele tem o nome do jogador, vamos ver se este alvo é realmente um jogador verificando na tabela do combate
|
||||
local tabela_dano_do_jogador = DamageContainer._ActorTable [DamageContainer._NameIndexTable [jogador.nome]]
|
||||
if (tabela_dano_do_jogador and tabela_dano_do_jogador.grupo) then
|
||||
if (not esta_habilidade[2] [jogador.nome]) then
|
||||
esta_habilidade[2] [jogador.nome] = {0, tabela_dano_do_jogador.classe}
|
||||
end
|
||||
esta_habilidade[2] [jogador.nome] [1] = esta_habilidade[2] [jogador.nome] [1] + jogador.total
|
||||
end
|
||||
esta_habilidade[2] [jogador.nome] [1] = esta_habilidade[2] [jogador.nome] [1] + jogador.total
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -966,7 +1036,7 @@ function EncounterDetails:OpenAndRefresh (_, segment)
|
||||
tabela_em_ordem [#tabela_em_ordem+1] = tabela
|
||||
end
|
||||
|
||||
_table_sort (tabela_em_ordem, function (a, b) return a[1] > b[1] end)
|
||||
_table_sort (tabela_em_ordem, _detalhes.Sort1)
|
||||
|
||||
container = frame.overall_habilidades.gump
|
||||
quantidade = 0
|
||||
@@ -1034,7 +1104,8 @@ function EncounterDetails:OpenAndRefresh (_, segment)
|
||||
local adds_pool = {}
|
||||
|
||||
--> pega as habilidades que pertence especificamente a cada fase
|
||||
if (boss_info.phases) then
|
||||
|
||||
if (boss_info and boss_info.phases) then
|
||||
for fase_id, fase in _ipairs (boss_info.phases) do
|
||||
if (fase.adds) then
|
||||
for index, addId in _ipairs (fase.adds) do
|
||||
@@ -1053,7 +1124,13 @@ function EncounterDetails:OpenAndRefresh (_, segment)
|
||||
for index, jogador in _ipairs (DamageContainer._ActorTable) do
|
||||
|
||||
--> só estou interessado nos adds, conferir pelo nome
|
||||
if (adds_pool [tonumber (jogador.serial:sub(6, 10), 16)] or (jogador.flag_original and bit.band (jogador.flag_original, 0x00000060) ~= 0)) then --> é um inimigo ou neutro
|
||||
if (adds_pool [_detalhes:GetNpcIdFromGuid (jogador.serial)] or (
|
||||
jogador.flag_original and
|
||||
bit.band (jogador.flag_original, 0x00000060) ~= 0 and
|
||||
(not jogador.owner or (_bit_band (jogador.owner.flag_original, 0x00000060) ~= 0 and not jogador.owner.grupo and _bit_band (jogador.owner.flag_original, 0x00000400) == 0)) and --isn't a pet or the owner isn't a player
|
||||
not jogador.grupo and
|
||||
_bit_band (jogador.flag_original, 0x00000400) == 0
|
||||
)) then --> é um inimigo ou neutro
|
||||
|
||||
local nome = jogador.nome
|
||||
local tabela = {nome = nome, total = 0, dano_em = {}, dano_em_total = 0, damage_from = {}, damage_from_total = 0}
|
||||
@@ -1494,7 +1571,7 @@ function EncounterDetails:OpenAndRefresh (_, segment)
|
||||
-- boss_info.spell_tables_info o erro de lua do boss é a habilidade dele que não foi declarada ainda
|
||||
|
||||
local mortes = _combat_object.last_events_tables
|
||||
local habilidades_info = boss_info.spell_mechanics or {} --barra.extra pega esse cara aqui --> então esse erro é das habilidades que não tao
|
||||
local habilidades_info = boss_info and boss_info.spell_mechanics or {} --barra.extra pega esse cara aqui --> então esse erro é das habilidades que não tao
|
||||
|
||||
for index, tabela in _ipairs (mortes) do
|
||||
--> {esta_morte, time, este_jogador.nome, este_jogador.classe, _UnitHealthMax (alvo_name), minutos.."m "..segundos.."s", ["dead"] = true}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Interface: 50400
|
||||
## Interface: 60000
|
||||
## Title: Details Encounter (plugin)
|
||||
## Notes: Plugin for Details
|
||||
## RequiredDeps: Details
|
||||
|
||||
@@ -0,0 +1,269 @@
|
||||
|
||||
local _detalhes = _G._detalhes
|
||||
|
||||
local blackrock_foundry = {
|
||||
|
||||
id = 1205, --994 = map id extracted from encounter journal
|
||||
ej_id = 477, --encounter journal id
|
||||
|
||||
name = "Blackrock Foundry",
|
||||
|
||||
icons = [[Interface\AddOns\Details_RaidInfo-BlackrockFoundry\boss_faces]],
|
||||
icon = [[Interface\AddOns\Details_RaidInfo-BlackrockFoundry\icon256x128]],
|
||||
|
||||
is_raid = true,
|
||||
|
||||
backgroundFile = {file = [[Interface\Glues\LOADINGSCREENS\LoadingScreen_BlackrockFoundry]], coords = {0, 1, 132/512, 439/512}},
|
||||
backgroundEJ = [[Interface\EncounterJournal\UI-EJ-LOREBG-BlackrockFoundry]],
|
||||
|
||||
boss_names = {
|
||||
--[[ 1 ]] "Gruul",
|
||||
--[[ 2 ]] "Oregorger",
|
||||
--[[ 3 ]] "Beastlord Darmac",
|
||||
--[[ 4 ]] "Flamebender Ka'graz",
|
||||
--[[ 5 ]] "Hans'gar and Franzok",
|
||||
--[[ 6 ]] "Operator Thogar",
|
||||
--[[ 7 ]] "The Blast Furnace",
|
||||
--[[ 8 ]] "Kromog",
|
||||
--[[ 9 ]] "The Iron Maidens",
|
||||
--[[ 10 ]] "Blackhand",
|
||||
},
|
||||
|
||||
encounter_ids = { --encounter journal encounter id
|
||||
--> Ids by Index
|
||||
1161, 1202, 1122, 1123, 1155, 1147, 1154, 1162, 1203, 959,
|
||||
|
||||
--> Boss Index
|
||||
[1161] = 1,
|
||||
[1202] = 2,
|
||||
[1122] = 3,
|
||||
[1123] = 4,
|
||||
[1155] = 5,
|
||||
[1147] = 6,
|
||||
[1154] = 7,
|
||||
[1162] = 8,
|
||||
[1203] = 9,
|
||||
[959] = 10,
|
||||
},
|
||||
|
||||
encounter_ids2 = {
|
||||
--combatlog encounter id
|
||||
[1694] = 3, --Beastlord Darmac
|
||||
[1689] = 4, --Flamebender Ka'graz
|
||||
[1693] = 5, --Hans'gar & Franzok
|
||||
[1692] = 6, --Operator Thogar
|
||||
[1713] = 8, --Kromog, Legend of the Mountain
|
||||
[1695] = 9, --The Iron Maidens
|
||||
},
|
||||
|
||||
boss_ids = {
|
||||
--npc ids
|
||||
[76865] = 3, --Beastlord Darmac
|
||||
[76814] = 4, --Flamebender Ka'graz
|
||||
[76974] = 5, --Franzok
|
||||
[76973] = 5, --Hans'gar
|
||||
[76906] = 6, --Operator Thogar
|
||||
[77692] = 8, --Kromog, Legend of the Mountain
|
||||
[77557] = 9, -- Admiral Gar'an
|
||||
[77231] = 9, --Enforcer Sorka
|
||||
[77477] = 9, --Marak the Blooded
|
||||
},
|
||||
|
||||
encounters = {
|
||||
|
||||
[1] = {
|
||||
boss = "Gruul",
|
||||
portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Gruul]],
|
||||
|
||||
--> spell list
|
||||
continuo = {
|
||||
155080,
|
||||
155301,
|
||||
155530,
|
||||
162322,
|
||||
165983,
|
||||
173190,
|
||||
173192,
|
||||
},
|
||||
},
|
||||
|
||||
[2] = {
|
||||
boss = "Oregorger",
|
||||
portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Oregorger]],
|
||||
|
||||
--> spell list
|
||||
continuo = {
|
||||
155897,
|
||||
155900,
|
||||
156203,
|
||||
156297,
|
||||
156324,
|
||||
156374,
|
||||
156388,
|
||||
156879,
|
||||
165983,
|
||||
173471,
|
||||
},
|
||||
},
|
||||
|
||||
[3] = {
|
||||
boss = "Beastlord Darmac",
|
||||
portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Beastlord Darmac]],
|
||||
|
||||
--> spell list
|
||||
continuo = {
|
||||
154956,
|
||||
154960,
|
||||
154981,
|
||||
154989,
|
||||
155030,
|
||||
155061,
|
||||
155198,
|
||||
155222,
|
||||
155247,
|
||||
155499,
|
||||
155531,
|
||||
155611,
|
||||
155657,
|
||||
155718,
|
||||
156823,
|
||||
156824,
|
||||
162275,
|
||||
162283,
|
||||
},
|
||||
},
|
||||
|
||||
[4] = {
|
||||
boss = "Flamebender Ka'graz",
|
||||
portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Flamebender Kagraz]],
|
||||
|
||||
--> spell list
|
||||
continuo = {
|
||||
154938,
|
||||
155049,
|
||||
155074,
|
||||
155314,
|
||||
155318,
|
||||
155484,
|
||||
155511,
|
||||
156018,
|
||||
156040,
|
||||
156713,
|
||||
163284,
|
||||
163633,
|
||||
163822,
|
||||
},
|
||||
},
|
||||
|
||||
[5] = {
|
||||
boss = "Hans'gar and Franzok",
|
||||
portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Franzok]],
|
||||
|
||||
--> spell list
|
||||
continuo = {
|
||||
153470,
|
||||
155818,
|
||||
156938,
|
||||
157853,
|
||||
158140,
|
||||
161570,
|
||||
},
|
||||
},
|
||||
|
||||
[6] = {
|
||||
boss = "Operator Thogar",
|
||||
portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Operator Thogar]],
|
||||
|
||||
--> spell list
|
||||
continuo = {
|
||||
163754,
|
||||
156554,
|
||||
155921,
|
||||
158084,
|
||||
163752,
|
||||
155701,
|
||||
160050,
|
||||
156270,
|
||||
156655,
|
||||
},
|
||||
},
|
||||
|
||||
[7] = {
|
||||
boss = "The Blast Furnace",
|
||||
portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-The Blast Furnace]],
|
||||
|
||||
--> spell list
|
||||
continuo = {
|
||||
155187,
|
||||
155201,
|
||||
155209,
|
||||
155223,
|
||||
155242,
|
||||
155743,
|
||||
156932,
|
||||
156937,
|
||||
158246,
|
||||
159408,
|
||||
},
|
||||
},
|
||||
|
||||
[8] = {
|
||||
boss = "Kromog, Legend of the Mountain",
|
||||
portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Kromog]],
|
||||
|
||||
--> spell list
|
||||
continuo = {
|
||||
156704,
|
||||
156844,
|
||||
157055,
|
||||
157059,
|
||||
157247,
|
||||
157659,
|
||||
161893,
|
||||
161923,
|
||||
162349,
|
||||
162392,
|
||||
},
|
||||
},
|
||||
|
||||
[9] = {
|
||||
boss = "The Iron Maidens",
|
||||
portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Iron Maidens]],
|
||||
|
||||
--> spell list
|
||||
continuo = {
|
||||
155841,
|
||||
156637,
|
||||
156669,
|
||||
157884,
|
||||
158078,
|
||||
158080,
|
||||
158683,
|
||||
159335,
|
||||
160436,
|
||||
160733,
|
||||
},
|
||||
},
|
||||
|
||||
[10] = {
|
||||
boss = "Blackhand",
|
||||
portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Warlord Blackhand]],
|
||||
|
||||
--> spell list
|
||||
continuo = {
|
||||
155992,
|
||||
156044,
|
||||
156107,
|
||||
156401,
|
||||
156479,
|
||||
156497,
|
||||
156731,
|
||||
156743,
|
||||
},
|
||||
},
|
||||
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
_detalhes:InstallEncounter (blackrock_foundry)
|
||||
@@ -0,0 +1,6 @@
|
||||
## Interface: 60000
|
||||
## Title: Details: Blackrock Foundry
|
||||
## Notes: Plugin for Details
|
||||
## RequiredDeps: Details
|
||||
|
||||
Details_RaidInfo-BlackrockFoundry.lua
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,115 @@
|
||||
|
||||
local _detalhes = _G._detalhes
|
||||
|
||||
local highmaul = {
|
||||
|
||||
id = 1228, --994 = map id extracted from encounter journal
|
||||
ej_id = 477, --encounter journal id
|
||||
|
||||
name = "Highmaul",
|
||||
|
||||
icons = [[Interface\AddOns\Details_RaidInfo-Highmaul\boss_faces]],
|
||||
icon = [[Interface\AddOns\Details_RaidInfo-Highmaul\icon256x128]],
|
||||
|
||||
is_raid = true,
|
||||
|
||||
backgroundFile = {file = [[Interface\Glues\LOADINGSCREENS\LoadingScreen_HighMaulRaid]], coords = {0, 1, 265/1024, 875/1024}},
|
||||
backgroundEJ = [[Interface\EncounterJournal\UI-EJ-LOREBG-Highmaul]],
|
||||
|
||||
boss_names = {
|
||||
--[[ 1 ]] "Kargath Bladefist",
|
||||
--[[ 2 ]] "The Butcher",
|
||||
--[[ 3 ]] "Tectus",
|
||||
--[[ 4 ]] "Brackenspore",
|
||||
--[[ 5 ]] "Twin Ogron",
|
||||
--[[ 6 ]] "Ko'ragh",
|
||||
--[[ 7 ]] "Imperator Mar'gok",
|
||||
},
|
||||
|
||||
encounter_ids = { --encounter journal encounter id
|
||||
--> Ids by Index
|
||||
1128, 971, 1195, 1196, 1148, 1153, 1197,
|
||||
|
||||
--> Boss Index
|
||||
[1128] = 1,
|
||||
[971] = 2,
|
||||
[1195] = 3,
|
||||
[1196] = 4,
|
||||
[1148] = 5,
|
||||
[1153] = 6,
|
||||
[1197] = 7,
|
||||
},
|
||||
|
||||
encounter_ids2 = {
|
||||
--combatlog encounter id
|
||||
|
||||
},
|
||||
|
||||
boss_ids = {
|
||||
--npc ids
|
||||
|
||||
},
|
||||
|
||||
encounters = {
|
||||
|
||||
[1] = {
|
||||
boss = "Kargath Bladefist",
|
||||
portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Kargath Bladefist]],
|
||||
|
||||
--> spell list
|
||||
continuo = {},
|
||||
},
|
||||
|
||||
[2] = {
|
||||
boss = "The Butcher",
|
||||
portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-The Butcher]],
|
||||
|
||||
--> spell list
|
||||
continuo = {},
|
||||
},
|
||||
|
||||
[3] = {
|
||||
boss = "Tectus",
|
||||
portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Tectus The Living Mountain]],
|
||||
|
||||
--> spell list
|
||||
continuo = {},
|
||||
},
|
||||
|
||||
[4] = {
|
||||
boss = "Brackenspore",
|
||||
portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Brackenspore]],
|
||||
|
||||
--> spell list
|
||||
continuo = {},
|
||||
},
|
||||
|
||||
[5] = {
|
||||
boss = "Twin Ogron",
|
||||
portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Twin Ogron]],
|
||||
|
||||
--> spell list
|
||||
continuo = {},
|
||||
},
|
||||
|
||||
[6] = {
|
||||
boss = "Ko'ragh",
|
||||
portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Fel Breaker]],
|
||||
|
||||
--> spell list
|
||||
continuo = {},
|
||||
},
|
||||
|
||||
[7] = {
|
||||
boss = "Imperator Mar'gok",
|
||||
portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Imperator Margok]],
|
||||
|
||||
--> spell list
|
||||
continuo = {},
|
||||
},
|
||||
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
_detalhes:InstallEncounter (highmaul)
|
||||
@@ -0,0 +1,6 @@
|
||||
## Interface: 60000
|
||||
## Title: Details: Highmaul
|
||||
## Notes: Plugin for Details
|
||||
## RequiredDeps: Details
|
||||
|
||||
Details_RaidInfo-Highmaul.lua
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,4 +1,4 @@
|
||||
## Interface: 50400
|
||||
## Interface: 60000
|
||||
## Title: Details: Siege of Orgrimmar
|
||||
## Notes: Plugin for Details
|
||||
## RequiredDeps: Details
|
||||
|
||||
@@ -49,7 +49,7 @@ local siege_of_orgrimmar = {
|
||||
--> find galakras (this encounter doesn't have a boss frames before galakras comes into in play)
|
||||
if (_detalhes.tabela_vigente and _detalhes.tabela_vigente[1] and _detalhes.tabela_vigente[1]._ActorTable) then
|
||||
for _, damage_actor in ipairs (_detalhes.tabela_vigente[1]._ActorTable) do
|
||||
local serial = tonumber (damage_actor.serial:sub (6, 10), 16)
|
||||
local serial = _detalhes:GetNpcIdFromGuid (damage_actor.serial)
|
||||
if (serial == 73909) then --Archmage Aethas Sunreaver
|
||||
return 5 --> galakras boss index
|
||||
end
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Interface: 50400
|
||||
## Interface: 60000
|
||||
## Title: Details: Throne of Thunder
|
||||
## Notes: Plugin for Details
|
||||
## RequiredDeps: Details
|
||||
|
||||
@@ -912,8 +912,8 @@ end
|
||||
function TimeAttack:CheckTargetForTutorial()
|
||||
local guid = UnitGUID ("target")
|
||||
if (guid) then
|
||||
local mobid = tonumber (guid:sub (6, 10), 16)
|
||||
if (mobid == 31144 or mobid == 32666 or mobid == 31146 or mobid == 32667 or mobid == 67127 or mobid == 46647) then
|
||||
local mobid = TimeAttack:GetNpcIdFromGuid (guid)
|
||||
if (mobid == 31144 or mobid == 32666 or mobid == 31146 or mobid == 32667 or mobid == 67127 or mobid == 46647 or mobid == 87762 or mobid == 87761) then
|
||||
TimeAttack:SetTutorialCVar ("TIME_ATTACK_TUTORIAL1", true)
|
||||
TimeAttackFrame:UnregisterEvent ("PLAYER_TARGET_CHANGED")
|
||||
TimeAttack:ShowTargetTutorial()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Interface: 50400
|
||||
## Interface: 60000
|
||||
## Title: Details TimeAttack (plugin)
|
||||
## Notes: Plugin for Details
|
||||
## SavedVariablesPerCharacter: _detalhes_databaseTimeAttack
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Interface: 50400
|
||||
## Interface: 60000
|
||||
## Title: Details Tiny Threat (plugin)
|
||||
## Notes: Plugin for Details
|
||||
## RequiredDeps: Details
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Interface: 50400
|
||||
## Interface: 60000
|
||||
## Title: Details Vanguard (plugin)
|
||||
## Notes: Plugin for Details
|
||||
## SavedVariablesPerCharacter: _detalhes_databaseVanguard
|
||||
|
||||
@@ -9,10 +9,9 @@
|
||||
--> main frame (shortcut)
|
||||
local YouAreNotPreparedFrame = YouAreNotPrepared.Frame
|
||||
|
||||
YouAreNotPrepared:SetPluginDescription ("Tracks your deaths during raid encounters and shows it for you right after the fight end.")
|
||||
|
||||
local debugmode = false
|
||||
|
||||
YouAreNotPrepared:SetPluginDescription ("Tracks your deaths during raid encounters and shows it for you right after the fight end.")
|
||||
|
||||
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
--> init the frames
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Interface: 50400
|
||||
## Interface: 60000
|
||||
## Title: Details You Are Not Prepared (plugin)
|
||||
## Notes: Plugin for Details
|
||||
## RequiredDeps: Details
|
||||
|
||||
Reference in New Issue
Block a user