Skip to content

Commit ff4c578

Browse files
authored
Fix ://CTRL+V, Broken Sync Catalyst, and Cat tags (#804)
guess the sync catalyst was really broken
1 parent 97e42c2 commit ff4c578

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

items/code.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4411,7 +4411,7 @@ local ctrl_v = {
44114411
bulk_use = function(self, card, area, copier, number)
44124412
local cards = Cryptid.get_highlighted_cards(
44134413
{ G.hand, G.consumeables, G.pack_cards },
4414-
cards,
4414+
card,
44154415
1,
44164416
1,
44174417
function(card)

items/misc_joker.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10931,7 +10931,7 @@ local broken_sync = {
1093110931
calculate = function(self, card, context)
1093210932
if context.joker_main or context.forcetrigger then
1093310933
return {
10934-
cry_broken_swap = card.ability.extra.portion,
10934+
cry_broken_swap = to_number(Cryptid.clamp(card.ability.extra.portion * 100, 0, 100)),
1093510935
}
1093610936
end
1093710937
end,

lovely/cat.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ pattern = '''for k, v in pairs(self.children) do'''
137137
position = 'before'
138138
match_indent = true
139139
payload = '''
140-
if Cryptid.safe_get(self, "config", "tag", "ability", "edshader") then
140+
if Cryptid and Cryptid.safe_get and Cryptid.safe_get(self, "config", "tag", "ability", "edshader") then
141141
local ed = self.config.tag.ability.edshader
142142
self.ARGS.send_to_shader = self.ARGS.send_to_shader or {}
143143
self.ARGS.send_to_shader[1] = math.min(self.VT.r*3, 1) + G.TIMERS.REAL/28 + (self.juice and self.juice.r*10 or 0) + (Cryptid.safe_get(self, "tilt_var", "amt") or 0)

0 commit comments

Comments
 (0)