Time Machine overhaul

This commit is contained in:
Tercio Jose
2023-06-08 22:01:34 -03:00
parent fb724bed5c
commit 631b3ceaa0
10 changed files with 368 additions and 314 deletions
+3 -2
View File
@@ -2071,6 +2071,7 @@ function healingClass:MontaInfoHealingDone()
---@type spelltableadv
local bkSpellData = {
id = spellId,
actorName = petName,
spellschool = spellTable.spellschool,
expanded = Details222.BreakdownWindow.IsSpellExpanded(spellId),
bCanExpand = false,
@@ -2772,10 +2773,10 @@ function healingClass:Iniciar (iniciar)
return self.iniciar_hps --retorna se o dps esta aberto ou fechado para este jogador
elseif (iniciar) then
self.iniciar_hps = true
self:RegistrarNaTimeMachine() --coloca ele da timeMachine
Details222.TimeMachine.AddActor(self)
else
self.iniciar_hps = false
self:DesregistrarNaTimeMachine() --retira ele da timeMachine
Details222.TimeMachine.RemoveActor(self)
end
end