DivvyCr / Balatro-Preview

Simulate the score you will get on the selected cards!
GNU General Public License v3.0
45 stars 5 forks source link

Various simulation fixes; `is_suit()` minor revamp #34

Closed KingoftheHomeless closed 3 days ago

KingoftheHomeless commented 2 months ago

The is_suit() change has two purposes: to fix simulation of Blackboard (currently counts debuffed Wild Cards as any suit when faithful simulation demands it should use the base suit) and to make it suitable for multi-purpose use (to check for suit-ness either in a scoring context and non-scoring context.) Flower Pot and Seeing Double are not affected by this change due to how they selectively study Wild Cards anyway.

DivvyCr commented 3 days ago

Good fixes, thanks! Tiny things always break whenever I try to restructure/streamline the code..