diff --git a/lovely/better_calc.toml b/lovely/better_calc.toml index f2357b8e1..4e7ed6926 100644 --- a/lovely/better_calc.toml +++ b/lovely/better_calc.toml @@ -2000,4 +2000,17 @@ if ret then ret.colour = G.C.RED return ret end +''' + +# modify_booster_card context +[[patches]] +[patches.pattern] +target = 'card.lua' +match_indent = true +position = 'before' +pattern = ''' +card.T.x = self.T.x +''' +payload = ''' +SMODS.calculate_context({modify_booster_card = true, card = self, booster = booster_obj, card_to_create = card, index = i}) ''' \ No newline at end of file