Added some combatlog options

This commit is contained in:
Tercio Jose
2023-05-12 13:53:27 -03:00
parent 937c963cc8
commit 4af7d8d187
2 changed files with 46 additions and 15 deletions
+3 -2
View File
@@ -629,10 +629,11 @@ local onEnterSpellBar = function(spellBar, motion) --parei aqui: precisa por nom
GameCooltip:AddLine(Loc ["ABILITY_ID"] .. ": " .. spellBar.spellId)
GameCooltip:Show()
local t = combatObject:GetActor(1, actorName).spells._ActorTable[spellId]
---@type spelltable
local thisSpellTable = combatObject:GetActor(mainAttribute, actorName).spells._ActorTable[spellId]
local textToEditor = ""
for key, value in pairs(t) do
for key, value in pairs(thisSpellTable) do
if (type(value) ~= "function" and type(value) ~= "table") then
textToEditor = textToEditor .. key .. " = " .. tostring(value) .. "\n"
end