Show small damage chart for each spell of the player

This commit is contained in:
Tercio Jose
2022-11-22 16:53:54 -03:00
parent 2ca8ce36ea
commit 483e69529c
6 changed files with 250 additions and 4 deletions
+4
View File
@@ -365,6 +365,8 @@
Details:CatchRaidDebuffUptime ("DEBUFF_UPTIME_IN")
Details:UptadeRaidMembersCache()
Details222.TimeCapture.StartCombatTimer(Details.tabela_vigente)
--we already have boss information? build .is_boss table
if (Details.encounter_table.id and Details.encounter_table ["start"] >= GetTime() - 3 and not Details.encounter_table ["end"]) then
local encounter_table = Details.encounter_table
@@ -480,6 +482,8 @@
Details:CatchRaidDebuffUptime ("DEBUFF_UPTIME_OUT")
Details:CloseEnemyDebuffsUptime()
Details222.TimeCapture.StopCombat()
--check if this isn't a boss and try to find a boss in the segment
if (not Details.tabela_vigente.is_boss) then
+1 -1
View File
@@ -3608,7 +3608,7 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
--main actor
local este_jogador = energy_cache [actorName]
if (not este_jogador) then --pode ser um desconhecido ou um pet
este_jogador, meu_dono, actorName = _current_energy_container:PegarCombatente (UnitGUID(unitID), actorName, 0x514, true)
este_jogador, meu_dono, actorName = _current_energy_container:PegarCombatente (UnitGUID(unitID), actorName, 0x514, true) --global leak
energy_cache [actorName] = este_jogador
end
este_jogador.alternatepower = este_jogador.alternatepower + addPower