Skip to content

Commit 377abd9

Browse files
author
jolly[bot]
committed
jolly-bot: auto-format Lua files using Stylua
1 parent 292ed96 commit 377abd9

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

items/spectral.lua

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ local lock = {
2828
info_queue[#info_queue + 1] = { key = "eternal", set = "Other" }
2929
return {
3030
vars = {
31-
card.ability.extra
32-
}
31+
card.ability.extra,
32+
},
3333
}
3434
end,
3535
can_use = function(self, card)
@@ -728,8 +728,8 @@ local adversary = {
728728
end
729729
return {
730730
vars = {
731-
G.jokers and number_format(1 + #G.jokers.cards) or "1"
732-
}
731+
G.jokers and number_format(1 + #G.jokers.cards) or "1",
732+
},
733733
}
734734
end,
735735
can_use = function(self, card)
@@ -790,7 +790,8 @@ local adversary = {
790790
}))
791791
G.E_MANAGER:add_event(Event({
792792
func = function()
793-
G.GAME.cry_shop_joker_price_modifier = G.GAME.cry_shop_joker_price_modifier * number_format(1 + #G.jokers.cards)
793+
G.GAME.cry_shop_joker_price_modifier = G.GAME.cry_shop_joker_price_modifier
794+
* number_format(1 + #G.jokers.cards)
794795
for k, v in pairs(G.I.CARD) do
795796
if v.set_cost then
796797
v:set_cost()

0 commit comments

Comments
 (0)