You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lovely/Probability.toml
+13-13Lines changed: 13 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -37,16 +37,16 @@ match_indent = true
37
37
# wow this is a fat line
38
38
# Yellow Stake - Glass can't destroy Eternals
39
39
# Glass Stake - Any card can shatter
40
-
[[patches]]
41
-
[patches.pattern]
42
-
target = "functions/state_events.lua"
43
-
pattern = '''if SMODS.has_enhancement(scoring_hand[i], 'm_glass') and scoring_hand[i]:can_calculate() and pseudorandom('glass') < G.GAME.probabilities.normal/(scoring_hand[i].ability.name == 'Glass Card' and scoring_hand[i].ability.extra or G.P_CENTERS.m_glass.config.extra) then'''
44
-
position = "at"
45
-
payload = '''
46
-
if (SMODS.has_enhancement(scoring_hand[i], 'm_glass')
47
-
and not scoring_hand[i].debuff
48
-
and SMODS.pseudorandom_probability(scoring_hand[i], 'glass', 1, scoring_hand[i].ability.extra or G.P_CENTERS.m_glass.config.extra)
49
-
or (G.GAME.modifiers.cry_shatter_rate
50
-
and pseudorandom('cry_shatter') < 1 / G.GAME.modifiers.cry_shatter_rate))
51
-
and not SMODS.is_eternal(scoring_hand[i]) then'''
52
-
match_indent = true
40
+
#[[patches]]
41
+
#[patches.pattern]
42
+
#target = "functions/state_events.lua"
43
+
#pattern = '''if SMODS.has_enhancement(scoring_hand[i], 'm_glass') and scoring_hand[i]:can_calculate() and pseudorandom('glass') < G.GAME.probabilities.normal/(scoring_hand[i].ability.name == 'Glass Card' and scoring_hand[i].ability.extra or G.P_CENTERS.m_glass.config.extra) then'''
0 commit comments