Added .total_extra for damage actors, when above zero, a secondary statusbar is shown in the player bar

This commit is contained in:
Tercio Jose
2023-07-20 16:37:27 -03:00
parent 22d8686b03
commit ae490f434d
2 changed files with 3 additions and 5 deletions
+3 -3
View File
@@ -13,12 +13,12 @@
local addonName, Details222 = ...
local version, build, date, tocversion = GetBuildInfo()
Details.build_counter = 11701
Details.alpha_build_counter = 11701 --if this is higher than the regular counter, use it instead
Details.build_counter = 11718
Details.alpha_build_counter = 11718 --if this is higher than the regular counter, use it instead
Details.dont_open_news = true
Details.game_version = version
Details.userversion = version .. " " .. Details.build_counter
Details.realversion = 154 --core version, this is used to check API version for scripts and plugins (see alias below)
Details.realversion = 155 --core version, this is used to check API version for scripts and plugins (see alias below)
Details.APIVersion = Details.realversion --core version
Details.version = Details.userversion .. " (core " .. Details.realversion .. ")" --simple stirng to show to players
-2
View File
@@ -1851,7 +1851,6 @@ function damageClass:RefreshWindow(instancia, combatObject, forcar, exportar, re
return Details:EndRefresh(instancia, total, combatObject, showing) --retorna a tabela que precisa ganhar o refresh
elseif (keyName == "damage_taken_by_spells") then
local bs_index, total = 0, 0
Details:Destroy(bs_index_table)
@@ -1993,7 +1992,6 @@ function damageClass:RefreshWindow(instancia, combatObject, forcar, exportar, re
return Details:EndRefresh(instancia, bs_index, combatObject, showing)
elseif (keyName == "voidzones") then
local index = 0
local misc_container = combatObject [4]
local voidzone_damage_total = 0