- 4% parser speed up.

- added options for concatenate trash segments.
- added options for auto eliminate trash segments.
- added capture for enemy spell cast successful.
- added options for bar height.
- fixed problem were pets wasn't updating owner activity time.
- fixed issue with healing done being computated out of combat.
- fixed a bug with twin's encounter on Throne of Thunder.
- plugin encounter details now show the amount of interrupted cast / successful cast.
This commit is contained in:
Tercio
2013-11-19 01:33:23 -02:00
parent a7cd10450a
commit 423e4b88c6
13 changed files with 192 additions and 171 deletions
@@ -1104,10 +1104,21 @@ function EncounterDetails:OpenAndRefresh()
barra.report_text = "Details! ".. Loc ["STRING_INTERRUPT_BY"]
end
local spellid = tabela [3]
local nome_magia, _, icone_magia = _GetSpellInfo (tabela [3])
local successful = 0
--> pegar quantas vezes a magia passou com sucesso.
for _, enemy_actor in _ipairs (DamageContainer._ActorTable) do
if (enemy_actor.spell_tables._ActorTable [spellid]) then
local spell = enemy_actor.spell_tables._ActorTable [spellid]
successful = spell.successful_casted
end
end
barra.texto_esquerdo:SetText (nome_magia)
barra.texto_direita:SetText (tabela [2])
local total = successful + tabela [2]
barra.texto_direita:SetText (tabela [2] .. " / ".. total)
_detalhes:name_space (barra)