Skip to content

Commit d11705d

Browse files
committed
fix how many slices pizza makes
1 parent bb8837d commit d11705d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

items/misc_joker.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10302,7 +10302,7 @@ local pizza = { -- +1 to all listed probabilities for the highest cat tag level
1030210302
end
1030310303
if context.selling_self or context.forcetrigger then
1030410304
if to_big(card.ability.extra.rounds_left) <= to_big(0) or context.forcetrigger then
10305-
for i = 1, to_number(math.min(card.ability.extra.slices, card.ability.immutable.max_spawn)), G.jokers.config.card_limit - #G.jokers.cards do
10305+
for i = 1, to_number(math.min(math.min(card.ability.extra.slices, card.ability.immutable.max_spawn), G.jokers.config.card_limit - #G.jokers.cards + 1)) do
1030610306
SMODS.add_card({
1030710307
key = "j_cry_pizza_slice",
1030810308
area = G.jokers,

0 commit comments

Comments
 (0)