mirror of
https://github.com/Relintai/Relintais-Enemy-Kooldown-Tracker-WotLK.git
synced 2024-11-08 10:12:11 +01:00
-New debug tool ported over.
This commit is contained in:
parent
225a0bd3de
commit
bc278e9a77
18
data/drs.lua
18
data/drs.lua
@ -431,3 +431,21 @@ function Rekt:HideSelfDRFrames()
|
|||||||
frame:Hide();
|
frame:Hide();
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Debug Stuff:
|
||||||
|
|
||||||
|
function Rekt:printAllDRsForGUID(guid)
|
||||||
|
local drs = Rekt.drs[dstGUID];
|
||||||
|
|
||||||
|
for k, v in pairs(drs) do
|
||||||
|
self:Print(k .. " " .. v);
|
||||||
|
|
||||||
|
for ki, kvi in pairs(v) do
|
||||||
|
self:Print(" " .. ki .. " " .. kvi);
|
||||||
|
|
||||||
|
for kj, kvj in pairs(kv) do
|
||||||
|
self:Print(" " .. kj .. " " .. kvj);
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
@ -794,6 +794,11 @@ function Rekt:getDebugOptions()
|
|||||||
Rekt:setDebugLevel(v);
|
Rekt:setDebugLevel(v);
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
|
debuglistselfdrs = {
|
||||||
|
type = "execute", name = "List SelfDRs",
|
||||||
|
desc = "List SelfDRs", order = 56,
|
||||||
|
func = function() return Rekt:printAllDRsForGUID(Rekt.targets["self"]); end,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
return args;
|
return args;
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user