Skip to content

Commit

Permalink
Merge pull request #377 from TheRealNova422-real/patch-7
Browse files Browse the repository at this point in the history
Fixed a Redeo Crash
  • Loading branch information
MathIsFun0 authored Feb 2, 2025
2 parents bb9a86a + 273f4b6 commit ff8ed8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions items/exotic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,10 @@ local redeo = {
atlas = "atlasexotic",
soul_pos = { x = 4, y = 0, extra = { x = 5, y = 0 } },
calculate = function(self, card, context)
if context.cry_ease_dollars and context.cry_ease_dollars < 0 and not context.blueprint then
if context.cry_ease_dollars and to_big(context.cry_ease_dollars) < to_big(0) and not context.blueprint then
card.ability.extra.money_remaining = card.ability.extra.money_remaining - context.cry_ease_dollars
local ante_mod = 0
while card.ability.extra.money_remaining >= card.ability.extra.money_req do
while to_big(card.ability.extra.money_remaining) >= to_big(card.ability.extra.money_req) do
card.ability.extra.money_remaining = card.ability.extra.money_remaining - card.ability.extra.money_req
card.ability.extra.money_req = card.ability.extra.money_req + card.ability.extra.money_mod
card.ability.extra.money_mod = math.min(1e300, math.ceil(card.ability.extra.money_mod * 1.06))
Expand Down

0 comments on commit ff8ed8f

Please sign in to comment.