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",
|
"name": "Roland",
|
||||||
"prefix": "Roland",
|
"prefix": "Roland",
|
||||||
"author": ["Emik"],
|
"author": ["Emik"],
|
||||||
"version": "1.2.0",
|
"version": "1.2.1",
|
||||||
"badge_colour": "8BE9FD",
|
"badge_colour": "8BE9FD",
|
||||||
"main_file": "src/main.lua",
|
"main_file": "src/main.lua",
|
||||||
"badge_text_colour": "44475A",
|
"badge_text_colour": "44475A",
|
||||||
|
|
|
||||||
|
|
@ -70,6 +70,11 @@ SMODS.Joker {
|
||||||
scared[2] or "",
|
scared[2] or "",
|
||||||
}}
|
}}
|
||||||
end,
|
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)
|
Bakery_can_use = function(_, card)
|
||||||
return not card.debuff and can_use() and (
|
return not card.debuff and can_use() and (
|
||||||
#G.GAME.tags ~= 0 or
|
#G.GAME.tags ~= 0 or
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue