@@ -46,7 +46,7 @@ payload = '''
4646G.GAME.pack_choices = ((self.ability.choose and self.ability.extra) and math.min(math.floor(self.ability.extra), self.ability.choose)) or 1
4747if G.GAME.modifiers.cry_misprint_min then
4848 G.GAME.pack_size = self.ability.extra
49- if G.GAME.pack_size < 1 then G.GAME.pack_size = 1 end
49+ if to_big( G.GAME.pack_size) < to_big(1) then G.GAME.pack_size = 1 end
5050 self.ability.extra = G.GAME.pack_size
5151 G.GAME.pack_choices = math.min(math.floor(G.GAME.pack_size), self.ability.choose)
5252 --G.GAME.pack_choices = math.min(math.floor(G.GAME.pack_size),cry_format(G.GAME.pack_choices * Cryptid.log_random(pseudoseed('cry_misprint_p'..G.GAME.round_resets.ante),G.GAME.modifiers.cry_misprint_min,G.GAME.modifiers.cry_misprint_max),"%.2f"))
@@ -56,7 +56,7 @@ if G.GAME.cry_oboe then
5656 G.GAME.pack_choices = G.GAME.pack_choices + G.GAME.cry_oboe
5757 G.GAME.cry_oboe = nil
5858end
59- if G.GAME.boostertag and G.GAME.boostertag > 0 then
59+ if G.GAME.boostertag and to_big( G.GAME.boostertag) > to_big(0) then
6060 self.ability.extra = self.ability.extra * 2
6161 G.GAME.pack_choices = G.GAME.pack_choices * 2
6262 G.GAME.boostertag = math.max(0, G.GAME.boostertag - 1)
@@ -82,6 +82,8 @@ G.GAME.pack_size = self.ability.extra
8282'''
8383match_indent = true
8484
85+ # idk wtf is going on my head hurts
86+ # but this should fix it
8587[[patches ]]
8688[patches .pattern ]
8789target = " card.lua"
@@ -91,7 +93,8 @@ if booster_obj and SMODS.Centers[booster_obj.key] then
9193'''
9294position = " before"
9395payload = '''
94- if self.ability.extra < 1 then self.ability.extra = 1 end
96+ self.ability.extra = to_number(self.ability.extra)
97+ if to_big(self.ability.extra) < to_big(1) then self.ability.extra = 1 end
9598'''
9699match_indent = true
97100
0 commit comments