Skip to content

Commit aa191ee

Browse files
author
jolly[bot]
committed
jolly-bot: auto-format Lua files using Stylua
1 parent 2cfb8ad commit aa191ee

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

items/misc_joker.lua

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2710,7 +2710,7 @@ local magnet = {
27102710
extra = {
27112711
money = 2,
27122712
slots = 4,
2713-
multiplier = 5
2713+
multiplier = 5,
27142714
},
27152715
},
27162716
gameset_config = {
@@ -2739,14 +2739,18 @@ local magnet = {
27392739
calculate = function(self, card, context)
27402740
if context.forcetrigger then
27412741
ease_dollars(
2742-
lenient_bignum(to_big(card.ability.extra.money) * (card.ability.extra.multiplier - (Card.get_gameset(card) == "modest" and 1 or 0)))
2742+
lenient_bignum(
2743+
to_big(card.ability.extra.money)
2744+
* (card.ability.extra.multiplier - (Card.get_gameset(card) == "modest" and 1 or 0))
2745+
)
27432746
)
27442747
end
27452748
end,
27462749
calc_dollar_bonus = function(self, card)
27472750
if to_big(#G.jokers.cards) <= to_big(card.ability.extra.slots) then
27482751
return lenient_bignum(
2749-
to_big(card.ability.extra.money) * (card.ability.extra.multiplier - (Card.get_gameset(card) == "modest" and 1 or 0))
2752+
to_big(card.ability.extra.money)
2753+
* (card.ability.extra.multiplier - (Card.get_gameset(card) == "modest" and 1 or 0))
27502754
)
27512755
else
27522756
return lenient_bignum(card.ability.extra.money)

0 commit comments

Comments
 (0)