Fixes for the latest alpha version
This commit is contained in:
@@ -2991,8 +2991,8 @@ end
|
||||
---@param totalAmount valueamount
|
||||
---@param topAmount valueamount
|
||||
---@param instanceObject instance
|
||||
---@param onEnterFunc function|nil
|
||||
---@param onLeaveFunc function|nil
|
||||
---@param onEnterFunc function?
|
||||
---@param onLeaveFunc function?
|
||||
function Details:ShowExtraStatusbar(thisLine, amount, extraAmount, totalAmount, topAmount, instanceObject, onEnterFunc, onLeaveFunc)
|
||||
if (extraAmount and extraAmount > 0 and Details.combat_log.evoker_calc_damage) then
|
||||
local extraStatusbar = thisLine.extraStatusbar
|
||||
@@ -6705,6 +6705,8 @@ end
|
||||
|
||||
if (actorObject.augmentedSpellsContainer) then
|
||||
local overallAugmentedSpellsContainer = overallActor.augmentedSpellsContainer or spellContainerClass:CreateSpellContainer(Details.container_type.CONTAINER_DAMAGE_CLASS)
|
||||
overallActor.augmentedSpellsContainer = overallAugmentedSpellsContainer
|
||||
|
||||
for spellId, spellTable in pairs(actorObject.augmentedSpellsContainer._ActorTable) do --same as actorObject.augmentedSpellsContainer:GetRawSpellTable()
|
||||
local overallSpellTable = overallAugmentedSpellsContainer:GetOrCreateSpell(spellId, true)
|
||||
overallSpellTable.total = overallSpellTable.total + spellTable.total
|
||||
|
||||
@@ -2366,8 +2366,8 @@ local refresh_alvos = function(container1, container2)
|
||||
end
|
||||
local refresh_habilidades = function(container1, container2)
|
||||
for spellid, habilidade in pairs(container2._ActorTable) do
|
||||
local habilidade_shadow = container1:PegaHabilidade (spellid, true, nil, true)
|
||||
refresh_alvos (habilidade_shadow.targets , habilidade.targets)
|
||||
local habilidade_shadow = container1:PegaHabilidade(spellid, true, nil, true)
|
||||
refresh_alvos(habilidade_shadow.targets , habilidade.targets)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -2414,6 +2414,9 @@ function atributo_misc:r_onlyrefresh_shadow (actor)
|
||||
refresh_habilidades (shadow.buff_uptime_spells, actor.buff_uptime_spells)
|
||||
|
||||
if (actor.received_buffs_spells) then
|
||||
if (not shadow.received_buffs_spells) then
|
||||
shadow.received_buffs_spells = container_habilidades:NovoContainer(_detalhes.container_type.CONTAINER_MISC_CLASS)
|
||||
end
|
||||
refresh_habilidades(shadow.received_buffs_spells, actor.received_buffs_spells)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user