Removed Multistrike leftovers, added extra attacks counter
This commit is contained in:
@@ -4607,12 +4607,10 @@ end
|
||||
------ Detalhe Info Damage Done e Dps
|
||||
--local defenses_table = {c = {117/255, 58/255, 0/255}, p = 0}
|
||||
--local normal_table = {c = {255/255, 180/255, 0/255, 0.5}, p = 0}
|
||||
--local multistrike_table = {c = {223/255, 249/255, 45/255, 0.5}, p = 0}
|
||||
--local critical_table = {c = {249/255, 74/255, 45/255, 0.5}, p = 0}
|
||||
|
||||
local defenses_table = {c = {1, 1, 1, 0.5}, p = 0}
|
||||
local normal_table = {c = {1, 1, 1, 0.5}, p = 0}
|
||||
local multistrike_table = {c = {1, 1, 1, 0.5}, p = 0}
|
||||
local critical_table = {c = {1, 1, 1, 0.5}, p = 0}
|
||||
|
||||
local data_table = {}
|
||||
@@ -4765,10 +4763,8 @@ function atributo_damage:MontaDetalhesDamageDone (spellid, barra, instancia)
|
||||
end
|
||||
|
||||
gump:SetaDetalheInfoTexto ( index, 100,
|
||||
--Loc ["STRING_GERAL"],
|
||||
cast_string,
|
||||
Loc ["STRING_DAMAGE"]..": "..Details:ToK (esta_magia.total),
|
||||
--Loc ["STRING_MULTISTRIKE"] .. ": " .. _cstr ("%.1f", esta_magia.counter/esta_magia.m_amt*100) .. "%",
|
||||
schooltext, --offhand,
|
||||
Loc ["STRING_AVERAGE"] .. ": " .. Details:comma_value (media),
|
||||
this_dps,
|
||||
@@ -4847,40 +4843,12 @@ function atributo_damage:MontaDetalhesDamageDone (spellid, barra, instancia)
|
||||
t3[8] = (outros_desvios+erros) .. " / " .. _cstr ("%.1f", porcentagem_defesas) .. "%"
|
||||
|
||||
end
|
||||
|
||||
--> multistrike
|
||||
--[=[
|
||||
if (esta_magia.m_amt > 0) then
|
||||
|
||||
local normal_hits = esta_magia.m_amt
|
||||
local normal_dmg = esta_magia.m_dmg
|
||||
|
||||
local media_normal = normal_dmg/normal_hits
|
||||
local T = (meu_tempo*normal_dmg)/esta_magia.total
|
||||
local P = media/media_normal*100
|
||||
T = P*T/100
|
||||
|
||||
data[#data+1] = t4
|
||||
multistrike_table.p = esta_magia.m_amt/total_hits*100
|
||||
|
||||
t4[1] = esta_magia.m_amt
|
||||
t4[2] = multistrike_table
|
||||
t4[3] = Loc ["STRING_MULTISTRIKE_HITS"]
|
||||
t4[4] = "On Critical: " .. esta_magia.m_crit
|
||||
t4[5] = "On Normals: " .. (esta_magia.m_amt - esta_magia.m_crit)
|
||||
t4[6] = Loc ["STRING_AVERAGE"] .. ": " .. Details:comma_value (esta_magia.m_dmg/esta_magia.m_amt)
|
||||
t4[7] = Loc ["STRING_DPS"] .. ": " .. Details:comma_value (esta_magia.m_dmg/T)
|
||||
t4[8] = esta_magia.m_amt .. " / " .. _cstr ("%.1f", esta_magia.m_amt/total_hits*100) .. "%"
|
||||
|
||||
end
|
||||
--]=]
|
||||
|
||||
--Details:BuildPlayerDetailsSpellChart()
|
||||
--DetailsPlayerDetailSmallChart.ShowChart (Details.playerDetailWindow.grupos_detalhes [5].bg, info.instancia.showing, info.instancia.showing.cleu_events, self.nome, false, spellid, 1, 2, 3, 4, 5, 6, 7, 8, 15)
|
||||
|
||||
--> spell damage chart
|
||||
--events: 1 2 3 4 5 6 7 8 15
|
||||
|
||||
|
||||
_table_sort (data, Details.Sort1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user