Skip to content

Commit

Permalink
Fix HoL debug again
Browse files Browse the repository at this point in the history
  • Loading branch information
Hekili committed Sep 29, 2024
1 parent c791de7 commit 5168b9e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion TheWarWithin/PaladinRetribution.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,15 @@ spec:RegisterHook( "reset_precast", function ()
if ld then
local ldInfo = "Light's Deliverance: "
for k, v in pairs( ld ) do
ldInfo = ldInfo "\n ".. k .. " = " .. tostring( v )
if type( v ) == "table" then
local subTable = "\n " .. k .. " = { "
for i, val in ipairs( v ) do
subTable = subTable .. tostring( val ) .. ( i < #v and ", " or " }" )
end
ldInfo = ldInfo .. subTable
else
ldInfo = ldInfo .. "\n ".. k .. " = " .. tostring( v )
end
end
Hekili:Debug( ldInfo )
end
Expand Down

0 comments on commit 5168b9e

Please sign in to comment.