Skip to content

Commit aa30bba

Browse files
author
jolly[bot]
committed
jolly-bot: auto-format Lua files using Stylua
1 parent 093a563 commit aa30bba

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

items/epic.lua

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1632,7 +1632,7 @@ local soccer = {
16321632
"set_cry_epic",
16331633
},
16341634
},
1635-
immutable = true, -- i swear i changed this... whatever
1635+
immutable = true, -- i swear i changed this... whatever
16361636
rarity = "cry_epic",
16371637
order = 58,
16381638
cost = 20,
@@ -1643,8 +1643,7 @@ local soccer = {
16431643
add_to_deck = function(self, card, from_debuff)
16441644
card.ability.extra.holygrail = math.floor(card.ability.extra.holygrail)
16451645
local mod = card.ability.extra.holygrail
1646-
G.jokers.config.card_limit = G.jokers.config.card_limit
1647-
+ ((Card.get_gameset(card) == "modest") and 0 or mod)
1646+
G.jokers.config.card_limit = G.jokers.config.card_limit + ((Card.get_gameset(card) == "modest") and 0 or mod)
16481647
G.consumeables.config.card_limit = G.consumeables.config.card_limit + mod
16491648
G.hand:change_size(mod)
16501649
SMODS.change_booster_limit(mod)
@@ -1653,8 +1652,7 @@ local soccer = {
16531652
remove_from_deck = function(self, card, from_debuff)
16541653
card.ability.extra.holygrail = math.floor(card.ability.extra.holygrail)
16551654
local mod = card.ability.extra.holygrail
1656-
G.jokers.config.card_limit = G.jokers.config.card_limit
1657-
+ ((Card.get_gameset(card) == "modest") and 0 or -mod)
1655+
G.jokers.config.card_limit = G.jokers.config.card_limit + ((Card.get_gameset(card) == "modest") and 0 or -mod)
16581656
G.consumeables.config.card_limit = G.consumeables.config.card_limit - mod
16591657
G.hand:change_size(-mod)
16601658
SMODS.change_booster_limit(-mod)

0 commit comments

Comments
 (0)