Compare commits
No commits in common. "main" and "3.0.7" have entirely different histories.
4 changed files with 11 additions and 16 deletions
10
lovely.toml
10
lovely.toml
|
|
@ -212,13 +212,3 @@ match_indent = true
|
||||||
# position = "at"
|
# position = "at"
|
||||||
# payload = 'local cmdName = inputText'
|
# payload = 'local cmdName = inputText'
|
||||||
# match_indent = true
|
# match_indent = true
|
||||||
|
|
||||||
# [[patches]]
|
|
||||||
# [patches.pattern]
|
|
||||||
# target = '=[SMODS DebugPlus "debugplus/util.lua"]'
|
|
||||||
# pattern = "function global.stringifyTable(tab, depth, num, dec, indent)"
|
|
||||||
# position = "after"
|
|
||||||
# payload = """if type(tab) == "table" and type(tab.table) == "function" then
|
|
||||||
# tab = tab:table()
|
|
||||||
# end"""
|
|
||||||
# match_indent = true
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
"id": "Roland",
|
"id": "Roland",
|
||||||
"name": "Roland",
|
"name": "Roland",
|
||||||
"prefix": "Roland",
|
"prefix": "Roland",
|
||||||
"version": "3.0.9",
|
"version": "3.0.7",
|
||||||
"badge_colour": "8BE9FD",
|
"badge_colour": "8BE9FD",
|
||||||
"display_name": "Roland",
|
"display_name": "Roland",
|
||||||
"main_file": "src/main.lua",
|
"main_file": "src/main.lua",
|
||||||
|
|
|
||||||
|
|
@ -232,21 +232,24 @@ blind {
|
||||||
boss = {min = 3},
|
boss = {min = 3},
|
||||||
boss_colour = HEX "102a41ff",
|
boss_colour = HEX "102a41ff",
|
||||||
pronouns = "it_its",
|
pronouns = "it_its",
|
||||||
defeat = function()
|
defeat = function(self)
|
||||||
f(G.I.CARD):where "Roland_blizzard":each(set_freeze())
|
self.cards():where "Roland_blizzard":each(set_freeze())
|
||||||
G.GAME.blind.disabled = true
|
G.GAME.blind.disabled = true
|
||||||
end,
|
end,
|
||||||
disable = function(self)
|
disable = function(self)
|
||||||
self:defeat()
|
self:defeat()
|
||||||
end,
|
end,
|
||||||
calculate = function(_, b, context)
|
calculate = function(self, b, context)
|
||||||
return not b.disabled and
|
return not b.disabled and
|
||||||
context.hand_drawn and
|
context.hand_drawn and
|
||||||
f(G.I.CARD)
|
self.cards()
|
||||||
:where("Roland_blizzard", false)
|
:where("Roland_blizzard", false)
|
||||||
:where("facing", "front")
|
:where("facing", "front")
|
||||||
:each(set_freeze(true)) or nil
|
:each(set_freeze(true)) or nil
|
||||||
end,
|
end,
|
||||||
|
cards = function()
|
||||||
|
return f(G):where(getmetatable, CardArea):flatmap("cards", ipairs)
|
||||||
|
end,
|
||||||
}
|
}
|
||||||
|
|
||||||
blind {
|
blind {
|
||||||
|
|
|
||||||
|
|
@ -589,7 +589,9 @@ joker {
|
||||||
end
|
end
|
||||||
|
|
||||||
return SMODS.merge_effects(
|
return SMODS.merge_effects(
|
||||||
f(G.I.CARD)
|
f(G)
|
||||||
|
:where(getmetatable, CardArea)
|
||||||
|
:flatmap("cards", ipairs)
|
||||||
:where(is_frozen)
|
:where(is_frozen)
|
||||||
:map(copy(card, context))
|
:map(copy(card, context))
|
||||||
:where(type, "table")
|
:where(type, "table")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue