Skip to content

Commit 7b6dccd

Browse files
authored
pls (zooble fixes)
1 parent 0ec4ca7 commit 7b6dccd

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

Items/MiscJokers.lua

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6758,7 +6758,7 @@ local digitalhallucinations = {
67586758
end)
67596759
}))
67606760
card_eval_status_text(context.blueprint_card or card, 'extra', nil, nil, nil, {message = localize('k_plus_'..short1[i]), colour = G.C.SECONDARY_SET[short2[i]]})
6761-
return true -- this triggers BEFORE a retrigger joker and looks like jank. i can't get a message showing up without status text so this is the best option rn
6761+
return nil, true -- this triggers BEFORE a retrigger joker and looks like jank. i can't get a message showing up without status text so this is the best option rn
67626762
end
67636763
end
67646764
if boosty.ability.name:find('code') then
@@ -6774,7 +6774,7 @@ local digitalhallucinations = {
67746774
end
67756775
}))
67766776
card_eval_status_text(context.blueprint_card or card, 'extra', nil, nil, nil, {message = localize('cry_plus_code'), colour = G.C.SET.Code})
6777-
return true
6777+
return nil, true
67786778
end
67796779
if boosty.ability.name:find('Buffoon') then
67806780
G.E_MANAGER:add_event(Event({
@@ -6816,7 +6816,7 @@ local digitalhallucinations = {
68166816
draw_card(G.play,G.deck, 90,'up', nil)
68176817

68186818
playing_card_joker_effects({true}) -- who knows what most this stuff does, i just copied it from marble jonkler
6819-
return true
6819+
return nil, true
68206820
end
68216821
end
68226822
end,
@@ -6875,11 +6875,14 @@ local zooble = {
68756875
cost = 6,
68766876
atlas = "atlasone",
68776877
order = 132,
6878-
loc_vars = function(self, info_queue, center)
6879-
return { vars = {center.ability.extra.mult,center.ability.extra.a_mult }}
6878+
blueprint_compat = true,
6879+
eternal_compat = true,
6880+
perishable_compat = false,
6881+
loc_vars = function(self, info_queue, card)
6882+
return { vars = {card.ability.extra.mult, card.ability.extra.a_mult }}
68806883
end,
68816884
calculate = function(self, card, context)
6882-
if context.before and context.cardarea == G.jokers then
6885+
if context.before and context.cardarea == G.jokers and not context.blueprint then
68836886
if not (next(context.poker_hands['Straight']) or next(context.poker_hands['Straight Flush'])) then
68846887
local unique_ranks = {}
68856888
for i, v in pairs (context.scoring_hand) do

0 commit comments

Comments
 (0)