cerloCasa / StackedRedSeals

A Balatro mod that makes it possible to put multiple Red Seals on a single card
1 stars 0 forks source link

Deck showing 1 retrigger more than it should #1

Closed cerloCasa closed 1 month ago

cerloCasa commented 1 month ago

Whenever you use a Deja Vu on a card, it shows the right number of retriggers when you have it in hand, also it acts as it should when you play it, but when you hover it in the deck it shows you always 1 more retrigger than it should image image

cerloCasa commented 1 month ago

SOLVED

Version 1.1 solves this issue

Added this chunk at the start of the function SRS_setRedSeal():

if card.area ~= G.hand then
    return
end

effectively updating the number of Red Seals only if you hover the card while it is in your hand

cerloCasa commented 1 month ago

Thanks to @eremel_ on the Balatro Discord server for the help.