Steamopollys / Steamodded

A Balatro ModLoader
GNU General Public License v3.0
200 stars 44 forks source link

Retrigger API #224

Closed MathIsFun0 closed 1 week ago

MathIsFun0 commented 1 month ago

Allows for retriggering Jokers. In the process, also cleans up calculation a bit so a callback function is used for certain effects.

Needs more testing, but considering the demand for mods besides Cryptid to have this as a mechanic, it feels necessary to have this in Steamodded.

MathIsFun0 commented 3 weeks ago

"calculate_joker_retriggers" should probably be changed to instead be a way for editions to add retriggers, similar to how "calculate_blurred" just got changed in Cryptid's code