Skip to content

Commit ddcc024

Browse files
committed
fix stuff
1 parent 432a848 commit ddcc024

File tree

6 files changed

+16
-17
lines changed

6 files changed

+16
-17
lines changed

items/altpath/blinds.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ local iota = {
427427
G.hand:change_size(-1)
428428
end
429429
if s.name == "Amber Acorn" and not reset and #G.jokers.cards > 0 then
430-
()
430+
G.jokers:unhighlight_all()
431431
for k, v in ipairs(G.jokers.cards) do
432432
v:flip()
433433
end
@@ -653,7 +653,7 @@ local iota = {
653653
end
654654
end
655655
if not any_forced then
656-
()
656+
G.hand:unhighlight_all()
657657
local forced_card = pseudorandom_element(G.hand.cards, pseudoseed("ObsidianOrb"))
658658
if focred_card then
659659
forced_card.ability.forced_selection = true

items/inversions/reverse_codes.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ local constant = {
354354
copy_card(G.hand.highlighted[1],v)
355355
end
356356
end
357-
()
357+
358358
end,
359359
can_use = function(self, card)
360360
return #Entropy.GetHighlightedCards({G.hand}, card) == 1
@@ -1101,7 +1101,7 @@ local refactor = {
11011101
return true
11021102
end,
11031103
}))
1104-
()
1104+
11051105
end,
11061106
can_use = function(self, card)
11071107
local num = Entropy.GetHighlightedCards({G.jokers}, card)
@@ -1505,7 +1505,7 @@ local badarg = {
15051505
update_hand_text({delay=0}, {handname = "", chips="bad", mult="arg"})
15061506
G.boss_throw_hand = true
15071507
G.bad_arg = true
1508-
()
1508+
15091509
end,
15101510
can_use = function(self, card)
15111511
local num = G.PROFILES[G.SETTINGS.profile].cry_none and -1 or 0

items/inversions/reverse_spectrals.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ local pact = {
341341
v.ability.link = linktxt
342342
v:juice_up()
343343
end
344-
()
344+
345345
end,
346346
can_use = function(self, card)
347347
local num = Entropy.GetHighlightedCards({G.hand}, card)
@@ -486,7 +486,7 @@ local rejuvenate = {
486486
card3:set_ability(enh)
487487
card3:set_seal(seal)
488488
end)
489-
()
489+
490490
ease_dollars(card2.ability.dollars)
491491
end,
492492
can_use = function(self, card)
@@ -536,7 +536,7 @@ local crypt = {
536536
v:set_edition()
537537
end
538538
end)
539-
()
539+
540540
end,
541541
can_use = function(self, card)
542542
local cards = Entropy.GetHighlightedCards({G.jokers}, card)
@@ -1171,7 +1171,7 @@ local evocation = {
11711171
end
11721172
G.GAME.round_resets.hands = G.GAME.round_resets.hands - card2.ability.hands
11731173
ease_hands_played(-card2.ability.hands)
1174-
()
1174+
11751175
end,
11761176
can_use = function(self, card)
11771177
return G.jokers and #G.jokers.highlighted > 0 and #G.jokers.highlighted <= card.ability.num
@@ -1445,7 +1445,7 @@ local entomb = {
14451445
c.area = G.consumeables
14461446
G.consumeables:align_cards()
14471447
end
1448-
()
1448+
14491449
end,
14501450
can_use = function(self, card)
14511451
return G.consumeables and #Entropy.GetHighlightedCards({G.consumeables}, card) > 0 and #Entropy.GetHighlightedCards({G.consumeables}, card) <= card.ability.num
@@ -1775,7 +1775,7 @@ local purity = {
17751775
Entropy.ApplySticker(v, "entr_pure")
17761776
v:juice_up()
17771777
end
1778-
()
1778+
17791779
end,
17801780
can_use = function(self, card)
17811781
local num = #Entropy.GetHighlightedCards({G.jokers}, card)

items/inversions/reverse_tarots.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ local scar = {
393393
Entropy.ApplySticker(v, "scarred")
394394
v:juice_up()
395395
end
396-
()
396+
397397
end,
398398
can_use = function(self, card)
399399
local cards = Entropy.GetHighlightedCards({G.hand, G.consumeables}, card)
@@ -568,7 +568,7 @@ local whetstone = {
568568
end
569569
end
570570
end)
571-
()
571+
572572
else
573573
local used_tarot = card2
574574
G.E_MANAGER:add_event(Event({trigger = 'after', delay = 0.4, func = function()

items/misc/blinds.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ local phase4 = {
395395
G.hand:change_size(-1)
396396
end
397397
if s.name == "Amber Acorn" and not reset and #G.jokers.cards > 0 then
398-
()
398+
G.jokers:unhighlight_all()
399399
for k, v in ipairs(G.jokers.cards) do
400400
v:flip()
401401
end
@@ -627,7 +627,7 @@ local phase4 = {
627627
end
628628
end
629629
if not any_forced then
630-
()
630+
G.hand:unhighlight_all()
631631
local forced_card = pseudorandom_element(G.hand.cards, pseudoseed("ObsidianOrb"))
632632
if focred_card then
633633
forced_card.ability.forced_selection = true

lib/utils.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ function Entropy.ModifyHandCard(modifications, cards)
171171
for i, v in pairs(modifications.extra) do mcard.ability[i] = v end
172172
end
173173
end)
174-
()
175174
end
176175
end
177176

@@ -207,7 +206,7 @@ function Entropy.ModifyHandCardNF(modifications, cards)
207206
return true
208207
end}))
209208
end
210-
()
209+
211210
end
212211
end
213212

0 commit comments

Comments
 (0)