Skip to content

Commit

Permalink
Added .total_extra for damage actors, when above zero, a secondary st…
Browse files Browse the repository at this point in the history
…atusbar is shown in the player bar
  • Loading branch information
Tercioo committed Jul 20, 2023
1 parent 22d8686 commit ae490f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions boot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 0 additions & 2 deletions classes/class_damage.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ae490f4

Please sign in to comment.