Skip to content

Commit 017cbd7

Browse files
author
jolly[bot]
committed
jolly-bot: auto-format Lua files using Stylua
1 parent 86a5418 commit 017cbd7

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

items/code.lua

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3993,8 +3993,18 @@ local quantify = {
39933993
for i = 1, G.jokers.config.card_limit - #G.jokers.cards do
39943994
if to_big(self.ability.choose) > to_big(0) then
39953995
self.ability.choose = self.ability.choose - 1
3996-
local tbl = self.config.center.create_card and self.config.center:create_card(self) or {}
3997-
local card = create_card(kind or tbl.set, G.jokers, tbl.legendary, tbl.rarity, tbl.skip_materialize, tbl.soulable, tbl.forced_key, "cry_quantify_booster")
3996+
local tbl = self.config.center.create_card and self.config.center:create_card(self)
3997+
or {}
3998+
local card = create_card(
3999+
kind or tbl.set,
4000+
G.jokers,
4001+
tbl.legendary,
4002+
tbl.rarity,
4003+
tbl.skip_materialize,
4004+
tbl.soulable,
4005+
tbl.forced_key,
4006+
"cry_quantify_booster"
4007+
)
39984008
G.jokers:emplace(card)
39994009
if to_big(self.ability.choose) <= to_big(0) then
40004010
self:start_dissolve()
@@ -4021,7 +4031,7 @@ local quantify = {
40214031
local total = 0
40224032
for i, v in pairs(G.I.CARD) do
40234033
if v.highlighted and v ~= card then
4024-
highlighted[#highlighted+1] = v
4034+
highlighted[#highlighted + 1] = v
40254035
total = total + 1
40264036
end
40274037
end

lib/misc.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,4 +999,4 @@ function Cryptid.table_merge(t1, t2)
999999
tbl[#tbl + 1] = v
10001000
end
10011001
return tbl
1002-
end
1002+
end

0 commit comments

Comments
 (0)