im trying to make a joker that is kinda like the opposite of obelisk, gaining Xmult on blind selected and reset when the played hand ISNT you most played hand,
I managed to get the gaining mult and applying it fine but I cant figure out a way to get the reset to work I tried looking in obelisk code and in some other modded jokers
But It keeps breaking, rn it resets every hand never applying the mult and the reset messege pops up for every card in the played hand, Im not very good with lua or even coding in general I will appreciate some explanition on what I got wrong