Add debugger
This commit is contained in:
parent
e1bf9ef2b2
commit
24d47bb04e
2 changed files with 6 additions and 1 deletions
|
|
@ -4,7 +4,7 @@
|
|||
"name": "Roland",
|
||||
"prefix": "Roland",
|
||||
"author": ["Emik"],
|
||||
"version": "1.2.0",
|
||||
"version": "1.2.1",
|
||||
"badge_colour": "8BE9FD",
|
||||
"main_file": "src/main.lua",
|
||||
"badge_text_colour": "44475A",
|
||||
|
|
|
|||
|
|
@ -70,6 +70,11 @@ SMODS.Joker {
|
|||
scared[2] or "",
|
||||
}}
|
||||
end,
|
||||
calculate = function (_, _, context)
|
||||
if type(G.escapey_debugger) == "function" then
|
||||
G.escapey_debugger(F.reduce(context, "", function (acc, _, next) return acc .. ", " .. next end, pairs):sub(2))
|
||||
end
|
||||
end,
|
||||
Bakery_can_use = function(_, card)
|
||||
return not card.debuff and can_use() and (
|
||||
#G.GAME.tags ~= 0 or
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue