Skip to content

Commit 1afded0

Browse files
author
jolly[bot]
committed
jolly-bot: auto-format Lua files using Stylua
1 parent 9a9706b commit 1afded0

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

lib/forcetrigger.lua

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,12 +1000,24 @@ function Cryptid.forcetrigger(card, context)
10001000

10011001
--Not sure how to do input correctly, so random is what you get.
10021002
if card.ability.name == "cry-Class" then
1003-
local choices = {"bonus", "mult", "wild", "glass", "steel", "stone", "gold", "lucky", "echo", "light", "abstract"}
1003+
local choices = {
1004+
"bonus",
1005+
"mult",
1006+
"wild",
1007+
"glass",
1008+
"steel",
1009+
"stone",
1010+
"gold",
1011+
"lucky",
1012+
"echo",
1013+
"light",
1014+
"abstract",
1015+
}
10041016
G.ENTERED_ENH = pseudorandom_element(choices, pseudoseed("forceclass"))
10051017
G.FUNCS.class_cancel()
10061018
G.FUNCS.class_apply()
10071019
elseif card.ability.name == "cry-Variable" then
1008-
local choices = {"2","3","4","5","6","7","8","9","10","J","Q","K","A"}
1020+
local choices = { "2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K", "A" }
10091021
G.ENTERED_RANK = pseudorandom_element(choices, pseudoseed("forceclass"))
10101022
G.FUNCS.variable_cancel()
10111023
G.FUNCS.variable_apply()
@@ -1068,7 +1080,6 @@ function Cryptid.forcetrigger(card, context)
10681080
G.GAME.probabilities.normal = 1e9
10691081
card:use_consumeable()
10701082
G.GAME.probabilities.normal = ggpn
1071-
10721083
end
10731084
end
10741085
return results

0 commit comments

Comments
 (0)