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
# LeBaron James - Calculate Steel effects when played
7
+
[[patches]]
8
+
[patches.pattern]
9
+
target = "functions/common_events.lua"
10
+
pattern = "if context.cardarea == G.hand and context.main_scoring then"
11
+
position = "at"
12
+
payload = "if (context.cardarea == G.hand or context.cardarea == G.play and next(SMODS.find_card('j_cry_lebaron_james')) and safe_get(SMODS.Ranks,safe_get(card,'base','value') or 'm','key') == 'King') and context.main_scoring then"
13
+
match_indent = true
14
+
15
+
[[patches]]
16
+
[patches.pattern]
17
+
target = "functions/common_events.lua"
18
+
pattern = "ret.playing_card = {}"
19
+
position = "at"
20
+
payload = "ret.playing_card = ret.playing_card or {}"
0 commit comments