Skip to content

Commit

Permalink
Quick fix for /de version on classic
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed May 7, 2023
1 parent 950588f commit cb5dc42
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
10 changes: 3 additions & 7 deletions boot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
local addonName, Details222 = ...
local version, build, date, tocversion = GetBuildInfo()

Details.build_counter = 10989
Details.alpha_build_counter = 10989 --if this is higher than the regular counter, use it instead
Details.build_counter = 10990
Details.alpha_build_counter = 10990 --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
Expand All @@ -40,11 +40,7 @@

Details = Details

local gameVersionPrefix = "Unknown Game Version - You're probably using a Details! not compatible with this version of the Game"
--these are the game versions currently compatible with this Details! versions
if (DetailsFramework.IsWotLKWow() or DetailsFramework.IsShadowlandsWow() or DetailsFramework.IsDragonflight()) then
gameVersionPrefix = "WD"
end
local gameVersionPrefix = "VWD" --vanilla, wrath, dragonflight

Details.gameVersionPrefix = gameVersionPrefix

Expand Down
2 changes: 1 addition & 1 deletion classes/class_damage.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4643,7 +4643,7 @@ function atributo_damage:MontaInfoDamageDone() --I guess this fills the list of
---@type spelltableadv
local bkSpellData = breakdownSpellDataList[i]
Details.SpellTableMixin.SumSpellTables(bkSpellData.spellTables, bkSpellData)
Details:Destroy(bkSpellData, "spellTables")
--Details:Destroy(bkSpellData, "spellTables") --temporary fix for BuildSpellTargetFromBreakdownSpellData, that function need to use bkSpellData.nestedData
end

breakdownSpellDataList.totalValue = actorTotal
Expand Down
2 changes: 1 addition & 1 deletion classes/class_heal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1983,7 +1983,7 @@ function atributo_heal:MontaInfoHealingDone()
---@type spelltableadv
local bkSpellData = actorSpellsSorted[i]
Details.SpellTableMixin.SumSpellTables(bkSpellData.spellTables, bkSpellData)
Details:Destroy(bkSpellData, "spellTables")
--Details:Destroy(bkSpellData, "spellTables")
end

--table.sort(actorSpellsSorted, Details.Sort2)
Expand Down

0 comments on commit cb5dc42

Please sign in to comment.