Skip to content

Commit 836eac0

Browse files
author
jolly[bot]
committed
jolly-bot: auto-format Lua files using Stylua
1 parent 18ec1e5 commit 836eac0

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

items/epic.lua

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,11 @@ local m = {
663663
atlas = "atlasepic",
664664
force_context = {
665665
selling_card = true,
666-
card = { is_jolly = function(self) return true end},
666+
card = {
667+
is_jolly = function(self)
668+
return true
669+
end,
670+
},
667671
},
668672
calculate = function(self, card, context)
669673
if context.joker_main and (to_big(card.ability.extra.x_mult) > to_big(1)) then
@@ -690,7 +694,8 @@ local m = {
690694
return context.forced and {
691695
message = localize({ type = "variable", key = "a_xmult", vars = { card.ability.extra.x_mult } }),
692696
Xmult_mod = card.ability.extra.x_mult,
693-
} or nil, true
697+
} or nil,
698+
true
694699
end
695700
end,
696701
cry_credits = {
@@ -1926,7 +1931,7 @@ local demicolon = {
19261931
blueprint_compat = true,
19271932
calculate = function(self, card, context)
19281933
if context.joker_main then
1929-
for i = 1, #G.jokers.cards-1 do
1934+
for i = 1, #G.jokers.cards - 1 do
19301935
if G.jokers.cards[i] == card then
19311936
if not Talisman.disable_anims then
19321937
G.E_MANAGER:add_event(Event({
@@ -1936,7 +1941,7 @@ local demicolon = {
19361941
end,
19371942
}))
19381943
end
1939-
return nil, force_calculate(G.jokers.cards[i+1])
1944+
return nil, force_calculate(G.jokers.cards[i + 1])
19401945
end
19411946
end
19421947
end

lib/calculate.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ function force_calculate(card)
914914
end
915915
context.forced = true
916916
local eval, post = eval_card(card, context)
917-
local effects = {eval}
917+
local effects = { eval }
918918
SMODS.trigger_effects(effects, card)
919919
return eval and true or post
920-
end
920+
end

localization/en-us.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1213,7 +1213,7 @@ return {
12131213
text = {
12141214
"Trigger the {C:attention}Joker{} to the right",
12151215
"{E:1}regardless of its usual conditions",
1216-
}
1216+
},
12171217
},
12181218
j_cry_delirious = {
12191219
name = "Delirious Joker",

0 commit comments

Comments
 (0)