Skip to content

Commit 1e86686

Browse files
authored
fix to certain shop booster stuff (#800)
this fixes an inconsistency with glitched boosters in the shop and also fixes zodiac and ghost sleeve special effects as even without having misprint deck/glitched edition, the function would mess these things up. i do think the function itself could be changed however.
1 parent e23f774 commit 1e86686

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lovely/misprint.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,18 @@ end
2424
match_indent = true
2525

2626
# Packs
27+
# changed this patch to fix certain shop booster stuff
28+
# the function used was kinda problematic though
29+
# so consider this a quickfix, as i feel as if the function itself could be changed
2730
[[patches]]
2831
[patches.pattern]
2932
target = "game.lua"
3033
pattern = "create_shop_card_ui(card, 'Booster', G.shop_booster)"
3134
position = "before"
3235
payload = '''
33-
Cryptid.manipulate(card)
36+
if G.GAME.modifiers.cry_misprint_min then
37+
Cryptid.manipulate(card)
38+
end
3439
'''
3540
match_indent = true
3641

0 commit comments

Comments
 (0)