diff --git a/manifest.json b/manifest.json index e34c2cb..7ba8c47 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "id": "Roland", "name": "Roland", "prefix": "Roland", - "version": "3.0.7", + "version": "3.0.8", "badge_colour": "8BE9FD", "display_name": "Roland", "main_file": "src/main.lua", diff --git a/src/blind.lua b/src/blind.lua index a9e71db..2973c3f 100644 --- a/src/blind.lua +++ b/src/blind.lua @@ -232,24 +232,21 @@ blind { boss = {min = 3}, boss_colour = HEX "102a41ff", pronouns = "it_its", - defeat = function(self) - self.cards():where "Roland_blizzard":each(set_freeze()) + defeat = function() + f(G.I.CARD):where "Roland_blizzard":each(set_freeze()) G.GAME.blind.disabled = true end, disable = function(self) self:defeat() end, - calculate = function(self, b, context) + calculate = function(_, b, context) return not b.disabled and context.hand_drawn and - self.cards() + f(G.I.CARD) :where("Roland_blizzard", false) :where("facing", "front") :each(set_freeze(true)) or nil end, - cards = function() - return f(G):where(getmetatable, CardArea):flatmap("cards", ipairs) - end, } blind {