Fixing crashes and unexpected behavior resulting from latest changes #49
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue
Game crash upon trying to compute BigNums with some jokers
Result
score_number_scale
as this was causing blind requirements to not show up and other things to breakG.funcs.evaluate_play
to take in an argumente
when it's being added as an event.G.funcs.evaluate_play
math.exp()
override function to use bigNum calculation.Cryptid.log_random
to returninf
at large values ofx
lenient_bignum()
to allow it to return regular numbers for functions expecting it to (non-joker scaling stuff)Removed commas fromBalaNotation
as these would somehow get stored in the games data and breakParse
Parse
super_juice
to allow for BigNum inputlenient_bignum
a global function for use in CryptidRequirements
None
Modified Files
lovely.toml
G.funcs.evaulate_play
when added as an eventtalsiman.lua
score_number_scale
math.exp()
overrideG.funcs.evaluate_play
super_juice
to allow for BigNum inputlenient_bignum
a global function for use in Cryptidbig-num/omeganum.lua
Parse
notaions/Balatro.lua
Removed commas from BalaNotation