Skip to content

Commit e539de2

Browse files
Merge pull request #536 from bobjoe400/Big-Num-support
Sync up with main
2 parents 174526c + e903c10 commit e539de2

File tree

4 files changed

+56
-0
lines changed

4 files changed

+56
-0
lines changed

assets/1x/bl_cry.png

-16.1 KB
Loading

assets/2x/bl_cry.png

-67.8 KB
Loading

items/blind.lua

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,53 @@ local pin = {
628628
return false
629629
end,
630630
}
631+
-- Must play 5 cards,
632+
-- Destroy all played and discarded cards
633+
-- (only appears in endless)
634+
local scorch = {
635+
dependencies = {
636+
items = {
637+
"set_cry_blind",
638+
},
639+
},
640+
object_type = "Blind",
641+
name = "cry-scorch",
642+
key = "scorch",
643+
pos = { x = 0, y = 18 }, -- use Trick as placeholder icon
644+
boss = {
645+
min = 1,
646+
max = 10,
647+
},
648+
atlas = "blinds",
649+
order = 21,
650+
boss_colour = HEX("77261a"),
651+
debuff = { -- must play 5 cards
652+
h_size_ge = 5,
653+
h_size_le = 5,
654+
},
655+
calculate = function(self, blind, context)
656+
if
657+
context.full_hand
658+
and context.destroy_card
659+
and (context.cardarea == G.play or context.cardarea == "unscored")
660+
and not G.GAME.blind.disabled
661+
then
662+
return { remove = not context.destroy_card.ability.eternal }
663+
end
664+
if context.discard and not G.GAME.blind.disabled then
665+
for i, card in ipairs(G.hand.highlighted) do
666+
return { remove = not card.ability.eternal }
667+
end
668+
end
669+
end,
670+
in_pool = function(self) -- only appears in endless
671+
if G.GAME.round_resets.blind_ante > G.GAME.win_ante then
672+
return true
673+
else
674+
return false
675+
end
676+
end,
677+
}
631678
--It seems Showdown blind order is seperate from normal blind collection order? convenient for me at least
632679
--Nvm they changed it
633680
local lavender_loop = {
@@ -1379,6 +1426,7 @@ local items_togo = {
13791426
striker,
13801427
shackle,
13811428
pin,
1429+
scorch,
13821430
vermillion_virus,
13831431
tornado,
13841432
sapphire_stamp,

localization/en-us.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,14 @@ return {
388388
"rarity are debuffed",
389389
},
390390
},
391+
bl_cry_scorch = {
392+
name = "The Scorch",
393+
text = {
394+
"Must play 5 cards,",
395+
"destroy played and",
396+
"discarded cards",
397+
},
398+
},
391399
bl_cry_pinkbow = {
392400
name = "Pink Bow",
393401
text = {

0 commit comments

Comments
 (0)