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
+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